CMS Blue Button 2.0 · Authentication Profile

Cms Blue Button Authentication

Authentication

CMS Blue Button 2.0 secures its APIs with oauth2 across 1 declared security scheme, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode flow(s).

Blue ButtonCARINMedicareFHIRClaims DataPatient AccessHealthcareGovernment
Methods: oauth2 Schemes: 1 OAuth flows: authorizationCode API key in:

Security Schemes

oauth2 oauth2
· flows: authorizationCode

Source

Authentication Profile

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/cms-blue-button-openapi.yml
summary:
  types:
  - oauth2
  oauth2_flows:
  - authorizationCode
schemes:
- name: oauth2
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://api.bluebutton.cms.gov/v2/o/authorize/
    tokenUrl: https://api.bluebutton.cms.gov/v2/o/token/
    scopes: 6
  description: OAuth 2.0 authorization-code flow with mandatory PKCE (S256 only). Beneficiaries
    log in with their Medicare.gov credentials and choose whether to share demographic data.
    Access tokens expire after 1 hour. One-time-use refresh tokens are issued only to approved
    13-month and research application types. Sandbox uses https://sandbox.bluebutton.cms.gov/v2/o/authorize/
    and https://sandbox.bluebutton.cms
  sources:
  - openapi/cms-blue-button-openapi.yml

Work with this as data

Every security artifact 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 security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • 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 security artifact
curl "https://apis.io/api/v1/security/cms-blue-button-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

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

Get an API key

Free tier, no email required.

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