Skip to main content
POST
Data

Request contract

  • Method and path: POST /apis/v1/census-gov/census/data
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/census-gov/census/data
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
dataset
string
required

dataset

Provider reference: allowed values ["acs/acs5", "acs/acs1", "acs/acs5/subject", "acs/acs1/subject", "acs/acs5/profile", "acs/acs1/profile", "acs/acs5/cprofile", "acs/acs1/cprofile", "dec/pl", "dec/dhc", "dec/sf1", "pep/population", "cbp"].

geography
object
required

geography

variables
string[]
required

Variable names (B01003_001E, B19013_001M, P1_001N, ESTAB) or group(TABLE). NAME and GEO_ID may be added to any request. Variables may span up to 8 tables; more than 50 variables are split into per-table fetches and merged by GEO_ID (reported in warnings).

vintage
number
required

vintage

Provider reference: minimum 2000; maximum 2035.

cursor
string

cursor

page_size
number
default:500

page_size

Provider reference: minimum 1; maximum 5000; default 500.

predicates
object

Exact-match filters on any returned column, e.g. {"NAICS2017": "00", "EMPSZES": "001"} for CBP or {"DATE_CODE": "12"} for PEP.

Response

Retrieve estimates. Input: dataset path (acs/acs5, acs/acs1, acs/acs5/subject, acs/acs5/profile, dec/pl, dec/dhc, pep/population, cbp ...), vintage, 1-200 variable names or group(TABLE) tokens, and a geography as Data API for/in predicates (for: 'county:*', in: ['state:06']). Returns one row per geography with values as published, sentinels turned into null plus annotation, FIPS parts, variable metadata with units, and the equivalent api.census.gov URL. Unknown variables are rejected with invalid_input naming them.

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.