POST
/api/v1/power-plants/counties$0.005 USDCResolve a county name such as Loudoun or Licking OH to its 5-digit FIPS code with state, centroid latitude and longitude, and land area from the Census Gazetteer.
An unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
curl -i -X POST "https://www.brainiac.software/api/v1/power-plants/counties" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"query": "Licking OH",
"limit": 5
}
JSON{
"status": "complete",
"total": 1,
"counties": [
{
"countyFips": "39089",
"name": "Licking County",
"state": "OH",
"lat": 40.0911,
"lon": -82.4832,
"landSqMi": 682.4
}
],
"sources": [
{
"source": "US Census Bureau 2026 Gazetteer, counties",
"url": "https://www2.census.gov/geo/docs/maps-data/data/gazetteer/2026_Gazetteer/2026_Gaz_counties_national.zip",
"licence": "Public domain (US Government)",
"retrievedAt": "2026-12-03",
"status": "ok"
}
],
"limitations": [
"County list is the Census Gazetteer snapshot; the current snapshot is a sample of counties, not national coverage."
]
}HTTP 4xx/5xx are not charged. HTTP 2xx with status complete or partial and real data is charged; status failed or empty payloads return non-2xx and are not charged.
Lookups read vendored snapshots in data/power-plants; no EIA or Census endpoint is called at request time. EIA-860M covers generators of 1 MW or more reported to EIA; it is not a permitting record. EIA-861 Service Territory lists reporting utilities per county, not service boundaries or customer counts.