Rasa RekaAll APIs
Free trial · no server to run

Phone Number Validation API for 245 Countries

Validate, format and classify phone numbers from 245 countries: valid flag, mobile vs landline vs VoIP, E.164, international and national formats, country and calling code.

What you get

  • Valid and possible flags
  • Line type: mobile, landline, toll free, VoIP ...
  • E.164, international, national and RFC3966 formats
  • Country name and calling code
  • Bulk: 100 numbers per call
  • Country list and example numbers

Use cases

  • Sign-up and checkout forms
  • SMS and WhatsApp campaigns (keep only mobiles)
  • CRM normalisation to E.164
  • Fraud checks

Quick start

Subscribe on either marketplace to get a key, then call the endpoint. The same API runs behind both.

API.market (curl)

curl "https://prod.api.market/api/v1/rasareka/phone-validator/phone/v1/validate?phone=020%207946%200958&country=GB" \
  -H "x-api-market-key: YOUR_API_MARKET_KEY"

RapidAPI (curl)

curl "https://phone-number-validator-format-type-country.p.rapidapi.com/v1/validate?phone=020%207946%200958&country=GB" \
  -H "x-rapidapi-key: YOUR_RAPIDAPI_KEY" \
  -H "x-rapidapi-host: phone-number-validator-format-type-country.p.rapidapi.com"

JavaScript

const res = await fetch("https://prod.api.market/api/v1/rasareka/phone-validator/phone/v1/validate?phone=020%207946%200958&country=GB", {
  headers: { "x-api-market-key": process.env.API_MARKET_KEY },
});
console.log(await res.json());

Example response

{
  "valid": true,
  "type": "fixed_line",
  "e164": "+442079460958",
  "international": "+44 20 7946 0958",
  "country_name": "United Kingdom"
}

Pricing

PlanAPI.market
Free trial100 calls
Pro$9.99 / month for 10,000
Pay as you go$0.002 per call

RapidAPI has its own free Basic plan and monthly tiers. See the listing for current prices.

FAQ

Does it tell me if the number is active?

No. It validates against numbering rules from Google's libphonenumber, without contacting the carrier.

Who runs this API?

Rasa Reka Enterprise, a registered software studio in Malaysia. It runs on Cloudflare's global edge network. Questions: hello@rasareka.com.

More APIs

PDF & Screenshot API

HTML/URL to PDF, PNG, JPEG, WebP

Convert any URL or your own HTML to PDF, or capture PNG/JPEG/WebP screenshots, with a real Chromium browser.

Details →

Email Validator API

MX, disposable, typo check

Validate email addresses in real time.

Details →

URL Preview API

Open Graph, meta, link unfurl

Turn any link into a rich preview card.

Details →