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 events API

The events API from CDC — 2 operation(s) for events.

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

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

This API exposes 2 operations across 2 paths, and defines 6 schemas. 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 2 paths 6 schemas 2 GET

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 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

events 2
GET
/api/v1/events/
Get Events
getEvents 2 params → 200422
GET
/api/v1/events/{event_id}/custom-code-uploads
Get Custom Code Upload Events
getCustomCodeUploadEvents 1 param → 200422

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are AuditEvent (8 properties), ValidationError (5 properties), CustomCodeUploadEventResponse (4 properties), EventsResponse (3 properties). Each schema is shown below with its type and property counts.

CustomCodeUploadEventResponse
object
Response model for a custom code upload event.
4 properties 4 required
EventFilterOption
object
Conditions returned to the user to be used for filtering events.
3 properties 3 required
ValidationError
object
5 properties 3 required
HTTPValidationError
object
1 property
AuditEvent
object
An event returned by the DB function.
8 properties 8 required
EventsResponse
object
Response needed for the audit log page.
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cdc-events-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 Query API
CDC Query Connector API OpenAPI 3.0 API
CDC releases API
CDC simulator API