How to Test an Email Verification API Before Integrating It
To test an email verification API, build a small set of addresses that exercises deliverable, undeliverable, invalid-format, and undetermined outcomes befo

To test an email verification API, build a small set of addresses that exercises deliverable, undeliverable, invalid-format, and undetermined outcomes before connecting the service to a form or CRM.
To test an email verification API, build a small set of addresses that exercises deliverable, undeliverable, invalid-format, and undetermined outcomes before connecting the service to a form or CRM. Test one-address and multi-address requests, verify how each result maps to a business action, and inspect balance behavior. Keep the API key on a trusted server throughout the test.
Build a test matrix before writing integration code
A useful test plan starts with questions, not endpoints. What should happen when the address appears deliverable? What does the user see when it is undeliverable? How should the workflow handle a malformed input or an undetermined result? Define those expected business actions in a table before wiring the service into signup or import logic. This prevents a single Boolean branch from swallowing uncertainty.
Use test addresses that the team is authorized to submit. Include a complete address known to the team, an address expected to be undeliverable, one string without a complete local part and domain, and an address known to trigger an undetermined outcome if the team has a safe way to obtain one. Do not publish a list of real third-party inboxes as a reusable test fixture. The exact service result can change with time, so the test should verify handling of each response category rather than permanently assume an external address will always return one result.
The EmailCheckPro API reference documents the single check at POST /api/v1/check and the multi-address check at POST /api/v1/batch-check. Select the documented Email Deliverability Check product for this test. Avoid choosing Email Avatar Check for an arbitrary domain; that product has a narrower supported domain list and answers an additional public-avatar question.
Test authentication and a single address safely
Create an API key through the account settings and send it in the documented X-API-Key header from server-side code. A browser application or public repository is an inappropriate place for the key because anyone with the key could spend the account balance. Use a development environment that can keep secrets out of logs, screenshots, and client responses. The official documentation shows the header and request shape; copy the current reference rather than inventing a field or header from another email API.
Submit one complete email address to the single-check endpoint. Record the response category, the returned deliverability observation, and how the application's decision layer interprets it. In the documented service, deliverable=true means deliverable at check time and deliverable=false means undeliverable. Those are completed results. The term in the API is a field name; user-facing copy should say deliverable or undeliverable rather than describing an account at a provider.
Confirm that the application never treats a network error, invalid input, or undetermined result as deliverable=false. The catch-all case can return code 42200 without a completed result. A failed call and a completed undeliverable observation are different states, so they need different handling and metrics.
Check multi-address order and incomplete results
Next submit a small authorized set to POST /api/v1/batch-check. The documented multi-address API accepts 1–50 addresses and returns synchronously, preserving input order. Use a set that includes a valid deliverable candidate, a likely undeliverable candidate, and an invalid-format string. Verify that application code associates each result with the correct input after the response arrives. A positional bug in this step can mark the wrong contact record.
The multi result includes an exists indicator. exists=false means that no completed result exists for that item; it must not be mapped to deliverable=false. Store the raw category internally if the business workflow needs an audit trail, and expose a clear, nontechnical status to operations staff. For a contact import, an uncompleted item could be routed to a retry or review queue according to team policy rather than silently removed.
Do not call this synchronous multi request a bulk task. It answers a small set in the same response. Larger prepared files use the separate asynchronous bulk-task workflow. Keeping those paths distinct simplifies retry and failure handling.
Test billing boundaries and the balance view
Completed deliverability results are billable; invalid, failed, and undetermined checks are not charged under the documented product behavior. Test this distinction with the account's own balance rather than calculating a charge from assumed costs in the article or from a stale price page. The API provides GET /api/v1/balance for a current balance query. Record before and after balances in the test environment and compare them with completed result counts.
A balance change is not the only success criterion. Make sure the application can identify which checks completed, which did not, and which need operator attention. A request may fail before any usable observation is returned, and a multi request can contain different outcomes by item. Test how the application reports that mixed state to a reviewer without collapsing it into a single pass/fail label.
Keep test consumption modest and deliberate. Use a compact fixture, document the intended outcomes, and avoid rerunning a paid check on every local code change. This is an internal engineering practice, not a product quota or guarantee about future outcomes.
Validate the final decision path
Run the test fixture through the real form or CRM boundary in a staging environment. Confirm that an invalid-format string prompts a correction, that a completed undeliverable result triggers the chosen review action, and that an undetermined result has a distinct fallback. Check what happens if the API is unavailable at the moment of capture. The team should decide whether to pause, retry later, or continue with a marked uncertainty based on its own risk and user-experience requirements.
Inspect logs for accidental exposure of the API key or full addresses. Retain only the information needed for the application and its review policy. A successful HTTP call is not the end of the test; the result must reach the correct contact record and be explained accurately to the person making the decision.
Finally, document the boundary of the signal. Deliverable means the address could receive mail at the time checked. It does not establish future inbox placement or permission to contact the address. Keep separate confirmation and consent steps where the business process requires them.
FAQ
How can developers test an undetermined result?
Use a controlled fixture when available and verify the application keeps an undetermined response separate from undeliverable. Code 42200 is documented for a catch-all outcome.
How can teams test multi-address ordering?
Submit a small authorized set with distinguishable inputs and confirm that each returned result maps to the same input position and contact record.
How can developers check whether a test was billed?
Compare account balance through the documented balance endpoint with the number of completed checks, while treating invalid, failed, and undetermined outcomes separately.
How can teams protect the API key during testing?
Send the documented X-API-Key header from trusted server-side code and keep the key out of client bundles, logs, and shared screenshots.
Learn More
Choose the product information that fits the next step in your workflow.