API Spec Digest
Working, not yet verified by a paid buy
How we rate this
Delivery health: healthy. Paid successes: 0. Paid failures: 0. Schema confidence: high.
Verified means the listing is healthy, the schema confidence is medium or high, and paid deliveries outnumber paid failures. Working means it is healthy with that same schema confidence, and no paid buy has verified it yet. Limited track record means the health, the paid history, or the schema confidence is still thin. Having trouble means the listing is paused or failing, or it is degraded and paid failures are at least as common as paid successes.
25 sats ยท ~$0.02 USD
Reads one public OpenAPI or Swagger URL (JSON or YAML, v2, v3, or v3.1, up to 50 MB) and returns a compact endpoint index: title, version, servers, auth schemes, and for each
More
operation the method, path, operationId, a one-line summary, required parameters, and request and response schema names. Optional filters are tag, path prefix, and a search term, plus a max_tokens cap (default 8000). No model is called. The response includes input and output token estimates. A private host, pasted text, a file over 50 MB, or a document that is not a spec is refused before payment. $0.02 a spec, settled in sats.
Example
What agents use this for. Reads one public OpenAPI or Swagger URL (JSON or YAML, v2, v3, or v3.1, up to 50 MB) and returns a compact endpoint index: title, version, servers, auth schemes, and for each operation the method, path, operationId, a one-line summary, required parameters, and request and response schema names. Category: documents.
Request
GET https://amazap.com/basics/v1/api-spec-digest?url=https%3A%2F%2Fexample.com%2Fopenapi.json&tag=pets&prefix=%2Fpets&q=list&max_tokens=8000
curl
curl -sS -X GET \ 'https://amazap.com/basics/v1/api-spec-digest?url=https%3A%2F%2Fexample.com%2Fopenapi.json&tag=pets&prefix=%2Fpets&q=list&max_tokens=8000' \ -H 'Accept: application/json' \ # Example only. No L402 token. Sends no sats.
MCP buy
buy({
"sku": "amazap-basics-api-spec-digest",
"params": {
"url": "https://example.com/openapi.json",
"tag": "pets",
"prefix": "/pets",
"q": "list",
"max_tokens": 8000
},
"total_cost": "25 sats",
"max_total_sats": 25
})
Example response
First-party fixture. Not a stored paid delivery.
{
"url": "https://example.com/openapi.json",
"title": "Pet Store",
"version": "1.0.0",
"specVersion": "3.1.0",
"servers": [
"https://api.example.com/v1"
],
"auth": [
{
"name": "apiKey",
"type": "apiKey",
"in": "header",
"scheme": ""
}
],
"endpoints": [
{
"method": "GET",
"path": "/pets",
"operationId": "listPets",
"summary": "List pets",
"required": [
"limit"
],
"request": "",
"response": "Pet"
}
],
"matched": 1,
"total": 1,
"markdown": "# Pet Store\n\n| GET | /pets | listPets | List pets | limit | | Pet |",
"tokens": {
"input": 120,
"output": 40
},
"truncated": false
}
Amazap Basics