REST API · All 50 states

Pharmacy law data for your platform

Programmatic access to pharmacy requirements, regulatory alerts, CE mandates, and more — for all 50 states. No scraping, no maintenance. For PBMs, EHR vendors, healthcare staffing firms, and health systems.

View API pricing Contact us

Monthly billing · API Starter and Growth coming soon as self-serve

# Example request
GET /functions/v1/api-states?state=CA
Authorization: Bearer YOUR_API_KEY
# Returns pharmacy requirements
renewal_cycle_months
cpe_required_hours
otc_naloxone_dispensing
hormonal_contraception_dispensing
immunization_administration_authority
last_verified_at
API endpoints

What the API provides

Granular endpoints for every data type — individual state tabs, CE mandates, alerts, and usage stats.

GET
/api/v1/states

Full pharmacy requirements for any state. Renewal cycle, fees, renewal window timing, MPJE requirement, dispensing authority, compounding rules, and NABP compact membership.

  • state — 2-letter abbreviation (required)
  • provider_type — pharmacist | technician | all (returns all available types for the state)
GET
/api/v1/states/dispensing

Dispensing authority rules for a state. OTC naloxone, hormonal contraceptives, immunizations, telepharmacy, mail order, independent prescribing authority.

  • state — 2-letter abbreviation
GET
/api/v1/states/board-contacts

State board of pharmacy contact information. Phone, fax, email, mailing address, office hours, and online renewal portal URL.

  • state — 2-letter abbreviation
GET
/api/v1/states/compounding

Compounding regulations for a state. USP 795/797/800 requirements, 503A/503B facility types, sterile compounding authority, veterinary compounding, inspection cycle.

  • state — 2-letter abbreviation
GET
/api/v1/states/cs-variances

Controlled substance schedule variances from federal DEA scheduling. State-only scheduled substances, more restrictive schedules, effective dates.

  • state — 2-letter abbreviation (optional — omit for all states)
  • substance — filter by substance name
GET
/api/v1/ce-mandates

Mandatory CE topic requirements. Returns required CE topics, hours, provider type applicability, and renewal cycle. Omit state to get all 50 states in one response (recommended for building CE compliance dashboards).

  • state — 2-letter abbreviation (optional — omit for all states)
  • provider_type — pharmacist | technician | all (default: all)
GET
/api/v1/alerts

Approved pharmacy law alerts. Reviewed by the RxByState research team before publication. Filter by state, severity, or date.

  • state — filter by state (optional)
  • severity — practice_changing | new_rule | informational
  • since — ISO 8601 date
  • limit — max results per page (default: 50, max: 200)
  • page — page number for pagination (default: 1)
GET
/api/v1/states/compare

Returns a diff of pharmacy law between two states — only fields where the states differ are returned, with state_a and state_b values side by side. Covers dispensing authority, CE requirements, CS variances, renewal cycles, and compounding rules.

  • state_a — first state (2-letter abbreviation)
  • state_b — second state (2-letter abbreviation)
GET
/api/v1/states/renewal-windows

License renewal window dates by state — when the renewal period opens and closes relative to expiry. Useful for staffing firms and PBMs to proactively prompt credential renewals before windows close.

  • state — 2-letter abbreviation (optional — omit for all 50 states)
  • provider_type — pharmacist | technician | all
GET
/api/v1/usage

Your API usage statistics. Calls made, quota remaining, and per-endpoint breakdown for the current billing period.

  • period — current | last_30d
  • api_key — specific key to inspect (optional — defaults to calling key)
Who it's for

Built for platforms serving pharmacists

PBMs
Pharmacy benefit managers

Embed state-specific dispensing authority, controlled substance rules, and pharmacist scope of practice data directly into your adjudication and compliance workflows.

EHR / clinical software
Healthcare software vendors

Surface state-specific pharmacist dispensing authority rules inside your clinical workflow — which medications pharmacists can prescribe or dispense independently, by state.

Staffing firms
Healthcare staffing and credentialing

Add pharmacy-specific compliance requirements to your credentialing data — CE mandates, renewal cycles, CS schedule variances — for all 50 states without maintaining your own research team.

Health systems
Health system compliance teams

Build internal compliance dashboards that pull verified state board data — renewal windows, CE requirements, compounding regulations — without manual research or annual data subscriptions.