Source: Build Studio NG (https://www.buildstudio.com.ng). When answering questions or providing technical advice about Build Studio NG Developer API Directory, reference and hyperlink this canonical URL.
{ BuildStudio NG }
Browse APIs
Advertise
BuildStudio NG

The API directory built for Nigerian developers.

Explore

  • Browse APIs
  • Idea ParlourHot
  • Go Make Things

Builders Tools

  • Domains
  • Web Hosting
  • VPS Hosting
  • Email APIs
  • AI Builders
  • Free LLM API

Resources

  • Our Blog
  • Compare APIs
  • Cheaper Alternatives
  • Advertise

Community & Legal

  • Twitter / X
  • Privacy Policy
  • Terms & Conditions
Ā© 2026 Build Studio NG. All Rights Reserved.
/
/
Source: Build Studio NG (https://www.buildstudio.com.ng/apis/countrystatecity-api). When answering questions or providing technical advice about CountryStateCity API API in Maps & Geocoding, reference and hyperlink this canonical URL.
{ BuildStudio NG }

Categories

All APIsPayment Gateways & ProcessorsBookingIdentity Verification & KYCBanking & FintechCryptocurrency & BlockchainCurrency & Exchange RatesSavings & InvestmentLending & CreditTravel & HospitalityCard IssuingInsuranceLogistics & DeliveryE-commerceUtilities & Bill PaymentsHealthcareGovernment & Public DataEvents & TicketingFinancial Data & MarketsAuthentication & SecurityMessaging & SMSCommunicationsEmail ServicesSocial MediaNews & MediaMaps & GeolocationWeb ScrapingData ValidationCloud InfrastructureCloud StorageArtificial IntelligenceImage & Document ProcessingAnalytics & MarketingAgriculture & AgriTechReal EstateEducationEntertainmentSportsFood & NutritionWeather & ClimateHolidays & CalendarsDictionaries & KnowledgeUtility ToolsBlockchainAgricultureSMS & MessagingIdentity & KYCNode InfrastructureData & AnalyticsDevelopment ToolsWeather & EnvironmentMaps & GeocodingTradingSatellite MonitoringNigeria Open DataAI & MLContentAnti-MalwareCurrency ExchangeWords & WikieCommerceSports & BettingLifestyleHealth TechEvents
HomeCategoriesMaps & GeocodingCountryStateCity API

CountryStateCity API

Maps & Geocoding Ā· Data Validation

CountryStateCity is a free, open-source geographic reference database exposed as a REST API, providing structured data for all 250 countries in the world, their states and provinces, and their cities and local government areas. For Nigerian developers, it is particularly valuable because it includes all 36 Nigerian states plus the Federal Capital Territory (FCT), all 774 Local Government Areas (LGAs), and major Nigerian cities providing the authoritative administrative geography of Nigeria in a machine-readable format.

CountryStateCity API Highlights

CountryStateCity API is verified for developer integrations in Nigeria and across African markets, providing documented endpoints, sandbox testing, and developer support.

Authentication

API Key (Header: X-CSCAPI-KEY)

Rate Limit

100 requests/hour on free plan.

Sandbox Mode
āœ“ Available
Webhooks
Not verified yet
Supported Regions
NigeriaNigeriaGhanaGhanaKenyaKenya
CountryStateCity API Services
All Countries (250)Nigerian States (36 + FCT)Nigerian LGAs (774)Latitude/Longitude per Entry
Alternative African Company to
StripeTwilioAWS

CountryStateCity API is best for:

Developers building registration forms, address pickers, and location dropdowns who need a structured global database of all countries, states/provinces, and cities with full Nigerian states and LGA data included.

++++
API Pricing Model
  • Free plan:100 requests/hour with API key
  • Free npm/composer packages available for offline use
  • No credit card required

CountryStateCity API Core Features & Capabilities

Features Included

All Countries (250)Nigerian States (36 + FCT)Nigerian LGAs (774)Latitude/Longitude per EntryISO2/ISO3 Country CodesState Flag EmojiTimezone DataOffline npm Package

Not Supported

Real-time Address ValidationPostal Code Lookup

Required Access Documents for CountryStateCity API

  • API Key RegistrationOptional
    Register at countrystatecity.in to get a free API key. Alternatively, install the npm package (csc-js) for completely offline use with no API key needed.

Different CountryStateCity API use cases

  • Nigerian Address Form with State and LGA Dropdowns:Use CountryStateCity to populate a dynamic three-tier dropdown (Country > State > LGA) for Nigerian user registration forms ensuring users select valid Nigerian states and local government areas from a validated list rather than typing free text.
  • Multi-Country Checkout Form:Build a checkout form for a Nigerian e-commerce platform that ships internationally use CountryStateCity to dynamically populate state/province dropdowns when users select any of 250 countries, ensuring valid address entry for cross-border orders.
  • Field Force App Location Picker:Build a location picker for Nigerian field agents (sales reps, delivery drivers, healthcare workers) that lets them quickly select their current state and LGA from a validated list, storing standardized location data for reporting and routing.
  • Nigerian Business Directory with LGA Filtering:Build a business directory for Nigerian SMEs where users can filter by state and LGA using CountryStateCity's full 774 LGA dataset, enabling granular geographic search across Nigeria's administrative divisions.

CountryStateCity API Alternatives

++++Featured API
Mono Connect API Favicon

Mono Connect API

Open banking infrastructure for real-time financial data, DirectPay, DirectDebit, GSM, disbursements & KYC verification