x402

Phone Validate (x402)

Validate a phone number and classify its type. Returns E.164 format, country, carrier name, and whether it is mobile, landline, or VOIP. Covers 200+ countries.

get/x402/v2/phone-validate

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/phone-validate
  • Auth: none required

Query parameters

country_codestring

ISO 2-letter country code hint (optional)

phone_numberstring required

Phone number in any format

Response

Success

e164string
validboolean
phone_typestring
is_possibleboolean
country_codestring
national_formatstring
international_formatstring

Example response

{
  "e164": "+46701234567",
  "input": "+46701234567",
  "valid": true,
  "carrier": null,
  "phone_type": "unknown",
  "is_possible": true,
  "country_code": "SE",
  "country_name": "Sweden",
  "national_format": "070-123 45 67",
  "international_format": "+46 70 123 45 67"
}

Changes

No recorded changes to this operation across all 1 revision of this API.