Acesso a dados completos de códigos DDI para suas aplicações
Base URL
https://country-code.com/api/api/countriesRetrieve a complete list of all countries with their dialing codes, ISO codes, currencies, and basic information.
Response includes:
/api/countries/:idGet detailed information for a specific country including city codes and dialing instructions.
Includes everything above plus:
{
"id": "united-states",
"name": "United States",
"code": "+1",
"iso": "US",
"iso3": "USA",
"region": "North America",
"timezone": "UTC-5 to UTC-12",
"currency": {
"code": "USD",
"name": "US Dollar",
"symbol": "$"
},
"flag": "/flags/us.png",
"example": "+1 212 555 1234",
"dialingInstructions": {
"international": "+1 XXX XXX XXXX",
"steps": [
"Dial your country's international access code",
"Dial the US country code: 1",
"Dial the area code and phone number"
]
},
"cityCodes": [
{ "city": "New York", "code": "+1 212" },
{ "city": "Los Angeles", "code": "+1 213" }
]
}These powerful features are in development and will be available soon
Live timezone information, current local time, and dynamic country data updates.
Secure API keys, rate limiting, and usage analytics for production applications.
Filter countries by region, timezone, currency, or calling code patterns.
Native iOS and Android SDKs for seamless mobile app integration.
Real-time notifications for country data changes and updates.
Flexible GraphQL API for custom queries and efficient data fetching.
🚀 Full API Platform Coming Soon
Our comprehensive API platform with authentication, rate limiting, and advanced features is currently in development. The current endpoints are free to use for testing and development.
Currently no rate limits are enforced. Please use responsibly and avoid excessive requests.
Country data is updated regularly. All dialing codes and country information are verified for accuracy.
CORS is enabled for web applications. You can make requests directly from your frontend code.
For questions or issues with the API, please contact us through our website.