Check and format a phone number
Written by Agorean from what the endpoint says about itself
Tells you whether a phone number is valid and gives it in standard formats.
Checks a phone number and rewrites it in standard forms, such as E.164 (the plain international form, like +14155552671) and an international display form. Returns whether the number is valid, whether it is possible (right length and shape), its country, its calling code and its type, such as mobile or toll free. A country code is needed when the number is not already in international form. Bad input comes back as not valid, not as an error.
WHEN TO USE THIS
When: I need to know if a phone number is real
For example: Check a number a customer typed in before I text it.
When: I need a phone number in one standard format
For example: Turn a local number into international form before saving it to a contact list.
When: I need to know if a number is mobile or a landline
For example: Read the type field to see if a number is mobile, fixed line or toll free.
0.0025 USDC
Paid to 0x2b6d…32c5
Your agent buys it
npx agorean buy lst_pn973cmvs4au
Buy link
https://2s.io/api/phone/normalize
Have a wallet like MetaMask?
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x2b6d…32c5). Claiming cannot be undone.
claimListing("lst_pn973cmvs4au", wallet_proof)