What a dry run is and why it exists
Usage-based data pricing has one uncomfortable moment: the instant before you send a large request and find out what it cost. A batch of a few thousand lookups, a list with email and phone columns, or a search with contact data included can all vary in price depending on volume and options. Estimating by hand from a pricing table is slow, and for an AI agent it is exactly the kind of arithmetic you do not want left to guesswork.
Dizo's answer is the dry run. Add "dry_run": true to the body of a billable request and Dizo returns a cost quote instead of running the call. Nothing is charged and no records are returned. You get the price of the exact request you were about to send, with the same parameters, and you can decide whether to run it, change it or drop it.
How it works
There is no separate quoting endpoint to learn. dry_run is a boolean parameter on the billable endpoints, listed in each endpoint's docs with the same description: return a cost quote and spend 0 credits. That includes search, people and company search, the email and phone finders, the enrich and reverse-lookup endpoints, the decision-maker finder, batch and lists.
Because the quote comes from the same request body, it accounts for everything that affects price: the limit on a search, the include array that adds email or phone, the number of items in a batch, and the columns and size of a list. Change any of those and quote again; each dry run is free.
Free endpoints do not need one. Counts, billing, usage, pricing and key information are never charged, so there is nothing to quote.
Reading a quote
For lookups whose result is uncertain, a quote tells you the most the call can cost. The batch docs show this clearly. A queued batch of 2,500 email-finder items comes back with quote.credits_max of 2,500 and credits_used of 0. That is the cost if every one of the 2,500 lookups found an email. Because misses are free, the real charge will be lower whenever some items miss.
Lists add a second number. The docs show a 500-row list with email and company columns quoting credits_max of 1,020 and credits_expected of 760. The maximum is easy to reconstruct: 500 rows of search at 0.04 credits is 20, plus 500 emails at 1 credit and 500 company lookups at 1 credit, is 1,020. The expected figure is Dizo's estimate once realistic hit rates are taken into account.
Plan against the maximum and expect something closer to the expected figure. That way a quote never surprises you upward.
Worked examples
Here are a few requests priced with a dry run, then converted to dollars at the published tiers. The tier is set by the size of each single purchase, so the same credits cost less if you bought them in a larger top-up.
- Search 25 VPs with emails:
include: ["email"],limit: 25. Maximum 1 + 25 = 26 credits, or $0.65 at $0.025. - Email batch of 2,500: maximum 2,500 credits, or $62.50 at $0.025. At a hypothetical 80% hit rate you would actually spend 2,000 credits, or $50.
- 500-row list with email and company: maximum 1,020 credits, expected 760. At $0.021 that is $21.42 maximum and about $15.96 expected.
- 1,000 phone lookups: maximum 10,000 credits, since each found result is one 10-credit charge for up to three numbers. Bought in a $2,000 top-up at $0.017, that is at most $170.
How agents use dry runs
Dizo's published rules for agents are direct: add "dry_run": true to any billable call for an exact quote that spends nothing, and do this before any job that may exceed about 100 credits. On the MCP server the same capability is exposed as dizo_quote, a free tool that returns the exact credit cost of any call.
The pattern that works is quote, ask, run. The agent builds the request, gets a quote, converts it to dollars using the current tier, and asks the user in plain words: "This batch of 2,500 email lookups will cost at most 2,500 credits, about $62.50. Should I go ahead?" Only after a yes does it send the real request, with max_credits set to the quoted maximum so the run cannot spend more than the user approved.
Agents can price in dollars without hardcoding anything. GET /v1/pricing returns the tiers and per-endpoint costs with no authentication, and GET /v1/me tells the agent how much budget its key has left.
Combining dry runs with other controls
A dry run tells you the price; it does not enforce it. Pair it with max_credits on the real request so the approved quote becomes a hard ceiling. Above that sit the per-key daily and monthly caps and the account's monthly spend cap. A quote that exceeds what a key has left is a signal to stop and ask, not to retry.
Dry runs also pair naturally with free counts. A count tells you how many records exist and how many have contact data. A dry run tells you what a specific call against that segment will cost. Use the count to choose the segment and the quote to approve the job.
Send an Idempotency-Key header on the real request after a quote. If the network drops and your code retries, Dizo will not charge twice for the same key within 24 hours.
Building a quote step into your own code
In a script or backend service, the simplest pattern is a wrapper around your Dizo client. Before any call you consider large, the wrapper sends the same body with dry_run set to true, reads the quote, and compares it with a threshold you control. Under the threshold, it sends the real request with max_credits set to the quoted maximum. Over the threshold, it stops and raises an approval request to a human, a Slack message or a ticket, carrying the quote in credits and dollars.
Log every quote next to the actual credits_used from the real call. Within a few weeks you will know your typical ratio of actual to maximum for each kind of job, which makes forecasting much more accurate than working from a pricing table alone. That log is also useful for finance: every large data purchase has a recorded estimate, an approval and an outcome.
For spreadsheet or workflow tools, the same idea works with two steps in sequence. The first step posts the request with dry_run, the second only runs if the quote is under a fixed number.
Edge cases
A quote reflects the request you sent at that moment. If you change limit, include, columns or the item list afterwards, quote again. A maximum also assumes every lookup hits, so for low-hit-rate jobs such as mobile numbers the gap between quote and actual can be large; that is expected and works in your favour.
Records on your suppression list are dropped before billing, so jobs that touch many existing customers will cost less than a naive estimate. Test keys are another option for rehearsing a workflow end to end: dz_test_ keys return synthetic data and never spend credits, so you can wire up the quote, approval and run steps before you have live access.
When you don't need a dry run
Single small lookups rarely need one. An email find costs at most 1 credit, and a phone find at most 10, and both are free on a miss. Quoting them adds a round trip for little benefit. Free endpoints, such as count, billing and pricing, never need one at all.
The ~100-credit guideline is a reasonable threshold for agents and scripts alike. Below it, send max_credits and run. Above it, quote first. See the full credit table on the pricing page, and sign up for live keys and 250 free credits.
Frequently asked questions
Does a dry run cost anything?
No. A request with "dry_run": true returns a cost quote and spends 0 credits. No records are returned.
Which endpoints support dry_run?
The billable endpoints, including search, people and company search, email and phone finders, enrich, reverse lookups, decision-maker finder, batch and lists. Free endpoints such as count and billing do not need it.
Why is the actual cost lower than the quote?
For lookups, the quoted maximum assumes every item is found. Misses are free, so the real charge drops by the number of misses. Lists also show a credits_expected estimate.
Can an agent get quotes over MCP?
Yes. The dizo_quote tool on the Dizo MCP server returns the exact credit cost of any call and spends nothing. Dizo's agent rules say to quote any job likely to exceed about 100 credits.
How do I make sure the real call matches the quote?
Send the identical request without dry_run, and set max_credits to the quoted maximum. The ceiling stops the request from spending more than you approved.
Do I need a quote for a single lookup?
Usually not. One email find costs at most 1 credit and one phone find at most 10, and both are free on a miss. Send max_credits and run. Quote batches, lists and searches that include contact data.
How do I turn a quote into dollars?
Multiply credits by your per-credit price, which runs from $0.025 down to $0.010 depending on purchase size. GET /v1/pricing returns the tiers with no authentication.
Last reviewed 2026-11-24.