eHR Labs Legislative Intelligence API

Professional Legislative Data Platform

Quick Reference

Base URL
https://ehrlabs.co/api/v1
Authentication

Include your API key in the Authorization header:

Authorization: Bearer your-api-key-here
Coverage & Scale
  • 57 Complete Jurisdictions
  • 15,802+ Legislative Bills
  • Advanced Search
  • Enterprise Grade

Bills API - Legislative Data Access

GET /api/v1/bills

Retrieve legislative bills with advanced filtering and search.

Example Request:
curl -H "Authorization: Bearer your-api-key" \
  "https://ehrlabs.co/api/v1/bills?jurisdiction=CA&search=healthcare&limit=10"
GET /api/v1/bills/{bill_id}

Get detailed information for a specific bill.

Example Request:
curl -H "Authorization: Bearer your-api-key" \
  "https://ehrlabs.co/api/v1/bills/123e4567-e89b-12d3-a456-426614174000"
POST /api/v1/bills/search/advanced

Advanced search with complex filtering and relevance scoring.

Example Request:
curl -X POST -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{"query":"healthcare reform","jurisdictions":["CA","NY","US"]}' \
  "https://ehrlabs.co/api/v1/bills/search/advanced"

Support & Resources

Getting Help