What a dry run is for
Most data costs only become clear after the fact. You run a job, look at the bill, and discover that asking for phones on every row was a bad idea. A dry-run quote reverses that order. You send the request you were about to make, with one extra field, and Dizo tells you what it would cost. Nothing is charged, and no data comes back.
This guide covers how to request a quote, how to read it, how to adjust a job when the number is too high, and how to run the real call safely afterwards. It also covers the agent version, because quoting before acting is one of the simplest ways to keep an AI agent's spending predictable.
Any Dizo key that can call the endpoint you want to quote. Dry runs spend nothing, so they never touch your caps, but the key still needs access to the endpoint. You get a live key when you sign up; dz_test_ keys return synthetic data and are always free, which makes them handy for building quote logic into your code.
It also helps to know your price per credit. Credits cost $0.025 down to $0.010 depending on the size of each purchase, and GET /v1/pricing returns the tiers and per-endpoint costs with no authentication, so your code can do the conversion itself.
Step 1: build the request you actually intend to send
A quote is only as useful as the request behind it. Write the full body first, with the real filters, the real limit, and every include or columns value you plan to use. For example, a natural-language search that also finds emails: {"query": "VP of Sales at US fintech companies, 200-1000 employees", "include": ["email"], "limit": 500}. A page holds up to 500 results, so quote each page you plan to pull.
Resist quoting a simplified version and then adding options to the real call. The options are usually what drive the cost. A search on its own is cheap; the same search with emails and phones attached can be many times more expensive.
Step 2: add the dry-run flag
Add "dry_run": true to the same body and send it to the same endpoint. Every billable endpoint accepts it, including search, people and company search, the lookups, lists and batch. Keep everything else identical so the quote describes exactly what you will run.
Treat the dry run as part of the normal flow rather than an occasional check. Dizo's own guidance for agents is to dry-run any job that may exceed roughly 100 credits. Many teams simply quote every list and every batch by default, since it costs nothing and takes one extra request.
Step 3: read the quote
Most Dizo charges apply only when data is found: emails at 1 credit if found, phones at 10 if found, searches per result returned. So a quote usually tells you the most a call could cost if everything were found. The lists endpoint goes further and returns both credits_max and credits_expected in its quote object. Batch responses carry a quote with credits_max. Check each endpoint's reference for its exact quote shape.
Here is how the published lists example adds up. A 500-row list with columns: ["email", "company"] has a maximum of 20 credits for the search (500 results at 1 credit per 25), plus 500 for emails, plus 500 for company data: 1,020 credits. The example quote also shows 760 expected, because not every row will have both an email and a company match. The lists reference shows the full response.
Step 4: check it against your budget
Convert the quote to dollars at your tier. 1,020 credits is $25.50 at the pay-as-you-go rate of $0.025 and $17.34 at the Growth rate of $0.017. Then compare it with what the key is allowed to spend. GET /v1/me returns max_credits_per_request and the remaining daily and monthly credits for that key. GET /v1/billing shows the account balance, month-to-date spend and the cap. Both are free.
If the quote is above the key's per-request ceiling, the call will not fit as written. If it fits but would use most of the day's remaining credits, decide whether this job is the right use of them. That decision is the point of quoting: it moves the judgement before the spend.
Step 5: adjust the job when the number is too high
When a quote is higher than you expected, look at which part of the request drives it. Phones are the usual culprit: a batch of 2,000 phone finds has a maximum of 20,000 credits, which is $500 at $0.025. Each found phone costs one 10-credit charge however many numbers come back, up to three, each labelled mobile, direct or office, so the lever is how many people you look up. Quoting a shortlist of 300 priority contacts instead caps it at 3,000 credits.
Other levers are narrowing filters, lowering limit, dropping a column you do not need, or splitting one large job into stages so you can stop after the first if results are poor. Quote again after each change. Because quotes are free, you can iterate several times before committing anything.
- Too many rows: tighten filters or lower
limit, and check the freePOST /v1/countfirst. - Costly columns: drop
phoneor limit it to priority rows. - Duplicate work: dedupe your input and load your suppression list.
- Uncertain value: run a small first stage, check quality, then scale.
Step 6: run the real call with a ceiling
Remove dry_run and send the request. Add max_credits set to the quoted maximum, or to your budget if that is lower. It is a hard ceiling on what that request may spend, so even if something about the job differs from what you expected, the spend is bounded. Send an Idempotency-Key header with every POST, so retries within 24 hours are never charged twice.
Afterwards, compare what happened with what was quoted. Every response returns credits_used, and the x-dizo-credits-used and x-dizo-credits-remaining headers carry the same information for any call. Over time you will learn how your actual spend relates to the maximum for each kind of job, which makes future budgets more accurate.
Worked example: quoting a staged job
Suppose a hypothetical team wants 1,000 RevOps leaders at mid-sized US software companies, with emails for all of them and phone numbers for the top 100. Stage one is the search with include: ["email"] and limit: 500, run as two pages. Its maximum across both pages is 40 credits for results plus 1,000 for emails, so 1,040 credits, or $26.00 at $0.025.
Stage two is a batch of 100 phone finds, and you skip any returned number whose dnc flag is true. Its maximum is 1,000 credits, or $25.00. Quoted together, the whole job tops out at 2,040 credits, about $51.00 at the entry rate or $34.68 at $0.017. The team sees that phones for just 100 people cost almost as much as emails for 1,000 and decides whether that trade is worth it before anything is spent.
If the first stage finds emails for 700 people, the real charge for it is 740 credits. Comparing that with the 1,040 maximum gives the team a find rate to use when quoting the next similar job.
The agent version
For AI agents, quoting is the single most useful habit to build in. Over the MCP server, dizo_quote returns the exact credit cost of any call and spends nothing. Instruct the agent to quote any job likely to exceed about 100 credits, report the cost to the person in plain words, and wait for approval above a threshold you choose. A typical instruction: quote first, say the cost in credits and dollars, and only proceed without asking if it is under 200 credits.
Combine this with the key-level controls in how to budget an AI agent's data spend. The quote tells the agent what a call will cost; the caps make sure that even an agent that ignores the quote cannot overspend. MCP connections default to data:read and a 500-credit per-call limit unless you change them.
Common mistakes
Quoting a different request from the one you run is the main one, usually by adding include options after quoting. Another is reading the maximum as the expected cost and abandoning a job that would in practice cost much less; where the endpoint returns an expected figure, use it for planning and the maximum for the ceiling. Finally, some teams quote but skip max_credits on the real call. The quote informs the decision; the ceiling enforces it. Use both.
Frequently asked questions
Does a dry run cost anything?
No. A request with "dry_run": true returns a cost quote and spends 0 credits. It also returns no data.
Which endpoints support dry runs?
Every billable endpoint accepts dry_run, including search, people and company search, the email and phone lookups, enrichment, lists and batch. Free endpoints such as count and billing do not need one.
Why is the quote higher than what I was charged?
Most charges apply only when data is found, so a quote's maximum assumes everything is found. Lists also return credits_expected, a closer estimate of the likely cost.
Should I set max_credits to the quote?
Setting max_credits to the quoted maximum, or to your budget if lower, is a sensible default. It is a hard ceiling on what that single request may spend.
Can my agent quote calls over MCP?
Yes. The dizo_quote tool returns the exact credit cost of any call and spends nothing. Tell the agent in its instructions when it must quote and when it must ask before proceeding.
How do I turn a quote into dollars?
Multiply credits by your price per credit, which ranges from $0.025 to $0.010 depending on purchase size. GET /v1/pricing returns the tiers without authentication. See pricing for the full table.
Last reviewed 2026-11-24.