Resolve Purls

posthttps://app.fossa.com/api/components/resolve-purls

Resolve a list of PURLs to the FOSSA components they identify and return the licensing data FOSSA has for each. PURLs that FOSSA has not analyzed yet are queued for an asynchronous build; poll again to retrieve their licensing once the build resolves. This endpoint accepts push-only tokens in addition to full API tokens.

Request body (required) · application/json

purlsstring[]required

The PURLs (package URLs) to resolve. Between 1 and 100 entries.

Responses

200A mapping from each supplied PURL to its resolution result: 'success' with licensing data, 'queued' if a build was needed to determine licensing, or 'error' if the PURL could not be resolved.
resultsobject
403Forbidden
FossaForbiddenError
500Server Error
FossaApiError

Try this endpoint

Build a request and run it against app.fossa.com.

Bearer

Stored in this browser for 24 hours. Try It uses a docs proxy for CORS and does not store tokens server-side.

POST https://app.fossa.com/api/components/resolve-purls
curl --request POST \  --url 'https://app.fossa.com/api/components/resolve-purls' \  --header 'accept: application/json' \  --header 'authorization: Bearer YOUR_API_TOKEN' \  --header 'content-type: application/json' \  --data '{  "purls": [    "pkg:maven/org.springframework.boot/spring-boot@3.5.6"  ]}'

Real request. Mutating methods can change data.

Click Try It to run a request and see the response here.
Enter a Bearer token before running this request.
application/json