Dizo API request builder
Choose a Dizo endpoint, edit the example request, and copy working cURL, Python or JavaScript code that calls https://api.dizo.ai/v1.
Runs in your browser. Nothing is sent to Dizo. This page only writes code; it never calls the API. Replace dz_live_... with your key, or use a dz_test_ key for sandbox data.
How to use it
- Pick an endpoint. The list covers every Dizo API, grouped as Search, Lookup, Async, Account, Billing and Meta.
- Edit the example JSON body. For
GETendpoints, the JSON becomes query parameters, and path values like{domain}get their own field. - Tick
dry_runto get a cost quote that spends 0 credits, andIdempotency-Keyto make retries safe. - Switch between cURL, Python and JavaScript, then copy the code.
- Replace
dz_live_...with your API key, or use adz_test_key for synthetic sandbox data.
How Dizo requests are shaped
Every call goes to the base URL https://api.dizo.ai/v1 with an Authorization: Bearer <key> header. POST and PUT endpoints take a JSON body. Structured searches wrap their filters in an object, as in {"filters": {"seniority": ["vp"], "country": ["United States"]}, "limit": 25}. Arrays are OR within one filter and different filters combine with AND. Filter names and values must match the filter reference exactly, for example seniority values like c_level, vp and director, and employee_range bands like 51-200.
The only endpoint without auth is GET /v1/pricing, which returns live prices. GET /v1/me is free with any key and returns that key's scopes, remaining budget and rate limits, so it is a good first call.
Controlling spend from the request
Most data endpoints accept dry_run: true, which returns an exact quote and spends nothing, and max_credits, a hard ceiling on what a single request may spend. Use both while you build. For example, a people search that returns 100 results costs 100 × 0.04 = 4 credits, which is $0.10 at the $0.025 list price per credit and less at volume. The email finder is 1 credit and the phone finder 10 credits, charged only when something is found.
The Idempotency-Key header lets you retry a POST after a timeout without paying twice: retries that reuse the same key within 24 hours are never charged twice. Generate a fresh key for each new request. The builder creates one per page load.
Handling responses
Successful responses are JSON and include credits_used. Errors come back with a stable error.code and a plain-English error.fix, so an agent or script can branch on the code and follow the fix. A 402 monthly_cap_reached means a spend cap stopped the call. Retry only when error.retryable is true, after error.retry_after seconds. See how to handle API errors in agents.
Common mistakes: sending filters at the top level instead of inside filters, using made-up filter values instead of the documented bands, putting your live key in front-end code where visitors can read it, and leaving out max_credits on jobs an agent runs unattended. This page only writes code. It never sends a request, so your key and body stay on your machine.
FAQ
Can I run these requests right now?
Sign up to get a live key. The playground and dz_test_ keys return synthetic sandbox data today, and the generated code works the same with either key type.
Does this page send my API key anywhere?
No. It generates code in your browser and makes no API calls. Paste your key into the copied code on your own machine.
Why does the Python code drop the Content-Type header?
Passing json= to requests sets Content-Type: application/json automatically, so the header is not repeated.
Where are all the parameters documented?
Each endpoint has a reference page linked next to the endpoint picker, and the full list of APIs is at /apis.
Related tools
MCP config generator
Generates the exact config or command to connect your MCP client to the Dizo server at https://mcp.dizo.ai/mcp.
Credits to dollars calculator
Convert a purchase amount into Dizo credits, or find the cheapest purchase for the credits you need, and see what those credits buy.
AI agent data budget calculator
Model what an AI agent will spend on people and company data, then get the per-key caps and per-request limit that keep it inside budget.
CSV to JSON converter
Turn CSV into a JSON array or JSON Lines, or turn JSON back into CSV, with a parser that handles quotes, commas and line breaks inside fields.
Campaign cost estimator
How many prospects, how many emails and phones, at what hit rate. See credits and dollars at every volume tier.