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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: 'Lazaretto: skill & tool verification Checkout API'
version: 2026.11.13a
summary: 'Deterministic verification of agent skills/tools: known-bad matching + behavioral signals.'
contact:
name: Lazaretto
email: contact@lazaretto.dev
url: https://lazaretto.dev
license:
name: Proprietary
servers:
- url: https://lazaretto.dev
tags:
- name: Checkout
paths:
/v1/checkout:
post:
security: []
summary: Buy a credit pack with a card (hosted checkout)
description: 'For a person without a crypto wallet; agents pay over x402 instead. Body {"bundle":"starter"|"pro"|"scale"}, plus an optional `api_key` to top up an existing key (only its id reaches the payment provider). A JSON caller gets {url, session_id}: open `url` to pay on the hosted page. A form post is redirected there. Card details never reach Lazaretto. The API key is shown once on the confirmation page. The page for people is /buy.'
responses:
'200':
description: The hosted checkout URL and its session id.
'303':
description: 'Form post: redirect to the hosted checkout.'
'400':
description: Unknown bundle, or an api_key that does not exist.
'429':
description: Rate limited.
'502':
description: The checkout could not be started. x402 and the free trial are unaffected.
'503':
description: The key to top up could not be verified. Try again shortly.
tags:
- Checkout
operationId: postV1Checkout
x-operation-id-source: derived
components:
securitySchemes:
apiKey:
type: apiKey
in: header
name: X-API-Key
x402:
type: http
scheme: x402
description: Pay-per-call via the x402 protocol (USDC on Base).
watchToken:
type: apiKey
in: header
name: x-watch-token
description: The watch token returned once by POST /v1/watch.