Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

CDC Query API

The Query API from CDC — 1 operation(s) for query.

CDC Query API is one of 14 APIs that CDC publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Query. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 1 path. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against the base URL https://data.cdc.gov/resource.

2 operations 1 paths 0 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://data.cdc.gov/resource
Resource Areas
1

Paths & Operations 2

Across 1 path, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Query 2
POST
/api/query
A POST endpoint that accepts a FHIR patient resource or an HL7v2 message in the request body to execute a query within the Query Connector
3 params body → 200400500
GET
/api/query
A GET endpoint that accepts a series of query parameters to execute a query within the Query Connector. At least one of the patient identifier params are required
7 params → 200400500

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cdc-query-api-openapi.yml Raw ↑

Other APIs CDC publishes across the network.

CDC WONDER API
CDC Environmental Public Health Tracking Network API
CDC Content Syndication API
PHIN VADS API
CDC app-notifications API
CDC code-systems API
CDC conditions API
CDC configurations API
CDC events API
CDC Query Connector API OpenAPI 3.0 API
CDC releases API
CDC simulator API