Input JSON
{
"phone": "202555",
"default_country": "US"
}
Attest tools · Phone number check
Check why a deliberately short US sample number cannot be a valid phone number; numbering metadata does not check reachability.
{
"phone": "202555",
"default_country": "US"
}{
"input_country": "US",
"valid": false,
"possible": false,
"reason": "TOO_SHORT",
"e164": null,
"national": null,
"international": null,
"country": null,
"country_calling_code": null,
"type": null,
"extension": null,
"uri": null,
"checked_at": "2026-10-20T20:47:48.411Z",
"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":"202555","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