Developer quickstart / published clients
Install the client.
Keep the boundary visible.
The TypeScript SDK, MCP server and Python SDK are published and registry-verified. Every client takes an explicit base URL, so the endpoint you are calling is never implicit. The observed public origin is https://api.clervo.dev.
First call / no account required
One command. A cited result.
No account, no API key and no wallet. The route currently requires an idempotency-key header, so this command carries one; reuse the same value to replay without a second execution.
curl -sS https://api.clervo.dev/v1/search/free \
-H 'content-type: application/json' \
-d '{"query":"what is the x402 payment protocol","maxResults":3,"synthesize":false}' \
-H 'idempotency-key: clervo-first-call-0001'Over the free cap the route answers 429 free_quota_exceeded rather than executing. Paid requests return a 402 carrying the exact maximum charge before anything runs.
OpenAPI 3.1.1 / published contract
Raw HTTP client
Installable from its public registry, configured with an explicit base URL. Automatic payment is disabled until explicit local opt-in; unknown settlement is reconciled and never retried blindly.
curl -sS https://api.clervo.dev/v1/search/free \
-H 'content-type: application/json' \
-d '{"query":"what is the x402 payment protocol","maxResults":3,"synthesize":false}' \
-H 'idempotency-key: clervo-first-call-0001'Clervo Connect / one local wallet
Free first. Then one wallet across every client.
Run a useful free Search before creating any wallet. When you opt in to paid work, the CLI, MCP, TypeScript, Python and localhost OpenAI proxy share limits, receipts, replay, usage and reconciliation.
npx @clervo/router search "World Wide Web"
clervo wallet create
clervo limitsclervo proxy
# base URL: http://127.0.0.1:8402/v1
# add --auto-pay only after reviewing clervo limitsSupported OpenAI-compatible endpoints are models, chat completions (ordinary and SSE), and embeddings. Canonical model IDs are exact or fail. Usage comes from durable operation and receipt records; it is never a hand-written financial counter.
Wallet / limits / recovery
The commands for every paid-use state.
Create or restore one local payment wallet, fund its address with USDC on Base, set buyer-side limits, and inspect durable records. Recovery never starts with a blind retry.
clervo wallet create
# Store the recovery phrase offline.
clervo wallet restore "<recovery phrase>"
clervo wallet address
clervo wallet balance
# Send USDC on Base mainnet to the displayed address.clervo limits
clervo limits set --per-operation 0.05 --daily 1.00
# Automatic payment remains off by default.
clervo proxy --auto-payclervo receipt <receipt-id-or-key>
clervo replay <idempotency-key>
clervo reconcile
clervo usage
clervo doctorwallet create never overwrites an existing wallet. wallet restore refuses to replace a wallet that holds a balance. If settlement is unknown, reconcile performs a retrieval-only check with no new authorization and paid work stays frozen.
Exact operation surface
Published operations, with the state of the family behind each.
An operation on the discovery document is a named contract. Whether the family behind it answers requests right now is a separate observation, and it is the one in the right-hand column.
search.webNormalized ranked retrieval evidence without synthesized prose.max 0.006 USDClivesearch.answerEvidence-grounded synthesized answer with citations. Not publicly available.no public priceliveaiProvider-neutral chat, embeddings, image, speech, video, music, and virtual try-on with stable identities, normalized results, truthful usage, paid receipts, and no-charge replay.no public pricelivesandbox.runBounded Node.js execution in a pinned gVisor image with no network, strict resource ceilings, cleanup, receipt, and no-charge replay.max 0.01 USDCliveprediction.marketsSearch and paginate fresh normalized markets and conservative canonical events.max 0.002 USDCliveprediction.marketRead one stable Clervo market identity with normalized probabilities, freshness, evidence, and supply attribution.max 0.002 USDCliveprediction.compareCompare two conservatively matched markets and return normalized disagreement evidence.max 0.002 USDCliveprediction.historyRead a bounded hash-linked history of Clervo normalized observations.max 0.003 USDCliveprediction.signalDerive bounded movement or disagreement signals only when the evidence is sufficient.max 0.003 USDClivecrypto.wallet.balancesRead exact native balances and bounded holding coverage across requested supported chains.max 0.002 USDClivecrypto.wallet.tokensRead bounded ERC-20 holdings with exact atomic amounts and explicit missing valuation.max 0.002 USDClivecrypto.wallet.transactionsRead bounded normalized native and ERC-20 activity with direction, status, freshness, and evidence.max 0.003 USDClivecrypto.wallet.reportDerive one bounded multichain wallet report with holdings, activity, flows, counterparties, deterministic signals, coverage, freshness, and provenance.max 0.004 USDClive
Failure behaviour
Typed errors say whether a retry is safe.
Refused means nothing executed and nothing was charged, so the request can be corrected and sent again. Unresolved means execution began and the settlement state is not known, so it is reconciled rather than retried.
- 400refusedThe request was rejected before execution. Nothing ran and nothing was charged.
- 402refusedA typed challenge carrying the exact maximum charge. Connect signs only after explicit local auto-pay opt-in and limit checks.
- 409refusedThe idempotency key is already bound to a different request. Change the key or send the original request.
- 429refusedThe free entry quota is exhausted. The request was not executed.
- 502unresolvedThe executor or contract verification failed closed. Reconcile the settlement state before retrying.
Interface binding
What these snippets are pinned to.
- Contract
- 2026-07-29.1
- Release candidate
- clervo-private-core-2026-08-02.2
- Interface hash
- sha256:2773690eda2ed6c89461c98f1537fccc5ae648f37845eb7a5a620952647a39b4
- Observed API origin
- https://api.clervo.dev
- Package publication
- published verified
- Public payment quoted
- yes
