Skip to content

Plan Search

GET /v1/health/plans

Search for ACA health plans by ZIP code, age, and optional filters. Returns a paginated HAL collection with premiums calculated for the requested age.

ParameterTypeDescription
zipstring5-digit US ZIP code
ageintegerEnrollee age (14-65)
ParameterTypeTierDescription
metal_levelstringFreeFilter: catastrophic, bronze, silver, gold, platinum
plan_typestringFreeFilter: hmo, ppo, epo, pos
yearintegerFreePlan year (default: 2026)
page_sizeintegerFreeResults per page (1-100, default: 20)
cursorstringFreeCursor for next page
issuerstringProFilter by issuer name (partial match)
hsa_eligiblebooleanProFilter HSA-eligible plans only
max_premiumnumberProMaximum monthly premium
max_deductiblenumberProMaximum annual deductible
sortstringProSort field (default: premium)
orderstringProSort order: asc or desc
incomenumberProHousehold income for APTC
household_sizeintegerProHousehold size for APTC
Terminal window
curl -H "Authorization: Bearer op_YOUR_API_KEY_HERE" \
"https://api.opelyx.com/v1/health/plans?zip=90210&age=30&metal_level=silver"

Results are paginated using cursor-based pagination. The _links.next field contains the URL for the next page:

{
"_links": {
"self": { "href": "https://api.opelyx.com/v1/health/plans?zip=90210&age=30" },
"next": { "href": "https://api.opelyx.com/v1/health/plans?zip=90210&age=30&cursor=eyJpZCI6MTAwfQ" }
}
}

See the Pagination guide for details on cursor-based traversal.