Skip to content
OSINTtools.io

Phone Validator API

Phone number checker that returns line type, carrier and origin for numbers in 250+ countries, with an API and bulk uploads.

Base URL
https://api.phonevalidator.com
Sign-in
Bearer token
Pricing
Pay per request
Format
REST
Endpoints
2

Compiled by OSINTtools.io editors from phonevalidator.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

Phone Validator's v5 API checks a phone number and returns whether it is valid, its formats, country, region, city, time zone, line type (mobile, landline, voip, toll_free, unknown), carrier, ported status and VoIP details.

Calls go to https://api.phonevalidator.com with the API key as a bearer token. Keys start with pv_live_ or pv_test_; test keys with the documented test numbers are never billed. A key in the URL is rejected. An invalid number still returns 200 with valid: false.

Each account may make 25 requests per second across all its keys. The docs show a lookup costing 0.0040 USD; the account endpoint returns the current price per lookup.

Quick start

  1. Get a key

    Create an account with Phone Validator and copy your bearer token. Where to get it

  2. Make your first request

    Show balance, price per lookup, rate limit and current-month usage. Not billed.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.phonevalidator.com/v5/account' \
      -H 'Authorization: Bearer YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "balance": "10.0000",
      "price_per_lookup": "0.0040"
    }

Authentication

Send your token in the Authorization header as Bearer YOUR_TOKEN.

Live keys start with pv_live_, test keys with pv_test_.

Get a key from Phone Validator

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

25 requests per second per account across all keys; higher limits on request. 429 responses carry Retry-After.

Pricing: pay per request.

Errors

StatusMeaning
400invalid_json, invalid_request or test_mode_number
401missing_key, invalid_key or key_in_url
402insufficient_funds (not billed)
403account_inactive, api_disabled or account_on_hold
409idempotency_in_progress; retry after Retry-After
415unsupported_media_type
422idempotency_key_reused
429rate_limited (not billed)
503lookup_unavailable (not billed)

Lookups

  • Takes: Phone number
  • Passive: the target is not contacted
  • Cost: 0.0040 USD per lookup in the docs' example

An invalid number still returns 200 with valid false and an invalid_reason. An optional Idempotency-Key header stores a successful response for 24 hours so a repeat request is not charged twice. sms_enabled shows routing to an SMS-capable carrier, not delivery or consent.

Headers

Idempotency-Keystring

Up to 255 characters; repeated key and body returns the stored result

Example: lookup-0001
Request body (JSON) · 3Show

phone_numberstringalways present

Up to 64 characters; a leading + or 00 marks an international number

default_countrystring

ISO alpha-2 code used to read numbers without + or 00

allowed_countriesarray

ISO codes; numbers from other countries return country_not_allowed

Response fields · 19Show

phone_numberstring

E.164 format, or null if unreadable

validboolean

Whether the number is valid

invalid_reasonstring

Why the number is invalid, else null

format_nationalstring

National format

format_internationalstring

International format

countrystring

Country

regionstring

Region

citystring

City

time_zonestring

Time zone

line_typestring

mobile, landline, voip, toll_free or unknown

carrierstring

Carrier name

portedboolean

Whether the number was ported; null for Canada

voip_typestring

fixed or non_fixed

voip_providerstring

VoIP provider

voip_provider_typestring

consumer_app, programmable, business or residential

sms_enabledboolean

Whether texts route to an SMS-capable carrier or provider

coststring

Cost of this lookup in USD

balancestring

Remaining balance in USD

test_modeboolean

Whether a test key was used

curl -X POST 'https://api.phonevalidator.com/v5/lookups' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"phone_number":"+1 555 0100","default_country":"US"}'
Replace YOUR_API_KEY with your key
Response
{
  "phone_number": "+15550100",
  "valid": true,
  "invalid_reason": null,
  "region": "EX",
  "city": "EXAMPLETON",
  "line_type": "mobile",
  "carrier": "EXAMPLE CARRIER",
  "ported": false,
  "sms_enabled": true,
  "cost": "0.0040",
  "balance": "10.0000",
  "test_mode": false
}

Account

  • Passive: the target is not contacted
  • Cost: Not billed

Returns your balance, price per lookup, rate limit, auto-refill and balance-alert settings, and current-month usage.

Response fields · 2Show

balancestring

Account balance

price_per_lookupstring

Current price per lookup

curl 'https://api.phonevalidator.com/v5/account' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "balance": "10.0000",
  "price_per_lookup": "0.0040"
}