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

CMS Open Payments Metastore API

DCAT-US dataset catalog and metadata.

CMS Open Payments Metastore API is one of 5 APIs that CMS Open Payments publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against a single base URL, https://openpaymentsdata.cms.gov/api/1.

2 operations 2 paths 3 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://openpaymentsdata.cms.gov/api/1
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.

Metastore 2

DCAT-US dataset catalog and metadata.

GET
/metastore/schemas/dataset/items
List all datasets
listDatasets 2 params → 200
GET
/metastore/schemas/dataset/items/{datasetId}
Get one dataset's metadata
getDataset 2 params → 200404

Schemas 3

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

Dataset
object
DCAT-US dataset metadata.
6 properties
Distribution
object
A downloadable / queryable resource within a dataset.
4 properties
Error
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

open-payments-metastore-api-openapi.yml Raw ↑

Other APIs CMS Open Payments publishes across the network.

CMS Open Payments Datastore Query API
CMS Open Payments Datastore SQL API
CMS Open Payments Download API
CMS Open Payments Search API