US Census Bureau CPS API

Current Population Survey basic monthly and supplements

Operations 1

GET /{vintage}/cps/basic/{month} Get CPS Basic Monthly Microdata #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/us-census-bureau-cps-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

us-census-bureau-cps-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Census Microdata CPS API
  description: 'The Census Microdata API tabulates and queries record-level Public Use

    Microdata Sample (PUMS) data from the American Community Survey, Current

    Population Survey, and Survey of Income and Program Participation.


    Microdata queries use the same `/data/{vintage}/{dataset}` URL family as

    the aggregate Census Data API but accept the `tabulate=`, `show=`,

    `recode=`, and `wt=` parameters to produce on-the-fly custom tabulations.

    '
  version: '2026-05-25'
  contact:
    name: Census Bureau Microdata Access
    url: https://www.census.gov/data/developers/guidance/microdata-api-user-guide.html
  license:
    name: Creative Commons Zero 1.0 (Public Domain)
    url: https://creativecommons.org/publicdomain/zero/1.0/
  termsOfService: https://www.census.gov/data/developers/about/terms-of-service.html
servers:
- url: https://api.census.gov/data
  description: Census Data API production base
security:
- ApiKeyQuery: []
tags:
- name: CPS
  description: Current Population Survey basic monthly and supplements
paths:
  /{vintage}/cps/basic/{month}:
    get:
      summary: Get CPS Basic Monthly Microdata
      description: Current Population Survey basic monthly microdata for the given vintage and month.
      operationId: getCpsBasic
      tags:
      - CPS
      parameters:
      - $ref: '#/components/parameters/VintagePath'
      - name: month
        in: path
        required: true
        description: Three-letter month code (`jan`, `feb`, etc.).
        schema:
          type: string
          enum:
          - jan
          - feb
          - mar
          - apr
          - may
          - jun
          - jul
          - aug
          - sep
          - oct
          - nov
          - dec
      - $ref: '#/components/parameters/GetParam'
      - $ref: '#/components/parameters/ForParam'
      - $ref: '#/components/parameters/KeyParam'
      responses:
        '200':
          description: CPS basic monthly result set
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataMatrix'
components:
  parameters:
    VintagePath:
      name: vintage
      in: path
      required: true
      schema:
        type: string
    GetParam:
      name: get
      in: query
      required: true
      description: Comma-separated list of variables to retrieve.
      schema:
        type: string
    ForParam:
      name: for
      in: query
      required: false
      schema:
        type: string
    KeyParam:
      name: key
      in: query
      required: true
      schema:
        type: string
  schemas:
    DataMatrix:
      type: array
      items:
        type: array
        items:
          type: string
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: key