skip to content

Context7 Resolve Library

$0.01/req

POST /services/context7/resolve-library

Searches Context7 for a library name and returns candidate documentation IDs with snippet counts, so a follow-up query-docs call can fetch current docs.

call it — the quote comes back in one round trip
curl -X POST https://api.1cent.sivaram.dev/services/context7/resolve-library \
  -H 'content-type: application/json' \
  -d '{"libraryName":"hono"}'

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

  • libraries

Guardrails

  • max 5 candidates returned

Pricing note

Priced against Context7 Pro included-call economics (~$0.002/call). Daily caps protect against overage, which costs exactly one cent per call.

machine-readable detail: GET /services/context7-resolve-library