Score multiple products in one request
Batch limits per request: anonymous 3, free key 5, Starter 25, Pro 50 products. Each item is {slug, version?} or {purl} (a package URL such as pkg:npm/webpack@5.110.3; resolved exactly via purl-map.json, version taken from the purl unless given). Items that do not resolve come back in results with an error field; one failing item never fails the request.
post/v1/batch
Request
- Base URL: https://api.endoflife.ai
- URL: https://api.endoflife.ai/v1/batch
- Auth: one of:
- none
- API key in header X-API-Key
- HTTP bearer
Request body
Response
Score objects in request order
Example response
{
"results": [
{
"product": "nodejs",
"version": "18",
"grade": "F",
"grade_label": "Critical risk",
"band": "Critical",
"cpe": [
"cpe:2.3:a:nodejs:node.js"
],
"purl": [
"pkg:generic/node",
"pkg:docker/library/node",
"pkg:rpm/redhat/nodejs"
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.