Skip to main content
POST
Popest list

Request contract

  • Method and path: POST /apis/v1/census-gov/census/popest-list
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/census-gov/census/popest-list
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
file
string
required

counties: counties/totals/co-est-alldata.csv (states and counties). subcounty: cities/totals/sub-est.csv (national, ~7.5 MB) or, with state, sub-est_.csv.

Provider reference: allowed values ["counties", "subcounty"].

continuation
string

Opaque cursor from the previous page's next_cursor. It pins the vintage, file, Last-Modified and size; when the source has moved on the call fails with invalid_input at /continuation (issue code publication_changed) instead of mixing versions.

page_size
number

Records (geography-years) per page; default 500.

Provider reference: minimum 1; maximum 2000.

state
string

Optional 2-digit state FIPS. counties: keeps that state's rows (state row included). subcounty: reads the per-state file sub-est_.csv instead of the national file. Pattern: ^[0-9]{2}$.

sumlev
string

Optional summary level filter (050 counties only, 162 incorporated places, 061 county subdivisions ...). Pattern: ^[0-9]{3}$.

vintage
number

Vintage year YYYY of the 2020-YYYY directory. Default: the newest directory listed under popest/datasets/.

Provider reference: minimum 2021; maximum 2035.

Response

List Vintage 2020-YYYY population estimates from one PEP file as one record per geography and estimate year: counties (SUMLEV 040 states and 050 counties; components of change, group quarters and per-1,000 rates) or subcounty (places, county subdivisions, consolidated cities; population only). The whole file is fetched per call (2.1 MB counties, 7.5 MB national subcounty, ~30 KB per state) and paged from memory; the cursor pins vintage, file, Last-Modified and size and a changed file fails with publication_changed. source_record_id = v:::<geo_id>:. Names are decoded from Latin-1.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.