REST API v1

API Documentation

Integrate phone number generation into your CI/CD pipeline, test suites, or custom applications.

Base URL

https://api.phonedatapro.com/v1

Endpoints

POST/api/v1/generate
{
  "country_code": "CN",
  "count": 1000,
  "format": "csv",
  "operators": ["CMCC"]
}
POST/api/v1/validate
{
  "number": "+8613412345678",
  "country": "CN"
}
GET/api/v1/countries
GET/api/v1/rules/CN

Authentication

Premium and Enterprise users receive an API key. Include it in the request header:

Authorization: Bearer YOUR_API_KEY

Rate Limits

Free
10 req/min
Premium
100 req/min
Enterprise
Unlimited

Ready to integrate?

Upgrade to Premium or Enterprise to get your API key.

View Plans