API кодів країн
Отримайте доступ до вичерпних даних про коди країн для ваших додатків
Base URL
https://country-code.com/apiДоступні ендпоінти
Отримати всі країни
/api/countriesОтримайте повний список усіх країн з телефонними кодами.
Відповідь включає:
- • Назва країни та ID
- • Міжнародний телефонний код
- • Коди ISO2 та ISO3
- • Інформація про валюту
- • Часовий пояс та регіон
Отримати деталі країни
/api/countries/:idОтримайте детальну інформацію для конкретної країни.
Включає все вищезазначене плюс:
- • Покрокові інструкції для набору
- • Коди міст
- • Приклади міжнародних дзвінків
- • URL зображення прапора
Приклад відповіді API
{
"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" }
]
}Незабаром на нашій платформі API
Ці потужні функції знаходяться в розробці
Real-time Data
Live timezone information, current local time, and dynamic country data updates.
API Authentication
Secure API keys, rate limiting, and usage analytics for production applications.
Advanced Filtering
Filter countries by region, timezone, currency, or calling code patterns.
Mobile SDK
Native iOS and Android SDKs for seamless mobile app integration.
Webhooks
Real-time notifications for country data changes and updates.
GraphQL Support
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.
Поточні рекомендації щодо використання
Обмеження швидкості
Наразі обмеження швидкості не застосовуються.
Актуальність даних
Дані країн регулярно оновлюються.
Підтримка CORS
CORS увімкнено для веб-додатків.
Підтримка
Для питань щодо API зв'яжіться з нами через наш сайт.