Input JSON
{
"phone": "(202) 555-0123",
"default_country": "US"
}
Attest tools · Phone number check
Normalize a reserved US fictional phone number into E.164 format using US numbering metadata.
{
"phone": "(202) 555-0123",
"default_country": "US"
}{
"input_country": "US",
"valid": true,
"possible": true,
"reason": null,
"e164": "+12025550123",
"national": "(202) 555-0123",
"international": "+1 202 555 0123",
"country": "US",
"country_calling_code": "1",
"type": "FIXED_LINE_OR_MOBILE",
"extension": null,
"uri": "tel:+12025550123",
"checked_at": "2026-10-20T20:47:48.409Z",
"source": "libphonenumber-js (MIT) using phone numbering metadata from Google libphonenumber (Apache-2.0)",
"note": "Checked offline against libphonenumber metadata; carrier and live-line status are not checked."
}curl -s -X POST https://getattest.com.au/api/v1/phone/parse \
-H "authorization: Bearer $ATTEST_API_KEY" \
-H "content-type: application/json" \
--data-raw '{"phone":"(202) 555-0123","default_country":"US"}'Run this call with your own bearer key. Issue an API key.
The input was validated and run locally through the registered service. The output above is a display preview of the captured service result. File bytes are described instead of printed, and strings longer than 400 characters are truncated; the HTTP API also adds call_id, credits_charged and credits_remaining. Timestamps and generated identifiers will vary.
Source: apps/api/svc/phone_parse.mjs