{"openapi":"3.1.0","info":{"title":"Power Plants API","version":"1.0.0","description":"Find US power plants, generators including planned projects, county capacity totals, and county electric utilities from vendored EIA-860M and EIA-861 snapshots, and resolve county names to FIPS codes. No account or API key needed for pay-as-you-go calls; sign in for a monthly free quota.","contact":{"email":"support@brainiac.software"},"x-discovery":{"ownershipProofs":["0xc756d68bad9103556337c433239fa248983c66b137cb377070f3e54f4659fb5802c17f6f23a175230ab96cba82594acc89e3c78c9a0967e4b528952f5f0c05031c"]},"x-guidance":"BRAINIAC.software is a pay-per-call API for software agents. No account or API key needed for pay-as-you-go calls; sign in for a monthly free quota.\nThis root OpenAPI is a token-light discovery index. Full request/response schemas and examples are at /api/{group}/openapi.json; x-api-groups lists every group URL.\nPayment uses x402 with exact USDC on Base (8453). Unpaid GET/HEAD/POST return 402 payment terms for discovery.\nHow to call: POST JSON → verify payTo/asset/network against /api/v1/catalog and /.well-known/x402 → pay and retry with payment-signature. Settlement only on HTTP 2xx.\nIdempotency-Key: 64 hex chars. Coverage HTTP 2xx with status complete|partial and real data is charged; failed or empty results are not charged. Free lookup: GET /api/v1/results/{result_id}.\nOutputs are drafts for human review - not official determinations or legal advice."},"servers":[{"url":"https://www.brainiac.software"}],"paths":{"/api/v1/power-plants/generators":{"post":{"operationId":"power_plants_generators","summary":"List power plant generators","description":"Search EIA-860M generators in a state by county name or FIPS, inventory status (operating, planned, retired, canceled), technology, energy source, minimum nameplate MW, planned operation year range, and balancing Docs: https://www.brainiac.software/api/power-plants/generators","externalDocs":{"url":"https://www.brainiac.software/api/power-plants/generators"},"tags":["power-plants","energy","eia","county","before you map generators in a county or state","state","countyFips","status","technology","energySource","plannedYearFrom","List power plant generators","power plants generators"],"x-keywords":["before you map generators in a county or state","state","countyFips","status","technology","energySource","plannedYearFrom","List power plant generators","power plants generators"],"x-empty-json-probe":false,"x-probe-body":{"state":"VA","county":"Loudoun","status":["planned"],"limit":50},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"state":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Za-z]{2}$"},"county":{"type":"string","minLength":1,"maxLength":100},"countyFips":{"type":"string","pattern":"^\\d{5}$"},"status":{"default":["operating","planned","retired","canceled"],"minItems":1,"type":"array","items":{"type":"string","enum":["operating","planned","retired","canceled"]}},"technology":{"type":"string","minLength":1,"maxLength":100},"energySource":{"type":"string","minLength":1,"maxLength":10},"minMw":{"type":"number","minimum":0},"plannedYearFrom":{"type":"integer","minimum":1900,"maximum":2100},"plannedYearTo":{"type":"integer","minimum":1900,"maximum":2100},"balancingAuthority":{"type":"string","minLength":1,"maxLength":20},"limit":{"default":100,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","minLength":1,"maxLength":20}},"required":["state"],"additionalProperties":false},"example":{"state":"VA","county":"Loudoun","status":["planned"],"limit":50}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"state":{"type":"string"},"countyFips":{"type":"string"},"total":{"type":"number"},"generators":{"type":"array","items":{"type":"object","properties":{"plantId":{"type":"number"},"plantName":{"type":"string"},"generatorId":{"type":"string"},"entityId":{"type":"number"},"entityName":{"type":"string"},"state":{"type":"string"},"county":{"type":"string"},"countyFips":{"type":"string"},"balancingAuthority":{"type":"string"},"sector":{"type":"string"},"inventory":{"type":"string"},"statusText":{"type":"string"},"nameplateMw":{"type":"number"},"summerMw":{"type":"number"},"winterMw":{"type":"number"},"technology":{"type":"string"},"energySource":{"type":"string"},"primeMover":{"type":"string"},"plannedOperation":{"type":"string"},"lat":{"type":"number"},"lon":{"type":"number"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","state":"VA","countyFips":"51107","total":2,"generators":[{"plantId":65043,"plantName":"Dulles Solar and Storage","generatorId":"DUSO","entityId":5248,"entityName":"Dominion Energy Inc.","state":"VA","county":"Loudoun","countyFips":"51107","balancingAuthority":"PJM","sector":"Electric Utility","inventory":"planned","statusText":"(V) Under construction, more than 50 percent complete","nameplateMw":100,"summerMw":100,"winterMw":100,"technology":"Solar Photovoltaic","energySource":"SUN","primeMover":"PV","plannedOperation":"2026-12","lat":38.95,"lon":-77.5},{"plantId":65043,"plantName":"Dulles Solar and Storage","generatorId":"DUST","entityId":5248,"entityName":"Dominion Energy Inc.","state":"VA","county":"Loudoun","countyFips":"51107","balancingAuthority":"PJM","sector":"Electric Utility","inventory":"planned","statusText":"(V) Under construction, more than 50 percent complete","nameplateMw":50,"summerMw":50,"winterMw":50,"technology":"Batteries","energySource":"MWH","primeMover":"BA","plannedOperation":"2026-12","lat":38.95,"lon":-77.5}],"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"}],"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."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/power-plants/generator":{"post":{"operationId":"power_plants_generator","summary":"Look up a power plant generator","description":"Return one EIA-860M generator by plantId and generatorId with its nameplate, summer and winter capacity, technology, energy source, status text, and every inventory sheet it appears in. Docs: https://www.brainiac.software/api/power-plants/generator","externalDocs":{"url":"https://www.brainiac.software/api/power-plants/generator"},"tags":["power-plants","energy","eia","county","before you cite one generator","plantId","generatorId","inventories","Look up a power plant generator","power plants generator"],"x-keywords":["before you cite one generator","plantId","generatorId","inventories","Look up a power plant generator","power plants generator"],"x-empty-json-probe":false,"x-probe-body":{"plantId":65043,"generatorId":"DUSO"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"plantId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"generatorId":{"type":"string","minLength":1,"maxLength":20}},"required":["plantId","generatorId"],"additionalProperties":false},"example":{"plantId":65043,"generatorId":"DUSO"}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"plantId":{"type":"number"},"generatorId":{"type":"string"},"generator":{"type":"object","properties":{"plantId":{"type":"number"},"plantName":{"type":"string"},"generatorId":{"type":"string"},"entityId":{"type":"number"},"entityName":{"type":"string"},"state":{"type":"string"},"county":{"type":"string"},"countyFips":{"type":"string"},"balancingAuthority":{"type":"string"},"sector":{"type":"string"},"inventory":{"type":"string"},"statusText":{"type":"string"},"nameplateMw":{"type":"number"},"summerMw":{"type":"number"},"winterMw":{"type":"number"},"technology":{"type":"string"},"energySource":{"type":"string"},"primeMover":{"type":"string"},"plannedOperation":{"type":"string"},"lat":{"type":"number"},"lon":{"type":"number"}},"additionalProperties":true},"inventories":{"type":"array","items":{"type":"object","properties":{"inventory":{"type":"string"},"statusText":{"type":"string"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","plantId":65043,"generatorId":"DUSO","generator":{"plantId":65043,"plantName":"Dulles Solar and Storage","generatorId":"DUSO","entityId":5248,"entityName":"Dominion Energy Inc.","state":"VA","county":"Loudoun","countyFips":"51107","balancingAuthority":"PJM","sector":"Electric Utility","inventory":"planned","statusText":"(V) Under construction, more than 50 percent complete","nameplateMw":100,"summerMw":100,"winterMw":100,"technology":"Solar Photovoltaic","energySource":"SUN","primeMover":"PV","plannedOperation":"2026-12","lat":38.95,"lon":-77.5},"inventories":[{"inventory":"planned","statusText":"(V) Under construction, more than 50 percent complete"}],"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"}],"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."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/power-plants/plants":{"post":{"operationId":"power_plants_plants","summary":"List power plants","description":"List power plants in a state, optionally narrowed to a county, balancing authority, or inventory status, with owner, location, megawatts by status, and technologies. Docs: https://www.brainiac.software/api/power-plants/plants","externalDocs":{"url":"https://www.brainiac.software/api/power-plants/plants"},"tags":["power-plants","energy","eia","county","before you list plants in a county","state","countyFips","balancingAuthority","status","mwByStatus","List power plants","power plants plants"],"x-keywords":["before you list plants in a county","state","countyFips","balancingAuthority","status","mwByStatus","List power plants","power plants plants"],"x-empty-json-probe":false,"x-probe-body":{"state":"OH","county":"Licking","status":["operating","planned"],"limit":20},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"state":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Za-z]{2}$"},"county":{"type":"string","minLength":1,"maxLength":100},"countyFips":{"type":"string","pattern":"^\\d{5}$"},"status":{"default":["operating","planned","retired","canceled"],"minItems":1,"type":"array","items":{"type":"string","enum":["operating","planned","retired","canceled"]}},"balancingAuthority":{"type":"string","minLength":1,"maxLength":20},"limit":{"default":100,"type":"integer","minimum":1,"maximum":500}},"required":["state"],"additionalProperties":false},"example":{"state":"OH","county":"Licking","status":["operating","planned"],"limit":20}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"state":{"type":"string"},"total":{"type":"number"},"plants":{"type":"array","items":{"type":"object","properties":{"plantId":{"type":"number"},"plantName":{"type":"string"},"entityName":{"type":"string"},"state":{"type":"string"},"county":{"type":"string"},"countyFips":{"type":"string"},"balancingAuthority":{"type":"string"},"lat":{"type":"number"},"lon":{"type":"number"},"mwByStatus":{"type":"object","properties":{"operating":{"type":"number"},"planned":{"type":"number"},"retired":{"type":"number"},"canceled":{"type":"number"}},"additionalProperties":true},"technologies":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","state":"OH","total":3,"plants":[{"plantId":66210,"plantName":"Frasier Solar","entityName":"Frasier Solar LLC","state":"OH","county":"Licking","countyFips":"39089","balancingAuthority":"PJM","lat":40.08,"lon":-82.55,"mwByStatus":{"operating":0,"planned":350,"retired":0,"canceled":0},"technologies":["Solar Photovoltaic"]},{"plantId":66211,"plantName":"Frasier Solar","entityName":"Frasier Solar LLC","state":"OH","county":"Licking","countyFips":"39089","balancingAuthority":"PJM","lat":40.08,"lon":-82.55,"mwByStatus":{"operating":0,"planned":120,"retired":0,"canceled":0},"technologies":["Batteries"]}],"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"}],"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."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/power-plants/plant":{"post":{"operationId":"power_plants_plant","summary":"Look up a power plant","description":"Return one power plant by plantId with its owner, location, megawatts by status, and every generator row in the vendored EIA-860M snapshot. Docs: https://www.brainiac.software/api/power-plants/plant","externalDocs":{"url":"https://www.brainiac.software/api/power-plants/plant"},"tags":["power-plants","energy","eia","county","before you cite one power plant","plantId","plant","generators","mwByStatus","Look up a power plant","power plants plant"],"x-keywords":["before you cite one power plant","plantId","plant","generators","mwByStatus","Look up a power plant","power plants plant"],"x-empty-json-probe":false,"x-probe-body":{"plantId":65043},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"plantId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["plantId"],"additionalProperties":false},"example":{"plantId":65043}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"plantId":{"type":"number"},"plant":{"type":"object","properties":{"plantName":{"type":"string"},"entityId":{"type":"number"},"entityName":{"type":"string"},"state":{"type":"string"},"county":{"type":"string"},"countyFips":{"type":"string"},"balancingAuthority":{"type":"string"},"sector":{"type":"string"},"lat":{"type":"number"},"lon":{"type":"number"},"mwByStatus":{"type":"object","properties":{"operating":{"type":"number"},"planned":{"type":"number"},"retired":{"type":"number"},"canceled":{"type":"number"}},"additionalProperties":true}},"additionalProperties":true},"generators":{"type":"array","items":{"type":"object","properties":{"plantId":{"type":"number"},"plantName":{"type":"string"},"generatorId":{"type":"string"},"entityId":{"type":"number"},"entityName":{"type":"string"},"state":{"type":"string"},"county":{"type":"string"},"countyFips":{"type":"string"},"balancingAuthority":{"type":"string"},"sector":{"type":"string"},"inventory":{"type":"string"},"statusText":{"type":"string"},"nameplateMw":{"type":"number"},"summerMw":{"type":"number"},"winterMw":{"type":"number"},"technology":{"type":"string"},"energySource":{"type":"string"},"primeMover":{"type":"string"},"plannedOperation":{"type":"string"},"lat":{"type":"number"},"lon":{"type":"number"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","plantId":65043,"plant":{"plantName":"Dulles Solar and Storage","entityId":5248,"entityName":"Dominion Energy Inc.","state":"VA","county":"Loudoun","countyFips":"51107","balancingAuthority":"PJM","sector":"Electric Utility","lat":38.95,"lon":-77.5,"mwByStatus":{"operating":0,"planned":150,"retired":0,"canceled":0}},"generators":[{"plantId":65043,"plantName":"Dulles Solar and Storage","generatorId":"DUSO","entityId":5248,"entityName":"Dominion Energy Inc.","state":"VA","county":"Loudoun","countyFips":"51107","balancingAuthority":"PJM","sector":"Electric Utility","inventory":"planned","statusText":"(V) Under construction, more than 50 percent complete","nameplateMw":100,"summerMw":100,"winterMw":100,"technology":"Solar Photovoltaic","energySource":"SUN","primeMover":"PV","plannedOperation":"2026-12","lat":38.95,"lon":-77.5},{"plantId":65043,"plantName":"Dulles Solar and Storage","generatorId":"DUST","entityId":5248,"entityName":"Dominion Energy Inc.","state":"VA","county":"Loudoun","countyFips":"51107","balancingAuthority":"PJM","sector":"Electric Utility","inventory":"planned","statusText":"(V) Under construction, more than 50 percent complete","nameplateMw":50,"summerMw":50,"winterMw":50,"technology":"Batteries","energySource":"MWH","primeMover":"BA","plannedOperation":"2026-12","lat":38.95,"lon":-77.5}],"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"}],"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."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/power-plants/county-capacity":{"post":{"operationId":"power_plants_county_capacity","summary":"Summarize county generating capacity","description":"Summarize one county: megawatts by status, planned megawatts by year, capacity by technology, balancing authorities, and EIA-861 utilities. Docs: https://www.brainiac.software/api/power-plants/county-capacity","externalDocs":{"url":"https://www.brainiac.software/api/power-plants/county-capacity"},"tags":["power-plants","energy","eia","county","before you start a county grid or data-center permitting dossier","countyFips","mw","plannedByYear","byTechnology","utilities","Summarize county generating capacity","power plants county capacity"],"x-keywords":["before you start a county grid or data-center permitting dossier","countyFips","mw","plannedByYear","byTechnology","utilities","Summarize county generating capacity","power plants county capacity"],"x-empty-json-probe":false,"x-probe-body":{"countyFips":"51107"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"countyFips":{"type":"string","pattern":"^\\d{5}$"},"state":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Za-z]{2}$"},"county":{"type":"string","minLength":1,"maxLength":100}},"additionalProperties":false,"minProperties":1},"example":{"countyFips":"51107"}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"county":{"type":"string"},"state":{"type":"string"},"countyFips":{"type":"string"},"generatorCount":{"type":"number"},"mw":{"type":"object","properties":{"operating":{"type":"number"},"planned":{"type":"number"},"retired":{"type":"number"},"canceled":{"type":"number"}},"additionalProperties":true},"plannedByYear":{"type":"object","properties":{"2026":{"type":"number"}},"additionalProperties":true},"byTechnology":{"type":"array","items":{"type":"object","properties":{"technology":{"type":"string"},"operatingMw":{"type":"number"},"plannedMw":{"type":"number"}},"additionalProperties":true}},"balancingAuthorities":{"type":"array","items":{"type":"string"}},"utilityDataYear":{"type":"number"},"utilities":{"type":"array","items":{"type":"object","properties":{"utilityId":{"type":"number"},"utilityName":{"type":"string"},"ownership":{"type":"string"},"state":{"type":"string"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"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."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.04"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/power-plants/county-utilities":{"post":{"operationId":"power_plants_county_utilities","summary":"List county electric utilities","description":"List the electric utilities that report service in a county from the EIA-861 Service Territory file, with utility id, name, ownership type, and data year. Docs: https://www.brainiac.software/api/power-plants/county-utilities","externalDocs":{"url":"https://www.brainiac.software/api/power-plants/county-utilities"},"tags":["power-plants","energy","eia","county","before you contact the utility serving a county","countyFips","state","dataYear","utilities","List county electric utilities","power plants county utilities"],"x-keywords":["before you contact the utility serving a county","countyFips","state","county","dataYear","utilities","List county electric utilities","power plants county utilities"],"x-empty-json-probe":false,"x-probe-body":{"state":"OH","county":"Licking"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"countyFips":{"type":"string","pattern":"^\\d{5}$"},"state":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Za-z]{2}$"},"county":{"type":"string","minLength":1,"maxLength":100}},"additionalProperties":false,"minProperties":1},"example":{"state":"OH","county":"Licking"}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"county":{"type":"string"},"state":{"type":"string"},"countyFips":{"type":"string"},"dataYear":{"type":"number"},"total":{"type":"number"},"utilities":{"type":"array","items":{"type":"object","properties":{"utilityId":{"type":"number"},"utilityName":{"type":"string"},"ownership":{"type":"string"},"state":{"type":"string"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","county":"Licking County","state":"OH","countyFips":"39089","dataYear":2025,"total":2,"utilities":[{"utilityId":14006,"utilityName":"Ohio Power Co","ownership":"Investor Owned","state":"OH"},{"utilityId":10739,"utilityName":"Licking Rural Electrification Inc","ownership":"Cooperative","state":"OH"}],"sources":[{"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-861 Service Territory lists utilities that report service in the county; it does not give customer counts or service boundaries.","Data is a vendored snapshot; the monthly refresh job replaces it. The current snapshot is a sample of counties, not national coverage."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/power-plants/counties":{"post":{"operationId":"power_plants_counties","summary":"Resolve US counties","description":"Resolve 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. Docs: https://www.brainiac.software/api/power-plants/counties","externalDocs":{"url":"https://www.brainiac.software/api/power-plants/counties"},"tags":["power-plants","energy","eia","county","before you resolve a county name to FIPS","query","state","countyFips","landSqMi","Resolve US counties","power plants counties"],"x-keywords":["before you resolve a county name to FIPS","query","state","countyFips","landSqMi","Resolve US counties","power plants counties"],"x-empty-json-probe":false,"x-probe-body":{"query":"Licking OH","limit":5},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":100},"state":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Za-z]{2}$"},"limit":{"default":20,"type":"integer","minimum":1,"maximum":100}},"required":["query"],"additionalProperties":false},"example":{"query":"Licking OH","limit":5}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"total":{"type":"number"},"counties":{"type":"array","items":{"type":"object","properties":{"countyFips":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"lat":{"type":"number"},"lon":{"type":"number"},"landSqMi":{"type":"number"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"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."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}}},"components":{"parameters":{"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}},"headers":{"PaymentResponse":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"responses":{"InvalidRequest":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored - fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"PaymentRequired":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"IdempotencyConflict":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"RequestTooLarge":{"description":"Request body exceeds the 24 MB limit. Not charged."},"SettlementUnknown":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain - do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"PaymentsUnavailable":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."},"OperationFailed":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."}},"schemas":{"ApiError":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}}}}}}}}