B2B API

Healthcare Data API

Access 9M+ providers and real-time self-pay pricing through a single endpoint

Quick Start

1

Get API Key

Sign up free and get your key instantly

2

Add Header

Include x-api-key in your requests

3

Search Providers

POST a query and location to get providers with pricing

curl -X POST "https://sytjhslzedcesudozwwm.supabase.co/functions/v1/widget-search" \
  -H "x-api-key: your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"query": "family doctor", "location": "90210"}'

Endpoint

POST
https://sytjhslzedcesudozwwm.supabase.co/functions/v1/widget-search

Search healthcare providers by query and location. Returns providers with self-pay pricing estimates.

Request Body (JSON)

FieldTypeRequiredDescription
querystringYesSearch term (e.g., "family doctor", "MRI", "dentist")
locationstringYesZIP code or city name
api_keystringAltAlternative to x-api-key header

Example Request

POST https://sytjhslzedcesudozwwm.supabase.co/functions/v1/widget-search
Content-Type: application/json
x-api-key: your_key_here

{
  "query": "family doctor",
  "location": "90210"
}

Example Response

{
  "providers": [
    {
      "provider_name": "Dr. Sarah Chen",
      "specialty": "Family Medicine",
      "city": "Beverly Hills",
      "state": "CA",
      "price_low": 85,
      "price_mid": 145,
      "price_high": 220,
      "source": "cms_transparency"
    },
    {
      "provider_name": "Pacific Family Health",
      "specialty": "Family Practice",
      "city": "Los Angeles",
      "state": "CA",
      "price_low": 95,
      "price_mid": 160,
      "price_high": 250,
      "source": "payer_negotiated"
    }
  ],
  "total": 47,
  "radius_miles": 25
}

Code Examples

curl -X POST "https://sytjhslzedcesudozwwm.supabase.co/functions/v1/widget-search" \
  -H "x-api-key: your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"query": "family doctor", "location": "90210"}'

Authentication

All requests require an API key. Pass it via the x-api-key header or in the request body as api_key.

// Header (recommended)
x-api-key: fvh_live_abc123...

// Or in request body
{ "query": "dentist", "location": "10001", "api_key": "fvh_live_abc123..." }

Keys are prefixed with fvh_live_ (production) or fvh_test_ (sandbox).

Rate Limits

TierRequests/DayPrice
Free100$0
Basic1,000$99/mo
Pro10,000$499/mo
Enterprise100,000+Custom

Rate Limit Headers

Every response includes these headers to help you manage usage:

HeaderDescriptionExample
X-RateLimit-LimitMax requests per day for your tier1000
X-RateLimit-RemainingRequests remaining in current window847
X-RateLimit-ResetUnix timestamp when the limit resets1709337600

Example response headers:

HTTP/1.1 200 OK
Content-Type: application/json
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 847
X-RateLimit-Reset: 1709337600

When you exceed your limit, the API returns 429 Too Many Requests. Upgrade your tier or wait until the reset time.

API Pricing

Free

$0
100/day requests
  • Provider search
  • Price lookups
  • Community support
Get Free API Key
Most Popular

Basic

$99/mo
1,000/day requests
  • All Free features
  • Priority queue
  • Email support
  • Usage dashboard
Start Basic

Pro

$499/mo
10,000/day requests
  • All Basic features
  • Priority support
  • Bulk endpoints
  • SLA guarantee
Start Pro

Enterprise

Custom
100,000+/day requests
  • All Pro features
  • Dedicated support
  • White-label options
  • Custom integrations
Contact Sales