GET /district/{code}
Pass a FIPS, INSEE, GSS code, or the name. Get the seat and place.
Try it
name
Name
type
County, department, district, etc.
seat
Seat of government (county seat, prefecture, admin centre)
state
State or province code
country
ISO2 country code
timezone
Primary timezone (most-populated zone)
area
Total area in km² (land + water, or the official total)
1
/district/guilford county. Type suffixes fold away.
2
Name, seat, state, timezones, area. Add state when a name collides.
3
Every district in a state hangs off the state path.
US, FR, GB. Every plan.
A district is the layer under a state: a US county, a French department, a GB district. Pass a FIPS, INSEE, or GSS code, or the name. /district/guilford county and /district/edinburgh resolve on their own. Type suffixes fold away.
Seat, timezones, and land area ride every record. A name shared across districts needs ?state= or ?country=. Want every district in a state? Use /state/{code}/districts.
RESPONSE
$ curl "https://api.parseapi.com/district/08031" \ -H "X-API-Key: YOUR_API_KEY" // 200 · ~35ms US · ~97ms worldwide { "district": "08031", "name": "Denver County", "type": "county", "state": "CO", "state_name": "Colorado", "country": "US", "country_name": "United States", "latitude": 39.76185, "longitude": -104.881105, "population": 729019, "area": 400.74, "land_area": 396.46, "water_area": 4.28, "seat": "Denver", "timezone": "America/Denver", "timezones": ["America/Denver"] }
Response fields
QUESTIONS
SPEED
US
11ms
EU
12ms
APAC
58ms
LatAm
10ms
ME
122ms
Three countries seeded today. Bare codes usually resolve. Pass ?country= when a code collides.
Look up the county behind a ZIP with the county by ZIP tool.