Statistical Agencies

Categories and data types a programme publishes

The categories (industries, construction types, tax types, ...) and data types (sales, inventories, new orders, percent changes, error measures, ...) of one programme, MEASURED from the latest published year, with the adjustments and geographies each category was published with. Labels are curated where the programme documentation is unambiguous; NAICS codes carry the official NAICS title; other codes are served unlabelled.

get/api/v1/census/indicators/{program}/codes

Path parameters

programstring required

Programme code from /census/indicators (marts, resconst, bfs, qtax, ...).

Programme code from /census/indicators (marts, resconst, bfs, qtax, ...).

Query parameters

geostring

US (every programme); NE, MW, SO, WE for resconst, ressales and hv; a state postal code for qtax.

US (every programme); NE, MW, SO, WE for resconst, ressales and hv; a state postal code for qtax.

Response

Categories with their data types, and data types, of one programme.

Example response

{
  "meta": {
    "endpoint": "/api/v1/fred/us/cpi",
    "data_time": "2026-04-16T14:30:00Z",
    "response_time": "2026-04-16T14:30:12Z",
    "provider": "Sugra API v1.0.1",
    "source": "sugra_crypto",
    "attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
    "fallback_chain": [
      "sugra_crypto",
      "sugra_finance"
    ]
  }
}

Changes

Changed in 1 of the 21 revisions of this API.1