Production-Ready API Service

Enterprise-Grade
Geographical API

Power your applications with the world's most comprehensive geographical data API. Trusted by thousands of developers, handling 1.2B+ requests monthly with 99.9% uptime.

Uptime: 99.98%
Live API Response
Updated moments ago
200 OK
HTTP/1.1 200 OK
Response-Time: 89ms
Content-Type: application/json

{
  "id": 101,
  "name": "India",
  "iso2": "IN",
  "capital": "New Delhi",
  "currency": "INR",
  "phone_code": "91",
  "emoji": "🇮🇳"
}

Why Choose Our API?

Built for scale, designed for developers, trusted by enterprises worldwide

Lightning Fast Response

Average response time under 200ms globally.

Always Up-to-Date

Regular data updates with automated sync processes ensuring you always have the latest geographical information.

Developer-Friendly

RESTful design, comprehensive documentation, code examples, and SDKs for popular programming languages.

Integration

Easy Integration

Get started in minutes with our simple RESTful API.

// Get all countries
fetch('https://api.countrystatecity.in/v1/countries', {
  headers: {
    'X-CSCAPI-KEY': 'your-api-key'
  }
})
.then(response => response.json())
.then(countries => {
  console.log(countries);
});

// Get states in a country
fetch('https://api.countrystatecity.in/v1/countries/IN/states', {
  headers: {
    'X-CSCAPI-KEY': 'your-api-key'
  }
})
.then(response => response.json())
.then(states => {
  console.log(states);
});
Pricing

Simple, Transparent API Pricing

Start for free and scale as your application grows. No hidden fees, no surprises.

Community

$0/ month

Perfect for personal projects & exploration.

  • 3,000 API Requests/month (100/day)
  • 2 requests/second rate limit
  • 7 core endpoints available
  • Basic fields: name, id, iso2, iso3, capital, currency, region, emoji, latitude, longitude, country_code, state_code
  • Open access (no domain whitelisting)
  • Community support & documentation
  • Best effort SLA
Most Popular
Coming Soon

Supporter

$9/ month

Ideal for growing applications with enhanced features.

  • 30,000 API Requests/month (1,000/day)
  • 10 requests/second rate limit
  • All 7 current + 8 new region/search endpoints
  • Full field access: all basic fields plus phonecode, currency_name, currency_symbol, tld, native, nationality, timezones, translations, and more
  • Domain whitelisting (up to 3 domains)
  • Basic filtering & sorting
  • Priority email support (48h response)
  • 99.5% Uptime SLA
Coming Soon

Professional

$29/ month

Advanced features for production applications.

  • 150,000 API Requests/month (5,000/day)
  • 25 requests/second rate limit
  • All Supporter endpoints + 6 advanced geospatial endpoints
  • GraphQL API access for complex queries
  • Advanced filtering: radius search, multi-field search, fuzzy search
  • Multiple API keys (up to 5 keys)
  • Domain whitelisting (up to 10 domains) + IP whitelisting
  • Priority support (24h response)
  • 99.9% Uptime SLA
Free to start

Ready to Build Something Amazing?

Join thousands of developers using our platform to power location-based features. Start building today with our generous free tier and scale as you grow.

Instant API access
No credit card
5-minute setup