{"uid":"cap_K7mI_vRKVui1oFgmKG5A-","slug":"2s-utility-rates-by-location-6fc2cfdf","name":"2s Utility Rates by Location","description":"Which electric utility serves a US latitude/longitude, and a summary of its published rate plans, from the OpenEI Utility Rate Database (URDB, CC0). Each plan returns the utility, rate name, customer sector, EIA utility id, fixed monthly charge, the first-tier energy rate ($/kWh), and a link to the full tariff. Use for solar/EV/storage economics, bill estimation, and \"who is my utility\" lookups. (For average state retail prices use energy.electricity-rates.)","url":"https://2s.io/api/energy/utility-rates?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":["lat","lon"],"properties":{"lat":{"type":"number","maximum":90,"minimum":-90},"lon":{"type":"number","maximum":180,"minimum":-180},"limit":{"type":"integer","maximum":25,"minimum":1}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_n2mPl0FziCJQL_aDL-yum","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns electricity utility rate plans (price per kWh, fixed charges, sector, effective date) for utilities serving a given latitude/longitude coordinate.","exampleAgentPrompt":"What are the electricity utility rate plans available at coordinates 39.74 latitude, -104.99 longitude — show me the residential rate name, price per kWh, and fixed monthly charges?","exampleUseCases":null,"resultDescription":"Returns a JSON array of location-matched results, each with the latitude/longitude queried, a list of utility names, and an array of rate plans. Each plan includes the utility name, rate plan name, sector (e.g. Residential, Commercial), energy rate in USD per kWh, fixed charge amount and units, effective date, EIA utility ID, and a link to the OpenEI URDB entry. Also includes total count and data source attribution (OpenEI URDB, CC0 license).","failureModes":["Missing lat or lon parameter returns validation error","Coordinates in ocean or unpopulated area may return zero utility plans","Limit parameter out of range (below 1 or above 25) returns validation error","Coordinates outside valid range (lat >90 or <-90, lon >180 or <-180) rejected","Payment not provided or insufficient USDC triggers 402 response","Upstream NREL/OpenEI data unavailability may cause empty or error response"],"whenToPreferThis":"Use this endpoint when you need authoritative, government-sourced electricity rate data tied to a specific geographic coordinate. It is ideal for energy cost calculations, solar ROI analysis, EV charging cost estimates, utility bill auditing, or any application needing real tariff data by location. Prefer this over scraping utility websites or using approximate average rates; it sources directly from the OpenEI URDB backed by NREL/DOE data, no API key required, pay-per-call via USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:39:11.531Z","isFirstParty":false,"canonicalSlug":"2s-utility-rates-by-location-6fc2cfdf"}