Validate numbers
The Ready number validation API tells you whether a phone number is mobile, landline or disconnected before you text it. A check is $0.003 per answered number, and you can send up to 1,000 numbers in one call.
Key facts
- One number: GET /v1/validate/:phone
- Many numbers: POST /v1/validate
- Price: $0.003 per answered number
- Limit: up to 1,000 numbers per call
- Answers: mobile, landline or disconnected
Check whether numbers are mobile, landline or disconnected before you import or text them. US and Canada only. It is the same lookup as Check landlines in Settings → Compliance, but each API call is billed at your per-number price, $0.003 for each number that gets an answer at standard prices, even when Check landlines shows free: see Billing for prices.
#The Validation result object
phonestring- The number as you sent it.
normalizedE.164 string | nullnullwhen the number can’t be read.validbooleanfalseif malformed or disconnected.reasonstring- Only when
validisfalse. Possible values:invalid_format,unsupported_country,restricted_number(area code 555 or a premium number like 900 or 976),fictional_number(the reserved 555-0100 to 555-0199 range),disconnected. Every reason butdisconnectedis answered without a lookup and is not billed. More reasons may be added: treat an unknown reason as not textable. line_typeenummobile,landlineorunknown. A line the carrier lookup reports only as "landline or other carrier", which includes most VoIP lines, reads asunknown: it is still an answer and is billed.carrierstring | null- The carrier name the lookup returned, for mobile numbers. It is free text: one carrier can come back under several spellings (for example
VerizonandVerizon Wireless), and the spelling can change without notice, so do not compare it for equality. carrier_slugstring | null- The value to compare instead:
tmobile,attorverizon,otherfor any other carrier, andnullwhencarrierisnull. textableboolean | nullnullwhen the lookup gave no answer or could not tell (line_typeisunknown).falsefor a number that isn’t valid.cachedboolean- Whether the answer came from the cache. Cached answers are billed too.
checked_atstring | null- When the number was checked, ISO 8601.
nullfor a well-formed number means the carrier lookup gave no answer, so that number wasn’t billed andline_typeisunknown. Send it again with a newIdempotency-Keyto check it; the same key replays this answer. A test key never looks numbers up, so its answers always carrynullhere.
#Validate numbers
Checks up to 1,000 numbers. Costs your per-number price for each number that gets an answer, cached answers included. Checking the same number again, in a later call, is billed again. Needs the edit_contacts permission.
How billing works
A number repeated within one request is looked up and billed once. Malformed numbers and numbers that got no answer aren’t billed. The whole batch is checked against your balance first.
An answer is reused for 90 days and then checked again. Answers are shared across Ready accounts, so cached: true can mean another account checked the number. Ready keeps each number’s answer after that window so texts to numbers that are out of service stay stopped.
Parameters
Idempotency-Keystring · header- Recommended. Retry safely without paying twice.
phonesstring[]Required- 1 to 1,000 numbers, E.164 or 10 digits.
Returns a list of Validation result objects in data, one per number, in the order you sent them.
Returns
billed_numbers, charged_usdinteger, number- What this call cost.
Exact amounts
charged_usdis exact: your per-number price for each number that got an answer, so one number shows your per-number price ascharged_usdandbilled_numbers: 1every time. Your balance is debited in whole cents and any fraction of a cent is carried to the next charge. Both are0when nothing was charged (for example a test key).
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | phones_required | phones is missing or empty. |
| 400 | too_many_phones | More than 1,000 numbers. |
| 402 | insufficient_credits |
Balance can’t cover the batch. Nothing checked. Top up in Billing and try again. The body has required_cents, balance_cents, numbers and billing_url (null when another account pays). If another request spends your balance while this one runs, you get the same code with only numbers: nothing is charged and no results are returned. |
| 402 | client_card_required | A sub-account that pays with its own card has not added one yet. Nothing checked. |
| 429 | validation_in_progress | Same numbers already being checked. Wait Retry-After. |
| 500 | internal_error | Some may be billed: check your balance first. |
| 503 | validation_unavailable | Unavailable right now. Nothing charged. |
curl -X POST "https://api.tryready.com/v1/validate" \
-H "X-API-Key: $READY_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"phones": [
"+12125550234",
"+13125550287",
"+447700900123"
]
}'
const res = await fetch('https://api.tryready.com/v1/validate', {
method: 'POST',
headers: {
'X-API-Key': process.env.READY_API_KEY,
'Content-Type': 'application/json',
'Idempotency-Key': crypto.randomUUID(),
},
body: JSON.stringify({
"phones": [
"+12125550234",
"+13125550287",
"+447700900123"
]
}),
});
const json = await res.json().catch(() => ({}));
if (!res.ok || json.success === false) {
throw new Error(`${res.status}${json.error_code || json.code ? ' ' + (json.error_code || json.code) : ''}: ${json.error || json.message || res.statusText} (request ${res.headers.get('x-request-id')})`);
}
import os, uuid, requests
r = requests.post(
"https://api.tryready.com/v1/validate",
headers={"X-API-Key": os.environ["READY_API_KEY"], "Idempotency-Key": str(uuid.uuid4())},
json={
"phones": ["+12125550234", "+13125550287", "+447700900123"]
},
timeout=30,
)
data = r.json() if r.headers.get("content-type", "").startswith("application/json") else {}
if not r.ok or data.get("success") is False:
raise RuntimeError(f'{r.status_code} {data.get("error_code") or data.get("code") or ""}: {data.get("error") or data.get("message") or r.reason} (request {r.headers.get("x-request-id")})')
{
"success": true,
"data": [
{
"phone": "+12125550234",
"normalized": "+12125550234",
"valid": true,
"line_type": "mobile",
"carrier": "T-Mobile",
"carrier_slug": "tmobile",
"textable": true,
"cached": false,
"checked_at": "2026-10-01T21:30:00.512Z"
},
{
"phone": "+13125550287",
"normalized": "+13125550287",
"valid": true,
"line_type": "landline",
"carrier": null,
"carrier_slug": null,
"textable": false,
"cached": true,
"checked_at": "2026-09-28T14:02:11.090Z"
},
{
"phone": "+447700900123",
"normalized": null,
"valid": false,
"reason": "unsupported_country",
"line_type": "unknown",
"carrier": null,
"carrier_slug": null,
"textable": false,
"cached": false,
"checked_at": null
}
],
"billed_numbers": 2,
"charged_usd": 0.006
}
#Validate one number
The same check for one number. This GET is billed at your per-number price if answered. Send an Idempotency-Key and a retry with the same key returns the first answer and bills once. Needs the edit_contacts permission.
Parameters
phonestring · pathRequired- E.164 or 10 digits. A value that isn’t a phone number answers
200withvalid: false, reason: "invalid_format", not billed.
Returns a Validation result object in data, with billed_numbers and charged_usd as in Validate numbers.
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_phone | Path value over 40 characters. |
| 402 | insufficient_credits | Balance too low. Nothing checked. Top up in Billing and try again. The body has billing_url. |
| 402 | client_card_required | A sub-account that pays with its own card has not added one yet. Nothing checked. |
| 403 | READ_ONLY_SESSION | View-only access can’t spend money. |
| 429 | validation_in_progress | This number is already being checked. Wait Retry-After. |
| 500 | internal_error | Some may be billed: check your balance first. |
| 503 | validation_unavailable | Unavailable right now. Nothing charged. |
curl "https://api.tryready.com/v1/validate/+12125550234" \
-H "X-API-Key: $READY_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"
const res = await fetch('https://api.tryready.com/v1/validate/+12125550234', {
headers: {
'X-API-Key': process.env.READY_API_KEY,
'Idempotency-Key': crypto.randomUUID(),
},
});
const json = await res.json().catch(() => ({}));
if (!res.ok || json.success === false) {
throw new Error(`${res.status}${json.error_code || json.code ? ' ' + (json.error_code || json.code) : ''}: ${json.error || json.message || res.statusText} (request ${res.headers.get('x-request-id')})`);
}
import os, uuid, requests
r = requests.get(
"https://api.tryready.com/v1/validate/+12125550234",
headers={"X-API-Key": os.environ["READY_API_KEY"], "Idempotency-Key": str(uuid.uuid4())},
timeout=30,
)
data = r.json() if r.headers.get("content-type", "").startswith("application/json") else {}
if not r.ok or data.get("success") is False:
raise RuntimeError(f'{r.status_code} {data.get("error_code") or data.get("code") or ""}: {data.get("error") or data.get("message") or r.reason} (request {r.headers.get("x-request-id")})')
{
"success": true,
"data": {
"phone": "+12125550234",
"normalized": "+12125550234",
"valid": true,
"line_type": "mobile",
"carrier": "T-Mobile",
"carrier_slug": "tmobile",
"textable": true,
"cached": false,
"checked_at": "2026-10-01T21:30:00.512Z"
},
"billed_numbers": 1,
"charged_usd": 0.003
}