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

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

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

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

This API exposes 1 operation across 1 path, and defines 3 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.

1 operations 1 paths 3 schemas 1 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 1

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

user 1
GET
/api/user
Get User
getUser → 200

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are UserResponse (4 properties), NotificationsToRender (1 property). Each schema is shown below with its type and property counts.

NotificationKeys
string
Enum class to type the values of the notifications possible for actioning on the frontend.
NotificationsToRender
object
Map of booleans for each of the notificaiton keys as to whether to render frontend banners.
1 property 1 required
UserResponse
object
User information to send to the client.
4 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

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