Search for available area codes to find phone numbers in specific regions. Use this to help users pick an area code before searching for specific numbers.
Authentication
Query Parameters
Filter by state (2-letter code, e.g., MI, CA)
Filter by city name (e.g., Detroit)
Search for a specific area code
Page number for pagination
Number of results per page
Example Request
curl -X GET "https://api.teli.ai/v1/10dlc/phone-numbers/area-codes?state=MI" \
-H "X-API-Key: YOUR_API_KEY"
Example Response
{
"success": true,
"area_codes": [
{
"areaCode": "248",
"city": "Troy",
"state": "MI",
"country": "US"
},
{
"areaCode": "313",
"city": "Detroit",
"state": "MI",
"country": "US"
},
{
"areaCode": "517",
"city": "Lansing",
"state": "MI",
"country": "US"
}
],
"count": 3,
"powered_by": "Teli"
}