API · x402

US county health statistics from CDC PLACES - diabetes, obesity, depression, smoking, i…

US county health statistics from CDC PLACES - diabetes, obesity, depression, smoking, insurance and 30+ more measures, or rank a state's counties

by Saylor Innovations Knowledge Base · verified provider · updated 2026-10-26

What it does

US county health statistics from CDC PLACES - diabetes, obesity, depression, smoking, insurance and 30+ more measures, or rank a state's counties

Tags: county health statistics · diabetes rate by county · obesity rate by county · cdc places county data · health indicators by county

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/saylorinnovations-api-health-county-health.json for the price and payment options.
  3. Pay. Call GET https://saylorinnovations.com/api/health/county-health. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC or USDT or SOL on Base, Polygon, Arbitrum One, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Polygon, Arbitrum One, Solana

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa120s
exactPolygon
eip155:137
USDC$0.010xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa120s
exactArbitrum One
eip155:42161
USDC$0.010xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa120s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.017LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7120s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDT$0.017LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7120s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
SOL$0.017LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7120s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 120
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 120
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 120
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 120
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
    "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 120
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
    "asset": "So11111111111111111111111111111111111111112",
    "amount": "95830",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 120
  }
]

Schemas

Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "mode": {
      "type": "string",
      "description": "county (every measure for one county) or ranking (a state's counties for one measure)"
    },
    "state": {
      "type": "string",
      "description": "2-letter state code"
    },
    "state_name": {
      "type": "string",
      "description": "Full state name"
    },
    "year": {
      "type": "number",
      "description": "Survey year the estimates describe"
    },
    "prevalence_type": {
      "type": "string",
      "description": "Age-adjusted prevalence (comparable across counties) or Crude prevalence (raw share)"
    },
    "county": {
      "type": "string",
      "description": "County name as published by the CDC (county mode)"
    },
    "county_fips": {
      "type": "string",
      "description": "5-digit county FIPS code (county mode)"
    },
    "population": {
      "type": [
        "number",
        "null"
      ],
      "description": "County population (county mode)"
    },
    "adult_population": {
      "type": [
        "number",
        "null"
      ],
      "description": "Adults aged 18 and over (county mode)"
    },
    "measure_count": {
      "type": "number",
      "description": "Number of measures returned for the county"
    },
    "measures": {
      "type": "array",
      "description": "One entry per health measure, grouped by category (county mode)",
      "items": {
        "type": "object",
        "properties": {
          "measure_id": {
            "description": "PLACES measure id, usable as the measure filter",
            "type": [
              "string",
              "null"
            ]
          },
          "measure": {
            "description": "What the percentage measures, in plain words",
            "type": [
              "string",
              "null"
            ]
          },
          "category": {
            "description": "Health Outcomes, Prevention, Health Risk Behaviors, Disability, Health Status or Health-Related Social Needs",
            "type": [
              "string",
              "null"
            ]
          },
          "value_percent": {
            "description": "Estimated percent of adults",
            "type": [
              "number",
              "null"
            ]
          },
          "ci_low": {
            "description": "Lower bound of the 95% confidence interval",
            "type": [
              "number",
              "null"
            ]
          },
          "ci_high": {
            "description": "Upper bound of the 95% confidence interval",
            "type": [
              "number",
              "null"
            ]
          }
        }
      }
    },
    "source": {
      "type": "string",
      "description": "Dataset, release and modelling caveat"
    },
    "measure_id": {
      "description": "PLACES measure id that was ranked (ranking mode)"
    },
    "measure": {
      "description": "Plain-language name of the ranked measure (ranking mode)"
    },
    "category": {
      "description": "Category of the ranked measure (ranking mode)"
    },
    "counties_with_data": {
      "description": "Counties in the state with an estimate (ranking mode)"
    },
    "state_median_percent": {
      "description": "Median county value in the state (ranking mode)"
    },
    "highest": {
      "description": "Counties with the highest values, highest first (ranking mode)"
    },
    "lowest": {
      "description": "Counties with the lowest values, lowest first (ranking mode)"
    }
  },
  "required": [
    "mode",
    "state",
    "year",
    "source"
  ]
}
Example shape — generated from the schema, not a captured live response
{
  "mode": "string",
  "state": "string",
  "state_name": "string",
  "year": 0,
  "prevalence_type": "string",
  "county": "string",
  "county_fips": "string",
  "population": 0,
  "adult_population": 0,
  "measure_count": 0,
  "measures": [
    {
      "measure_id": "string",
      "measure": "string",
      "category": "string",
      "value_percent": 0,
      "ci_low": 0,
      "ci_high": 0
    }
  ],
  "source": "string",
  "measure_id": null,
  "measure": null,
  "category": null,
  "counties_with_data": null,
  "state_median_percent": null,
  "highest": null,
  "lowest": null
}

Examples

curl
curl "https://saylorinnovations.com/api/health/county-health"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://saylorinnovations.com/api/health/county-health");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://saylorinnovations.com/api/health/county-health")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
Saylor Innovations Knowledge Base
Endpoint
https://saylorinnovations.com/api/health/county-health
Side effects
Paid calls settle the advertised payment; see the provider contract for execution behavior.
Machine-readable
/resources/saylorinnovations-api-health-county-health.json