Validate and format a number. 245 countries and regions.
Check a phone number before you store it. Pass +14155552671 and get back phone, valid, country, plus national and international when it checks out.
A North American local number like (415) 555-2671 is detected from the area code. Other national formats take ?country=. Junk answers valid: false as a 200, never a 404. Everything here is computed locally and draws pooled requests only.
type is what the numbering plan says, so it never says voip — the network knows that. Same number, sibling endpoints: /carrier for who serves it, /caller for the name, /hlr for live status.
curl "https://api.parseapi.com/phone/+14155552671" \
-H "X-API-Key: YOUR_API_KEY"{
"phone": "+14155552671",
"valid": true,
"country": "US",
"type": "landline",
"state": "CA",
"state_name": "California",
"national": "(415) 555-2671",
"international": "+1 415-555-2671"
}curl "https://api.parseapi.com/phone/555-0100" \
-H "X-API-Key: YOUR_API_KEY"{
"phone": null,
"valid": false,
"country": null,
"type": null,
"state": null,
"state_name": null,
"national": null,
"international": null
}Response fields
Questions? Email