POST
/api/v1/power-plants/county-capacity$0.04 USDCSummarize one county: megawatts by status, planned megawatts by year, capacity by technology, balancing authorities, and EIA-861 utilities.
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/county-capacity" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"countyFips": "51107"
}
JSON{
"status": "complete",
"county": "Loudoun County",
"state": "VA",
"countyFips": "51107",
"generatorCount": 4,
"mw": {
"operating": 4.8,
"planned": 150,
"retired": 0,
"canceled": 20
},
"plannedByYear": {
"2026": 150
},
"byTechnology": [
{
"technology": "Solar Photovoltaic",
"operatingMw": 0,
"plannedMw": 100
},
{
"technology": "Batteries",
"operatingMw": 0,
"plannedMw": 50
}
],
"balancingAuthorities": [
"PJM"
],
"utilityDataYear": 2025,
"utilities": [
{
"utilityId": 19876,
"utilityName": "Virginia Electric & Power Co",
"ownership": "Investor Owned",
"state": "VA"
},
{
"utilityId": 13640,
"utilityName": "Northern Virginia Elec Coop",
"ownership": "Cooperative",
"state": "VA"
}
],
"sources": [
{
"source": "EIA-860M Monthly Generator Inventory, October 2026 (Operating, Planned, Retired, Canceled or Postponed sheets)",
"url": "https://www.eia.gov/electricity/data/eia860m/",
"licence": "Public domain (US Government)",
"retrievedAt": "2026-12-03",
"status": "ok"
},
{
"source": "EIA-861 annual survey 2025, Service Territory and Utility Data",
"url": "https://www.eia.gov/electricity/data/eia861/",
"licence": "Public domain (US Government)",
"retrievedAt": "2026-12-03",
"status": "ok"
}
],
"limitations": [
"EIA-860M covers generators of 1 MW or more reported to EIA; it is not a permitting record.",
"Data is a vendored snapshot; the monthly refresh job replaces it. 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.