Lazaretto Credits API

The Credits API from Lazaretto — 1 operation(s) for credits.

GitHub OpenAPI

Operations 1

POST /v1/credits/topup Buy a prepaid credit bundle over x402 (one settlement = many scans) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lazaretto-dev:lazaretto-dev-credits-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lazaretto-dev-credits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'Lazaretto: skill & tool verification Credits 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: Credits
paths:
  /v1/credits/topup:
    post:
      x-payment-info:
        protocols:
        - x402
        price:
          mode: dynamic
          currency: USD
          min: '3'
          max: '25'
      summary: Buy a prepaid credit bundle over x402 (one settlement = many scans)
      description: Body {bundle:"starter"|"pro"|"scale"}. Pay the bundle price via x402; returns a new X-API-Key with credits (or tops up a presented key). One credit = one full scan.
      responses:
        '200':
          description: Key + credit balance.
        '400':
          description: Unknown bundle (body lists bundles with prices).
        '402':
          description: 'Payment required: same dual-stack x402 challenge as /v1/scan (v2 header + v1 body), priced per bundle. x402-fetch v1 clients must raise maxValue above its $0.10 default.'
        '409':
          description: 'payment_in_use: this x402 payment is already in use by another request, or was used for one within the last few minutes. Nothing was settled or issued for this request. Sign a new payment.'
        '500':
          description: 'paid_not_fulfilled: the payment settled but the credits could not be issued. Do not pay again. Email contact@lazaretto.dev with the tx_hash from the body if it is present, otherwise with the paying wallet address and the time of payment, and the credits are issued by hand.'
        '502':
          description: 'settlement_outcome_unknown: the payment facilitator did not answer clearly (an error, a timeout, a dropped connection, or a failure reported after a transfer may have gone out), so whether the payment moved is unknown. No credits are issued. Do not pay again. The body carries `tx_hash` when the facilitator named a transaction. Email contact@lazaretto.dev with the paying wallet address and the `time` from the body; if the payment did settle, the credits are issued by hand.'
      tags:
      - Credits
      operationId: postV1CreditsTopup
      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.