GET /api/plans
Medicare Advantage plans
Search and compare plans by ZIP code with premiums, copays, star ratings, and enrollment links.
Developer API
The Pocket Protector API exposes plan, provider, facility, drug, and enrollment-intent data through a REST interface backed by CMS and public regulatory datasets.
Getting started
Use an API key in the X-API-Key header. Keys are issued after registration and every response includes rate-limit status headers.
Base URL https://api.thepocketprotector.com curl -H "X-API-Key: YOUR_KEY" \ https://api.thepocketprotector.com/api/plans?zip=60612
API access is available to approved agents, partner platforms, and internal tools. The registration endpoint returns an API key and emails a copy to the requesting account.
POST /api/agent/register
Endpoints
The old static docs have been converted into native Next content while preserving the same public endpoint coverage.
GET /api/plans
Search and compare plans by ZIP code with premiums, copays, star ratings, and enrollment links.
POST /api/recommendations
Score plans against ZIP code, medications, doctors, priorities, requested benefits, and cost preferences.
GET /api/medigap/rates
Compare Medicare Supplement rates by state, plan letter, pricing type, carrier, age, and tobacco status.
GET /api/pdp/plans
Search standalone Part D plans by state or ZIP with premiums, deductibles, formularies, and pharmacy data.
GET /api/providers
Search CMS physicians, hospitals, and nursing homes with quality scores and location context.
POST /api/leads
Submit enrollment interest for a selected plan while preserving licensing and consumer-protection rules.
Compliance
Agents must use the provided enrollment URLs rather than redirecting consumers to private flows. API responses include dataset freshness fields and rate-limit headers.