Developers
Make your first API lookup.
Start with a free number check. Then add a Core or Full lookup when you need it. Core includes number details, live status, WhatsApp, and Telegram. Full adds Viber and Zalo.
Updated November 23, 2026
Get an API key.
Create an account, try your own number, and complete your account details. In Balance & credit, choose your currency and activate credit.
Open API keys & usage and create an API key. The examples below read it from the QUIETPASS_API_KEY environment variable.
Keep your API key private and make requests from your server.
Run a free lookup.
Set phone to the number you want to check. Local numbers need a two-letter defaultCountry, as shown below. International numbers can use + or 00 followed by the country code; spaces and punctuation are accepted.
curl --fail-with-body https://quietpass.com/v1/phone/lookup \
-H "Authorization: Bearer $QUIETPASS_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: contact-123-free-1' \
--data '{"phone":"07400 123456","defaultCountry":"GB","checks":["basic_line_type"]}'This returns the number’s format, country, and basic type. It does not use paid credit.
Read the response.
Keep the context with the result. A valid format does not prove an active number. Route number.reserved: true for correction; keep unknown checks and their reasons for review. Never turn an unknown into “no account” or “inactive.” Read the result meanings and next steps.
The response includes the details your product can use. Here is an example excerpt, with the phone number masked:
{
"number": {
"e164": "+44740012••••",
"country": "GB",
"valid": true,
"type": "mobile"
},
"contact": {
"sms": {
"supported": true,
"assumed": true,
"basis": "mobile_line_type"
}
},
"billing": {
"amount": "0.00",
"currency": "GBP"
}
}For mobile numbers, free SMS support is inferred from the number type; it does not test delivery.
true means yes, false means no, and null means unknown or inconclusive. Read the response definitions.
Add paid checks.
Choose the checks you need and send one request. Your accepted workspace prices apply; a quote is optional. Use a unique Idempotency-Key for each new lookup and keep it for retries.
curl --fail-with-body https://quietpass.com/v1/phone/lookup \
-H "Authorization: Bearer $QUIETPASS_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: contact-123-check-1' \
--data '{"phone":"07400 123456","defaultCountry":"GB","checks":["current_carrier","whatsapp","telegram"],"currency":"GBP","maxSpend":"0.05"}'Every completed result includes billing.amount and billing.currency. For example, "amount": "0.03" means 0.03 in the stated currency. If no paid package returns a definite answer, the billed amount is zero.
To set a spending limit, include "maxSpend": "0.05". For a price preview, use POST /v1/phone/quote, then run the lookup with POST /v1/phone/execute.
Use a starter file.
JavaScript, Python, and Postman use the same request JSON as the API. Download a starter and the request file, then set the number, checks, and currency you need. JavaScript requires Node.js 20 or later; Python requires Python 3.10 or later. Neither needs extra packages.
Downloads
Save this as request.json. The optional maxSpend sets a limit of 0.05 in your workspace currency.
{
"phone": "07400 123456",
"defaultCountry": "GB",
"checks": [
"current_carrier",
"whatsapp",
"telegram"
],
"currency": "GBP",
"maxSpend": "0.05"
}With QUIETPASS_API_KEY set, run:
node quietpass.mjs request.jsonFor a price preview without running the lookup, use node quietpass.mjs request.json --quote. Run the command without --quote to execute that saved quote.
The script saves a small operation file next to your request. Keep both files: running the command again reads the original status before retrying. Starter file instructions.
If a request is interrupted.
Use GET /v1/phone/lookup with the original Idempotency-Key to read its status and result without another charge. If you requested a quote first, use GET /v1/phone/results/{quoteId}. Don’t start another lookup while the outcome is uncertain.
Saved results are available for 24 hours. Recover an interrupted request.
Need a hand?
Contact us with your request ID and what you expected. Keep API keys and customer data out of support messages.
Explore QuietPass’s phone number and messaging checks, or compare the integration options for your existing tools.
For workflow setup, open the guide for HubSpot, n8n, Make, Zapier, Clay, or HighLevel.