Base URL https://community.datasourceapi.com/api/v1 · machine spec openapi.json ·
responses use the fleet envelope { request_status, message, data, meta }.
Geography
Resolve a location to its full Census geography hierarchy (state → county → tract → block, plus place, congressional & state-legislative districts, MSA, PUMA, urban area, ZCTA5, and school districts).
| address | One-line street address (Census Geocoder + TIGERweb) |
|---|---|
| zip | 5-digit ZIP / ZCTA (cca-geocode centroid → TIGERweb) |
| lat & lon | Explicit point (TIGERweb only) |
| include | data to also bundle the tract SDOS data in one call |
curl "https://community.datasourceapi.com/api/v1/geographies?address=1600+Pennsylvania+Ave+NW,+Washington,+DC+20500"
Tract data (SDOS)
Cached bundle for an 11-digit tract GEOID: ACS demographics/economics/housing, CDC PLACES health, CDC SVI, EPA EJScreen, FEMA NRI, USDA Food Access. Sources are fetched on first request and cached with per-source staleness.
| refresh | Bypass cache and refetch |
|---|---|
| acs_year | Historical ACS vintage (2020–2023) |
| lat & lon | Improves USDA food-access tract crosswalk |
curl "https://community.datasourceapi.com/api/v1/tract/11001980000"
A single source slice: acs, health (PLACES), svi, risk (FEMA NRI), food (USDA), environment (EJScreen).
Admin (X-Admin-Key)
Force-refresh every source for a tract. Requires the X-Admin-Key header.
Boundary tiles (Census → our R2)
Mapbox Vector Tiles of Census boundaries, ingested from TIGER/Line into PMTiles and served from our own R2 bucket — no third-party tile host. Layers: tracts, block_groups, counties, zcta, places, congressional, state_senate, state_house, school_unified, msa, puma, urban_areas, states. See /api/v1/tiles for which are ingested, and /api/v1/tiles/{layer}.json for TileJSON.
map.addSource('counties', { type: 'vector', url: 'https://community.datasourceapi.com/api/v1/tiles/counties.json' });
Map
An interactive boundary explorer is served at /map (MapLibre GL on the cca-maps basemap with live Census TIGERweb overlays).