BestPaid APIs · US City Geo & Weather Metadata API
A clean, indexed list of US cities with geographic and demographic metadata. Includes latitude, longitude, population, timezone, and FIPS codes derived from NOAA storm report data. Ideal for mapping applications, weather widgets, and location-based services needing reliable city lookups. Data is public domain US government work.
| Tier | Requests | Server addresses | 30 days | 1 year |
|---|---|---|---|---|
| Enterprise | 60 a minute 2,400 an hour 20,000 a day | 3 | $990 | $9,900 |
| Business | 30 a minute 900 an hour 8,000 a day | 2 | $390 | $3,900 |
| Pro | 10 a minute 200 an hour 1,500 a day | 2 | $149 | $1,490 |
X-API-Key header from your server. Browsers and web pages
cannot call the API (no CORS), and the key never goes in a URL.POST https://api.bestpaid.app/us-city-geo-weather/v1/key/reset-ips from the new one, once every 7 days.X-RateLimit-Remaining-Minute,
-Hour and -Day; a full window answers 429 with Retry-After.ETag back as If-None-Match and you get a 304 when nothing
changed; X-Data-Updated says when the data were built.Base URL: https://api.bestpaid.app/us-city-geo-weather/v1
| Endpoint | Returns |
|---|---|
GET /cities | Search US City Geo & Weather Metadata API.q string — Search by city namestate string — Filter by state code (e.g., CA)min_pop integer — Minimum populationtz string — Filter by timezone string (e.g., America/New_York)limit integer (default 20, at most 100) |
GET /city | One record by id.id string (required) |
GET /key | your tier, expiry, limits, use so far and server addresses |
POST /key/reset-ips | move the key to the server that sends this request |
OpenAPI description: https://api.bestpaid.app/us-city-geo-weather/v1/openapi.json
curl --compressed -H "X-API-Key: YOUR_KEY" "https://api.bestpaid.app/us-city-geo-weather/v1/cities?q=new&limit=5"
{
"generated": "2026-11-30T02:36:08Z",
"items": [
{
"id": "5128581",
"name": "New York City",
"state": "NY",
"lat": 40.7143,
"lng": -74.006,
"pop": 8804190,
"fips": "",
"tz": "America/New_York",
"slug": "new-york-city"
},
{
"id": "5368361",
"name": "Los Angeles",
"state": "CA",
"lat": 34.0522,
"lng": -118.2437,
"pop": 3820914,
"fips": "06037",
"tz": "America/Los_Angeles",
"slug": "los-angeles"
},
{
"id": "5110302",
"name": "Brooklyn",
"state": "NY",
"lat": 40.6501,
"lng": -73.9496,
"pop": 2736074,
"fips": "36047",
"tz": "America/New_York",
"slug": "brooklyn"
}
]
}
400 unknown_parameter, bad_parameter, missing_parameter, key_in_header_only
· 401 invalid_or_expired_key · 403 server_to_server_only, ip_not_allowed,
key_blocked · 404 not_found, unknown_endpoint · 429 rate_limited
(with window and Retry-After).