Testing
This page includes all needed information to make sure your test environment works before deploying to production.
Sandbox API Keys
An API request sent with a sandbox api key is automatically identified as a request in sandbox mode. All request with sandbox keys will respond with dummy data.
Requests done with sandbox keys do not count against your quota.
Please note that the requests are still shown in the graph on the dashboard. You can select only your live key if you want to filter them out.
Test phone numbers
| Phone Number | Response |
|---|---|
+4312121212121 004312121212121 12121212121 + country_code=AT | "valid": false |
| all other numbers | "valid": true |
Sandbox responses
Sandbox requests return dummy data instead of live lookup results. Every number apart from the test numbers above validates with "valid": true and Austrian dummy data: "country_name": "Austria", "country_code": "AT", "carrier": "Demo Operator" and "line_type": "mobile". Since sandbox requests do not count against your quota, their responses carry an X-Cost: 0 header — see Rate Limit & Quotas.