Skip to content

Healthcare.gov API

by healthcare.gov

No authHTTPSHealth
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
Spec updated
2021-01-25

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://www.healthcare.gov/api/articlesMEDIATYPEEXTENSION" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://www.healthcare.gov/api/articlesMEDIATYPEEXTENSION", {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://www.healthcare.gov/api/articlesMEDIATYPEEXTENSION",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat 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.

Compare alternatives →

Listed from public-apis (MIT), public-apis database (MIT), Free Public APIs, APIs.guru (CC0).