Explore the API
Test client
The Blue Button API test client is a quick, no-code-required way to explore data returned from our API endpoints.
Before you begin: If you’re logged in to the sandbox, log out to use the test client.
- Go to the Blue Button API test client.
- Choose a sample authorization token option. Click Authorize as a Beneficiary or Authorize as a Beneficiary (Spanish).
- Log in to Medicare.gov using a synthetic user’s account credentials.
- Click Connect.
Once you’re logged in as a Medicare enrollee, you’ll get an access token and you can make calls to different endpoints and see the sample data that is delivered in the response.
Sample data
If you want to see a sample of the data available in the Blue Button API without authenticating a synthetic user or creating a sandbox account, you can download a sample file. This zip folder of JSON files contains synthetic data for a single Medicare enrollee. The download includes 3 FHIR resources in JSON format:
- A single Patient resource
- A FHIR bundle containing multiple ExplanationOfBenefit resources (EOB)
- A FHIR bundle containing multiple Coverage resources
To learn more about Blue Button API data, refer to Understanding the Data.