Cookbooks
← Developer zoneRecipes that run the first time you copy them
Each recipe solves one focused problem, shows the whole call sequence, and tells you what it costs before you spend anything. Start with the fundamentals to learn the billing contract, then move on to the server-side workflows and the agent surface.
API fundamentals
Learn the billing contract one piece at a time. Every recipe here runs on a test key for zero credits.
Estimate before you call
Quote the exact credit cost of any action before you run it, for free.
Free — these endpoints never bill · ~5 min
Read the credit headers
Audit every charge straight off the response, with no end-of-month reconciliation.
1 (worst case) · ~5 min
Handle misses and retries
Tell a miss apart from a failure, and retry only what is safe to retry.
5 (worst case) · ~10 min
Server-side workflows
One call instead of five. Chained jobs run on our side with per-step, success-only billing.
Agents & MCP
The same catalog over Streamable HTTP JSON-RPC, scoped read-only and quotable before it runs.
Credit figures are worst-case ceilings, which is what the estimator quotes. Real runs usually cost less, because a lookup that finds nothing is billed zero.
Every recipe starts with a free quote.
Mint a key, estimate a call, and read the whole billing contract off the response headers before you spend a credit.