Open documentation ↗Overview
Educational content about the US Health Insurance Marketplace
Healthcare.gov is a health API from healthcare.gov. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 16 endpoints.
At a glance
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Health
- Base URL
https://www.healthcare.gov- Version
- 1.0.0
- Endpoints
- 16
- OpenAPI
- Specification ↗
- Spec updated
- 2021-01-25
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://www.healthcare.gov/api/articlesMEDIATYPEEXTENSION" \
-H "Accept: application/json"const response = await fetch("https://www.healthcare.gov/api/articlesMEDIATYPEEXTENSION", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://www.healthcare.gov/api/articlesMEDIATYPEEXTENSION",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /api/articles{mediaTypeExtension} | Returns pages content. |
| GET | /api/blog{mediaTypeExtension} | Returns pages content. |
| GET | /api/glossary{mediaTypeExtension} | Returns pages content. |
| GET | /api/questions{mediaTypeExtension} | Returns pages content. |
| GET | /api/states{mediaTypeExtension} | Returns pages content. |
| GET | /api/topics{mediaTypeExtension} | Returns pages content. |
| GET | /blog/{pageName}{mediaTypeExtension} | Returns pages content. |
| GET | /es/blog/{pageName}{mediaTypeExtension} | Returns pages content. |
| GET | /es/glossary/{pageName}{mediaTypeExtension} | Returns pages content. |
| GET | /es/question/{pageName}{mediaTypeExtension} | Returns pages content. |
| GET | /es/{pageName}{mediaTypeExtension} | Returns pages content. |
| GET | /es/{stateName}{mediaTypeExtension} | Returns pages content. |
| GET | /glossary/{pageName}{mediaTypeExtension} | Returns pages content. |
| GET | /question/{pageName}{mediaTypeExtension} | Returns pages content. |
| GET | /{pageName}{mediaTypeExtension} | Returns pages content. |
| GET | /{stateName}{mediaTypeExtension} | Returns pages content. |
Questions
Does the Healthcare.gov API need an API key?
No. The Healthcare.gov API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the Healthcare.gov API support HTTPS?
Yes, the Healthcare.gov API is served over HTTPS.
How many endpoints does the Healthcare.gov API have?
Its OpenAPI description lists 16 endpoints in version 1.0.0. All of them are shown on this page.
What are alternatives to the Healthcare.gov API?
Other Health APIs include openFDA, Covid-19 Government Response, FoodData Central, NPPES, MedlinePlus Genetics.
Similar health APIs
Compare alternatives →openFDA
HealthPublic FDA data about drugs, devices and foods
Covid-19 Government Response
HealthGovernment measures tracker to fight against the Covid-19 pandemic
FoodData Central
HealthNational Nutrient Database for Standard Reference
NPPES
HealthNational Plan & Provider Enumeration System, info on healthcare providers registered in US
MedlinePlus Genetics
HealthGenetic conditions, genes, chromosomes and mtDNA data
CMS.gov
HealthAccess to the data from the CMS - medicare.gov
Listed from public-apis (MIT), public-apis database (MIT), Free Public APIs, APIs.guru (CC0).