Skip to main content
POST
Variables

Request contract

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

Table id, e.g. B01003, S0101, DP05, P1. Pattern: ^[A-Za-z0-9_]{1,40}$.

dataset
string
required

Data API dataset path, e.g. acs/acs5, acs/acs5/profile, dec/pl, cbp. Pattern: ^[A-Za-z0-9_/]+$.

vintage
number
required

vintage

Provider reference: minimum 2000; maximum 2035.

cursor
string

cursor

page_size
number
default:20

page_size

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

query
string

Tokens matched against group name/description (when no group is given; the first 5 matching groups are listed) or variable name/label/concept (within a group). Datasets with at most 5 tables (cbp, pep/population) whose descriptions do not match are searched by variable label instead.

Response

List variables of one dataset vintage. Input: dataset path and vintage, plus a group (table id such as B01003 or DP05) and/or a free-text query matched against group descriptions and variable labels. Returns variable name, verbatim label, concept, predicate type, group and the unit phrase the label carries.

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.