World API Reference
The World Data API provides a consistent way to access global geographical and demographic data. Use our endpoints to build location-aware applications with ease.
GET /api/v1/public/countries
Health Check
Monitor the health status of our API services. Returns a 200 OK if all systems are operational.
{
"status": "healthy",
"version": "1.0.0"
}
Authentication
All requests require an API key passed in the X-API-Key header. You can manage your keys in the
developer dashboard.
Never share your API keys or commit them to version control.
curl -H "X-API-Key: wd_live_..." \
https://api.orbisregistry.rainbowwinglabs.com/world/api/v1/public/countries
Rate Limits
Limits are enforced per API key to ensure stability for all developers.
| Plan | Limit |
|---|---|
| Free Tier | 60 req/min |
| Pro Tier | 3,000 req/min |
Exceeding limits will return a 429 Too Many Requests
response.
Ping
Verify API connectivity with a lightweight request. Use this for keep-alive or latency tests.
"pong"
List Countries
Access our global database of countries. Filter and paginate results as needed.
Query Parameters
Count Countries
Fetch the total number of records in the countries table.
List States
Fetch states and provinces. Highly recommended to filter by countryName for optimal performance.
Parameters
Count States
Retrieve the total number of states/provinces globally.
List Cities
Comprehensive list of cities worldwide. Filter results by state to narrow down your search.
Parameters
Count Cities
Get the total volume of city records available.
List Towns
Retrieve a list of towns and small urban settlements.
Count Towns
Get total number of town records.
List Villages
Access data on rural settlements and villages globally.
Count Villages
Get total number of village records.
List Hamlets
Retrieve information about small hamlets and isolated dwellings.
Count Hamlets
Get total number of hamlet records.