RESTful API

Powerful Phone Validation API

Simple, fast, and reliable phone number validation with comprehensive documentation and code examples.

Real-time HLR lookup
Bulk validation up to 1,000 numbers
Detailed carrier information
Global coverage (200+ countries)

Quick Start

Get started in minutes

1

Create Account

Sign up for free - no credit card required

2

Generate API Key

Create an API key in your dashboard

3

Make First Request

Start validating phone numbers

Authentication

Include your API key in the X-API-Key header with every request:

X-API-Key: your_api_key_here

Keep your API key secret. Never expose it in client-side code.

Base URL: https://hlrdeep.com/api/public/v1

https://hlrdeep.com/api/public/v1

Available Endpoints

Single Number Validation

Validate a single phone number and get carrier information, live status, and porting details.

Query Parameters

phoneNumberstring required

Phone number in international format (e.g., +1234567890)

Code Examples

curl -X GET "https://hlrdeep.com/api/public/v1/hlr/check?phoneNumber=%2B1234567890" \
  -H "X-API-Key: your_api_key_here"

Response

{
  "success": true,
  "data": {
    "phoneNumber": "+1234567890",
    "isValid": true,
    "country": "United States",
    "countryCode": "US",
    "operator": "Verizon Wireless",
    "operatorCode": "310-004",
    "type": "Mobile",
    "status": "Active",
    "ported": false,
    "roaming": false,
    "mcc": "310",
    "mnc": "004"
  },
  "balance": 95.50
}

Error Codes

Common HTTP status codes and their meanings:

CodeMessage
200Success
400Bad Request - Invalid phone number format
401Unauthorized - Invalid API key
402Payment Required - Insufficient balance
429Too Many Requests - Rate limit exceeded
500Internal Server Error

Sandbox Environment

Test your integration without charges by creating a sandbox API key. Sandbox keys return realistic test data.

  • No charges to your balance
  • Realistic test responses
  • Perfect for development
Create Sandbox Key

Ready to integrate?

Create your free account and get your API key in under 5 minutes

Free sandbox testing
Comprehensive documentation
Code examples in 4 languages