{"api":{"id":"api_4cabda364db14dbace87d827","slug":"phone-number-validator","name":"Phone Number Validator API","description":"Checks phone numbers in any format against Google's libphonenumber rules: valid or not, E.164 and national format, country, region, line type, the carrier the number range was first allocated to, location and time zones.","kind":"ready_made","visibility":"public","domain":"github.com","source_url":"https://github.com/google/libphonenumber","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":10,"created_at":"2026-12-06T04:06:22.109Z","updated_at":"2026-12-06T04:06:22.109Z","runnable":true},"version":"1.0","contract_hash":"c7d0e44a253263ae18771271cc45f4c5f572428ce6034fc94c70dc11ee419665","fields":[{"name":"input","type":"string","description":"The number exactly as you sent it.","required":true,"coverage":1,"example":"+14169790000"},{"name":"valid","type":"boolean","description":"Whether the number fits its country's numbering plan.","required":false,"coverage":1,"example":true},{"name":"e164","type":"string","description":"The number in E.164 form, such as +14169790000. Empty when the number could not be read.","required":false,"coverage":1,"example":"+14169790000"},{"name":"national_format","type":"string","description":"The number as written inside its own country, such as (416) 979-0000.","required":false,"coverage":1,"example":"(416) 979-0000"},{"name":"country_code","type":"integer","description":"International calling code, such as 1 or 44.","required":false,"coverage":1,"example":1},{"name":"region","type":"string","description":"Two-letter country or territory code the number belongs to, such as CA.","required":false,"coverage":1,"example":"CA"},{"name":"number_type","type":"string","description":"Line type: FIXED_LINE, MOBILE, FIXED_LINE_OR_MOBILE, TOLL_FREE, PREMIUM_RATE, SHARED_COST, VOIP, PERSONAL_NUMBER, PAGER, UAN or VOICEMAIL.","required":false,"coverage":1,"example":"FIXED_LINE_OR_MOBILE"},{"name":"carrier_at_allocation","type":"string","description":"Carrier the number range was first allocated to, when known.","required":false,"coverage":0.2,"example":"Three"},{"name":"location","type":"string","description":"Area or city of the number range, in English, when known.","required":false,"coverage":0.6,"example":"Toronto, ON"},{"name":"time_zones","type":"array","description":"IANA time zones of the number's area, such as America/Toronto.","required":false,"coverage":1,"example":["America/Toronto"]}],"inputs":[{"name":"phone_numbers","type":"array","description":"Phone numbers to check, in any common format such as +1 416 979 0000 or (416) 979-0000.","example":["+14169790000","+442071838750"],"required":true},{"name":"default_country","type":"string","description":"Two-letter country code used for numbers written without a + prefix, such as CA or GB.","example":"CA"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"carrier_at_allocation":{"description":"Carrier the number range was first allocated to, when known.","type":"string"},"country_code":{"description":"International calling code, such as 1 or 44.","type":"integer"},"e164":{"description":"The number in E.164 form, such as +14169790000. Empty when the number could not be read.","type":"string"},"input":{"description":"The number exactly as you sent it.","type":"string"},"location":{"description":"Area or city of the number range, in English, when known.","type":"string"},"national_format":{"description":"The number as written inside its own country, such as (416) 979-0000.","type":"string"},"number_type":{"description":"Line type: FIXED_LINE, MOBILE, FIXED_LINE_OR_MOBILE, TOLL_FREE, PREMIUM_RATE, SHARED_COST, VOIP, PERSONAL_NUMBER, PAGER, UAN or VOICEMAIL.","type":"string"},"region":{"description":"Two-letter country or territory code the number belongs to, such as CA.","type":"string"},"time_zones":{"description":"IANA time zones of the number's area, such as America/Toronto.","type":"array"},"valid":{"description":"Whether the number fits its country's numbering plan.","type":"boolean"}},"required":["input"],"title":"Phone Number Validator API","type":"object"},"samples":[{"input":"+14169790000","valid":true,"e164":"+14169790000","national_format":"(416) 979-0000","country_code":1,"region":"CA","number_type":"FIXED_LINE_OR_MOBILE","carrier_at_allocation":null,"location":"Toronto, ON","time_zones":["America/Toronto"]},{"input":"+442071838750","valid":true,"e164":"+442071838750","national_format":"020 7183 8750","country_code":44,"region":"GB","number_type":"FIXED_LINE","carrier_at_allocation":null,"location":"London","time_zones":["Europe/London"]},{"input":"+447400123456","valid":true,"e164":"+447400123456","national_format":"07400 123456","country_code":44,"region":"GB","number_type":"MOBILE","carrier_at_allocation":"Three","location":null,"time_zones":["Europe/Guernsey","Europe/Isle_of_Man","Europe/London"]}],"validation":{"checked_at":"2026-12-06T04:06:22.092Z","field_coverage":{"carrier_at_allocation":0.33,"country_code":1,"e164":1,"input":1,"location":0.67,"national_format":1,"number_type":1,"region":1,"time_zones":1,"valid":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:06:22.109Z","activated_at":"2026-12-06T04:06:22.109Z","active":true,"contract_hash":"c7d0e44a253263ae18771271cc45f4c5f572428ce6034fc94c70dc11ee419665","fields_count":10}]}