Skip to main content
POST
Validate Phone Number

Request contract

  • Method and path: POST /apis/v1/api-ninjas/validate-phone
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/api-ninjas/validate-phone
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.00089 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
number
string
required

Phone number to validate, including country code. Should be in international format with country code prefix (e.g., +12065550100). The API accepts various formats and will normalize to E.164 standard.

Examples:

"+12065550100"

"+442071838750"

"+61291234567"

Response

Tool result data

is_valid
boolean
required
country
string
country_code
integer
format_e164
string
format_international
string
format_national
string
is_formatted_properly
boolean
location
string
timezones
string[]