Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Endoflife Ai Badge API
version: 1.4.0
contact:
email: partners@endoflife.ai
url: https://endoflife.ai/api
description: 'Operations tagged Badge across 2 of this provider''s published API definitions: openapi.json, endoflife-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.endoflife.ai
security:
- {}
- ApiKeyAuth: []
- BearerAuth: []
tags:
- name: Badge
paths:
/v1/badge/{slug}:
get:
summary: Shields.io endpoint badge JSON for the product's highest-risk cycle
description: Badges are answered before the quota check and never count against it. An unknown product or version gives a grey 'unknown' badge, not a 404.
parameters:
- name: slug
in: path
required: true
schema:
type: string
responses:
'200':
description: 'Shields.io endpoint schema: schemaVersion, label, message (score and band), color, cacheSeconds'
tags:
- Badge
operationId: getV1BadgeBySlug
x-operation-id-source: derived
servers:
- url: https://api.endoflife.ai
/v1/badge/{slug}/{version}:
get:
summary: Shields.io endpoint badge JSON
description: Badges are answered before the quota check and never count against it. An unknown product or version gives a grey 'unknown' badge, not a 404.
parameters:
- name: slug
in: path
required: true
schema:
type: string
- name: version
in: path
required: true
schema:
type: string
responses:
'200':
description: 'Shields.io endpoint schema: schemaVersion, label, message (score and band), color, cacheSeconds'
tags:
- Badge
operationId: getV1BadgeBySlugByVersion
x-operation-id-source: derived
servers:
- url: https://api.endoflife.ai
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
BearerAuth:
type: http
scheme: bearer
description: 'The same API key sent as Authorization: Bearer <key>, for clients that cannot set X-API-Key (Prometheus before 3.0).'
x-refined-from:
- openapi.json
- endoflife-ai-openapi.json