H

Healthparse · Prices Stats

by Healthparse

GETBase

$0.005

per call · USD Coin on Base

National price statistics for a billing code (CPT/HCPCS/MS-DRG) from hospital price-transparency files: median and spread of payer-negotiated rates. Answers: what is a fair price for this procedure? Shape varies: a code under one billing_code_type (common case) returns the flat row shown below; a code ambiguous across types instead returns { billing_code, stats_by_type: [...] } — check for a top-level stats_by_type array to tell them apart.

Endpoint

GET https://api.healthparse.io/v1/prices/stats/:code

2

Calls / 30d

2

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.healthparse.io/v1/prices/stats/:code", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.healthparse.io/v1/prices/stats/:code" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "billing_code": "70450",
  "billing_code_type": "CPT",
  "n_hospitals": 952,
  "neg_median": 207,
  "neg_p25": 101.96,
  "neg_p75": 924
}

Payment details

Pay to0x177ea123a35253ba8869a7e21e717978e482351d
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from Healthparse & similar services