Prerequisites
Before you begin, you’ll need:- An API key from Penelope (contact us at [email protected])
- A tool to make HTTP requests (curl, Postman, or your preferred language)
Step 1: Authenticate
All Penelope API requests require authentication via thex-api-key header.
200 response. See the Authentication docs for error handling and security best practices.
Step 2: List Available Plans
Find insurance plans you want to query. Plans can be filtered by type (commercial, medicare_advantage, medicaid, etc.) and payer.
plan_id values—you’ll use these to filter policy queries.
List Plans API
View all filtering options and response fields
Step 3: Query Policies by Medical Codes
Find policies related to specific CPT, HCPCS, or ICD-10-CM codes. This is the primary way to check coverage for a procedure or diagnosis.Filtering by Coverage Type
Use theedge_types parameter to filter by relationship type:
COVERS— policy explicitly covers the codeDOES_NOT_COVER— policy explicitly excludes the codeREFERENCES— code is mentioned but coverage isn’t explicit
List Policies API
Full documentation for code-based policy queries
Step 4: Search Policies by Keywords
For exploratory research when you don’t have specific codes, use full-text search across policy titles and summaries.applicability field shows which payers and plan types this policy applies to. Combine with plan_ids to scope the search to specific plans. Set "include_code_groups": true to get associated codes.
List Policies API
Use the
q parameter for full-text search across policy titles and summariesStep 5: Download Policy Files
Once you’ve found a relevant policy, download the full document (PDF or HTML) using the policy’snode_id.
Download Policy API
Get temporary download links for policy documents
