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 Keys API
version: 1.4.0
contact:
email: partners@endoflife.ai
url: https://endoflife.ai/api
description: 'Operations tagged Keys 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: Keys
paths:
/v1/keys/free:
post:
summary: Get a free API key (150 req/day, 5 per call, no expiry) emailed to you
description: 'Re-entering the email of a live key re-sends that key. Free keys do not expire. A deactivated key (a paid subscription that ended or was refunded) is not re-sent: the answer is 410 with key_status and the way forward.'
security:
- {}
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
email:
type: string
format: email
required:
- email
responses:
'200':
description: 'Key emailed: {ok, message}'
'400':
description: Invalid email or body, or an address at a temporary or throwaway email service (reason disposable_email)
'410':
description: The key issued to this address has been deactivated (key_status inactive)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Signup limit reached (3 a day per address)
'502':
description: The key email could not be sent
tags:
- Keys
operationId: postV1KeysFree
x-operation-id-source: derived
servers:
- url: https://api.endoflife.ai
components:
schemas:
Error:
type: object
description: 'Every error carries error and docs. Some add detail: reason, candidates (sibling cycles of a split line), cycle and last_published (a version above an ended line''s last patch), did_you_mean (closest tracked slugs), not_tracked, see_products, tracked_products, upgrade, get_free_key, key_status, limit_bytes.'
properties:
error:
type: string
docs:
type: string
additionalProperties: true
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