Validate a phone number to E.164
identifiers_phone-e164-validateRead-onlyIdempotent
Normalise and validate a phone number with bundled libphonenumber metadata. Returns validity, E.164, region, calling code, and number type when known. Not a live carrier lookup. Price $0.02 USDC. POST /api/v1/identifiers/phone-e164-validate. An unpaid call returns the x402 payment terms and does not run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"phone": "<phone>"
},
"name": "identifiers_phone-e164-validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | phone, string, length 3 to 32. Required. | |
| defaultRegion | No | defaultRegion, string. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| e164 | No | e164. String. | |
| type | No | type. String. | |
| input | No | input. String. | |
| valid | No | valid. Boolean. | |
| region | No | region. String. | |
| sources | No | sources. Array. | |
| possible | No | possible. Boolean. | |
| limitations | No | limitations. Array. | |
| retrievedAt | No | retrievedAt. String. | |
| defaultRegion | No | defaultRegion. String. | |
| nationalNumber | No | nationalNumber. String. | |
| countryCallingCode | No | countryCallingCode. String. |