Protocol Context
$0.01/reqPOST /services/protocol-context
Looks up a protocol on DefiLlama by slug or name and returns normalized fundamentals: category, supported chains, current TVL, fees/revenue where available, and official URLs. Falls back to Exa web discovery when the slug is unknown and an Exa key is configured.
call it — the quote comes back in one round trip
curl -X POST https://api.1cent.sivaram.dev/services/protocol-context \
-H 'content-type: application/json' \
-d '{"protocol":"aave"}'This returns 402 Payment Required with exact terms. Clients like @x402/fetch sign the quote and retry automatically, paying $0.01 — no other setup exists.
Providers
Every response names the providers it consulted, with per-call status, so you can weigh the evidence.
Response fields
- name
- slug
- category
- chains
- tvlUsd
- fees
- urls
Guardrails
- one protocol per request
- responses cached for 10 minutes
Pricing note
DefiLlama free endpoints; Exa fallback only fires on misses.
machine-readable detail: GET /services/protocol-context