德州电费套餐 API 与 MCP
免费并开放 CORS。轻度使用无需密钥;免费密钥可提高限额。可用于应用、电子表格、研究或 AI 助手,请链接所用条目的 url 字段。 方案与价格 →
商业使用须订阅 Pro。 商业使用(用于付费产品、服务、应用或网站,或为客户服务)须订阅 Pro 或另行签约。免费方案仅供个人、研究、教育、新闻及其他非商业用途,并须始终注明出处。 什么属于商业使用 →
基础 URL: https://texashomebills.com/api/v1 · OpenAPI: /openapi.json · MCP: https://texashomebills.com/mcp · /.well-known/mcp.json
目录: API 密钥与限额 · 套餐端点 · 市场与公共数据 · Pro 端点 · 错误 · MCP · 署名
示例响应是在 2026-11-24 13:10(UTC)实际调用的结果,已缩短:列表只显示前两项,长文本以“…”截断。
API 密钥与限额
每个 /api/v1 请求和每个发往 /mcp 的 POST 都计入限额。无密钥时按 IP 地址计数;有密钥时按密钥计数。可在账户页面创建最多 5 个免费密钥。 创建免费密钥 →
| API 方案 | 每小时请求数 | 每天请求数 | 包含 | 价格 |
|---|---|---|---|---|
| 无密钥 按 IP 地址计数 | 10 | 50 | 套餐基本字段及各排名前 3 名;最近 30 天的市场数据 仅限非商业使用 | $0 |
| 免费密钥 按密钥计数 | 30 | 200 | 套餐基本字段及各排名前 3 名、30 天市场数据,以及账户页面上的使用统计 仅限非商业使用 | $0 |
| Pro 按密钥计数 | 1,000 | 10,000 | 完整排名和 12 个月费用明细(每月账单、抵扣月份、费用)、EFL 检查和陷阱提示、完整数据集、电动车费用明细、完整的每日套餐和市场历史,以及批量 CSV 和 JSON 文件 包含商业使用 | 每月 $99 或每年 $990 |
每小时限额在每个整点重置,每日限额在 00:00 UTC 重置。返回 429 的请求不计数。更大用量可另行签约。 所有方案都必须注明出处。
市场与公共数据:无密钥或使用免费密钥时,可获得最新数值及每个系列最近 30 天的数据(从该系列最新日期往回计算;月度系列即最新一个月)。Pro 增加每个系列的完整历史和批量 CSV 文件。
请在请求头中发送密钥(推荐):
curl -H "X-API-Key: thb_…" "https://texashomebills.com/api/v1/rank?utility=oncor&kwh=1200"
curl -H "Authorization: Bearer thb_…" "https://texashomebills.com/api/v1/cheapest"
无法设置请求头的 MCP 客户端可在 /mcp 地址后加 ?api_key=thb_…。请尽量避免:网址会留在日志和浏览器历史中。Authorization 请求头中不以 thb_ 开头的令牌会被忽略,因此客户端发送的其他令牌不会导致错误。
每个计数的响应都带有以下请求头,描述剩余请求较少的那个时间窗口(小时或天):
X-RateLimit-Limit | 该窗口内允许的请求数 |
X-RateLimit-Remaining | 该窗口内剩余的请求数 |
X-RateLimit-Reset | 该窗口的重置时间,Unix 时间(秒,UTC) |
X-RateLimit-Policy | 两个限额,例如 30;w=3600, 200;w=86400 |
X-API-Tier | 发送密钥时为 free 或 pro |
套餐端点
数据每天从 PowerToChoose 更新;每个响应都包含 data_refreshed_at。 无密钥或使用免费密钥时,响应仅包含套餐基本字段和各排名前 3 名;Pro 返回完整排名和全部明细。
GET /api/v1
索引:每个端点的 URL、MCP 的 URL、数据来源和更新时间。
curl "https://texashomebills.com/api/v1"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com",
"text": "Source: TexasHomeBills™ — https://texashomebills.com",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com)",
"html": "Source: <a href=\"https://texashomebills.com\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"data_refreshed_at": "2026-11-24T12:16:35.068834+00:00",
"description": "Texas home energy data: retail electricity plans ranked by estimated annual cost (bill-credit cliffs modeled, EV charging optional) and Texas energy market and public data.",
"docs": "https://texashomebills.com/developers",
"domains": [
{
"endpoints": {
"cheapest": "https://texashomebills.com/api/v1/electricity/cheapest?kwh=1000",
"data": "https://texashomebills.com/api/v1/electricity/data",
"data_product": "https://texashomebills.com/api/v1/electricity/data/<slug>",
"ev_charging_cost": "https://texashomebills.com/api/v1/electricity/ev-charging-cost?utility=oncor&ev_miles=1000",
"ev_vehicles": "https://texashomebills.com/api/v1/electricity/vehicles",
"news": "https://texashomebills.com/api/v1/electricity/news",
"plan": "https://texashomebills.com/api/v1/electricity/plans/<id>",
"plans": "https://texashomebills.com/api/v1/electricity/plans?utility=centerpoint",
"pro_bulk_plans_csv": "https://texashomebills.com/api/v1/electricity/bulk/plans.csv",
"pro_bulk_plans_json": "https://texashomebills.com/api/v1/electricity/bulk/plans.json",
"pro_history_plan": "https://texashomebills.com/api/v1/electricity/history/plan/<id>",
"pro_history_plans": "https://texashomebills.com/api/v1/electricity/history/plans",
"providers": "https://texashomebills.com/api/v1/electricity/providers",
"rank": "https://texashomebills.com/api/v1/electricity/rank?utility=oncor&kwh=1200",
"rank_with_ev": "https://texashomebills.com/api/v1/electricity/rank?utility=oncor&kwh=1000&ev_miles=1000&vehicle=tesla-model-y-long-range-awd",
"trends": "https://texashomebills.com/api/v1/electricity/trends",
"utilities": "https://texashomebills.com/api/v1/electricity/utilities",
"zip": "https://texashomebills.com/api/v1/electricity/zip/75201"
},
"id": "electricity",
"status": "live",
"title": "Texas retail electricity plans (incl. EV charging on fixed-rate plans)"
},
{
"endpoints": {
"catalog": "https://texashomebills.com/api/v1/market",
"complaints": "https://texashomebills.com/api/v1/market/complaints",
"delivery_charges": "https://texashomebills.com/api/v1/market/delivery-charges",
"gas": "https://texashomebills.com/api/v1/market/gas",
"grid": "https://texashomebills.com/api/v1/market/grid",
"municipal_rates": "https://texashomebills.com/api/v1/market/municipal-rates",
"pro_bulk_csv": "https://texashomebills.com/api/v1/bulk/<series>.csv",
"regulatory": "https://texashomebills.com/api/v1/market/regulatory",
"stats": "https://texashomebills.com/api/v1/market/stats",
"texas_retail": "https://texashomebills.com/api/v1/market/texas-retail",
"weather": "https://texashomebills.com/api/v1/market/weather",
"wholesale": "https://texashomebills.com/api/v1/market/wholesale?point=HB_HOUSTON"
},
"id": "market",
"status": "live",
"title": "Texas energy market and public data (ERCOT, EIA, BLS, NOAA, PUCT, utility rates)"
},
"… 1 more"
],
"free_tier_note": "Free tier: basic plan fields and the top 3 of each ranking only. The full ranking, monthly bills, bill-credit and fee details, trap flags and full datasets are in the Pro plan: …",
"legacy_paths": {
"aliases": {
"https://texashomebills.com/api/v1/bulk/plans.csv": "https://texashomebills.com/api/v1/electricity/bulk/plans.csv",
"https://texashomebills.com/api/v1/bulk/plans.json": "https://texashomebills.com/api/v1/electricity/bulk/plans.json",
"https://texashomebills.com/api/v1/cheapest": "https://texashomebills.com/api/v1/electricity/cheapest",
"https://texashomebills.com/api/v1/data": "https://texashomebills.com/api/v1/electricity/data",
"https://texashomebills.com/api/v1/data/<slug>": "https://texashomebills.com/api/v1/electricity/data/<slug>",
"https://texashomebills.com/api/v1/history/plan/<int:pid>": "https://texashomebills.com/api/v1/electricity/history/plan/<int:pid>",
"https://texashomebills.com/api/v1/history/plans": "https://texashomebills.com/api/v1/electricity/history/plans",
"https://texashomebills.com/api/v1/news": "https://texashomebills.com/api/v1/electricity/news",
"https://texashomebills.com/api/v1/plans": "https://texashomebills.com/api/v1/electricity/plans",
"https://texashomebills.com/api/v1/plans/<int:pid>": "https://texashomebills.com/api/v1/electricity/plans/<int:pid>",
"https://texashomebills.com/api/v1/providers": "https://texashomebills.com/api/v1/electricity/providers",
"https://texashomebills.com/api/v1/rank": "https://texashomebills.com/api/v1/electricity/rank",
"https://texashomebills.com/api/v1/trends": "https://texashomebills.com/api/v1/electricity/trends",
"https://texashomebills.com/api/v1/utilities": "https://texashomebills.com/api/v1/electricity/utilities",
"https://texashomebills.com/api/v1/zip/<zipcode>": "https://texashomebills.com/api/v1/electricity/zip/<zipcode>"
},
"note": "Paths without a domain prefix (e.g. /api/v1/rank) are legacy aliases of /api/v1/electricity/* and stay supported."
},
"license": "Attribution required on every tier: show your users \"TexasHomeBills™\" with a visible link to the url of each item you use (see the attribution block). No key / free key: persona…",
"mcp": "https://texashomebills.com/mcp",
"name": "TexasHomeBills™",
"openapi": "https://texashomebills.com/openapi.json",
"source": "PowerToChoose (Public Utility Commission of Texas)",
"version": "v1"
}GET /api/v1/electricity/utilities
输配电公司(TDU)、城市、套餐数量、最低及中位数固定电价
curl "https://texashomebills.com/api/v1/electricity/utilities"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/electricity/oncor",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/electricity/oncor",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/electricity/oncor)",
"html": "Source: <a href=\"https://texashomebills.com/electricity/oncor\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"data_refreshed_at": "2026-11-24T12:16:35.068834+00:00",
"docs": "https://texashomebills.com/developers",
"free_tier_note": "Free tier: basic plan fields and the top 3 of each ranking only. The full ranking, monthly bills, bill-credit and fee details, trap flags and full datasets are in the Pro plan: …",
"items": [
{
"cities": [
"Dallas",
"Fort Worth",
"… 33 more"
],
"id": "oncor",
"lowest_fixed_cents_at_1000kwh": 6.2,
"median_fixed_cents_at_1000kwh": 13.0,
"name": "Oncor",
"plans": 204,
"url": "https://texashomebills.com/electricity/oncor",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/electricity/oncor"
},
{
"cities": [
"Houston",
"Pasadena",
"… 12 more"
],
"id": "centerpoint",
"lowest_fixed_cents_at_1000kwh": 6.0,
"median_fixed_cents_at_1000kwh": 13.0,
"name": "CenterPoint",
"plans": 204,
"url": "https://texashomebills.com/electricity/centerpoint",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/electricity/centerpoint"
},
"… 5 more"
],
"license": "Attribution required on every tier: show your users \"TexasHomeBills™\" with a visible link to the url of each item you use (see the attribution block). No key / free key: persona…",
"source": "PowerToChoose (Public Utility Commission of Texas)"
}GET /api/v1/electricity/rank
按家庭用电量的预估年费用排序的套餐。含账单抵扣的套餐逐月计算。
| 参数 | 含义 |
|---|---|
utility | Required: oncor, centerpoint, aep_central, aep_north, tnmp, lpl |
kwh | Average monthly kWh, 100–6,000 (default 1,000), spread over a summer-heavy Texas profile |
m1 … m12 | Optional 12 monthly kWh values (January first); override kwh |
term | short (under 6 months), 6, 12, 18, 24 or 36 |
include | Comma list to also rank: variable, prepaid, time_of_use, short_term |
limit | 1–200 (default 20) |
lang | en, es, ko, zh, vi (plan text and URLs) |
ev_miles, vehicle, ev_kwh_per_mile, charging_efficiency | Optional EV charging — see below |
curl "https://texashomebills.com/api/v1/electricity/rank?utility=oncor&kwh=1200&limit=2"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/electricity/oncor?kwh=1200",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/electricity/oncor?kwh=1200",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/electricity/oncor?kwh=1200)",
"html": "Source: <a href=\"https://texashomebills.com/electricity/oncor?kwh=1200\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"data_refreshed_at": "2026-11-24T12:16:35.068834+00:00",
"docs": "https://texashomebills.com/developers",
"ev": null,
"free_tier_note": "Free tier: basic plan fields and the top 3 of each ranking only. The full ranking, monthly bills, bill-credit and fee details, trap flags and full datasets are in the Pro plan: …",
"items": [
{
"efl_url": "https://signup.budgetpowertx.com/Home/EFL?productId=35456&Promo=",
"estimate": {
"annual_cost_usd": 1578.2
},
"id": 36373,
"plan": "Prime 12",
"price_cents_per_kwh": {
"1000": 6.3,
"2000": 12.4,
"500": 19.2
},
"provider": "Budget Power",
"rank": 1,
"rate_type": "Fixed",
"term_months": 12,
"url": "https://texashomebills.com/plan/36373",
"utility": "oncor",
"utility_name": "Oncor",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/plan/36373"
},
{
"efl_url": "https://artemis-api.apge.com/api/v1/document?documentId=73&offerCode=SRBBUC_ONC_NA_NA_RES_F125M_SD0_T12_NEW",
"estimate": {
"annual_cost_usd": 1581.4
},
"id": 33364,
"plan": "SimpleSaver 12",
"price_cents_per_kwh": {
"1000": 6.4,
"2000": 12.4,
"500": 19.3
},
"provider": "AP Gas & Electric (TX)",
"rank": 2,
"rate_type": "Fixed",
"term_months": 12,
"url": "https://texashomebills.com/plan/33364",
"utility": "oncor",
"utility_name": "Oncor",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/plan/33364"
}
],
"license": "Attribution required on every tier: show your users \"TexasHomeBills™\" with a visible link to the url of each item you use (see the attribution block). No key / free key: persona…",
"monthly_average_kwh": 1200,
"page_url": "https://texashomebills.com/electricity/oncor?kwh=1200",
"source": "PowerToChoose (Public Utility Commission of Texas)",
"usage": {
"ev_kwh_per_month": 0,
"ev_kwh_per_year": 0,
"home_kwh_per_year": 14400,
"total_kwh_per_year": 14400
},
"usage_kwh_per_year": 14400,
"utility": "oncor"
}电动车充电(电力选项)
可以在任何排名或估算(/rank、/cheapest、/plans/<id>)中加入电动车。电动车的每月 kWh 会加到家庭每个月的用电量上,响应会显示家庭 kWh、电动车 kWh 和合计。排名只包含固定费率套餐;分时套餐(免费夜间、免费周末)在 /electricity/ev-charging-cost 的 time_of_use 部分单独计算。
ev_kwh_per_month = ev_miles × kwh_per_mile ÷ charging_efficiency
1,000 mi × 0.28 kWh/mi ÷ 0.90 = 311 kWh/month
| 参数 | 含义 |
|---|---|
ev_miles | Miles driven per month (required for EV) |
vehicle | EV model id from /api/v1/electricity/vehicles: EPA combined kWh/100 mi from fueleconomy.gov (2025 models). EPA figures include charging losses, so charging_efficiency defaults to 1.0 |
ev_kwh_per_mile | Instead of vehicle: vehicle-side kWh per mile (default 0.30) |
charging_efficiency | Default 0.90 with ev_kwh_per_mile, 1.0 with vehicle; 0.5–1.0 |
GET /api/v1/electricity/ev-charging-cost
在某配电区域最便宜的三个固定费率套餐上在家为电动车充电的费用:每个套餐含与不含电动车的预估 12 个月费用,以及每月和每英里费用。对于含账单抵扣的套餐,电动车可能改变获得抵扣的月份;响应会注明。没有与汽油的比较:我们不收集汽油价格。
time_of_use 部分按夜间充电计算免费夜间和免费周末套餐:每个套餐给出其电力事实标签(EFL)中原文所写的免费时段(含引用的句子和 EFL 链接)、含电动车的 12 个月估算费用,以及与没有账单抵免的最低价固定套餐的差额。若免费时段不清楚、标签中没有分时电价(Octopus Flex)或无法重现其价格,该套餐会被排除并说明原因。假设条件列在该部分中。这是估算,不是报价。
| 参数 | 含义 |
|---|---|
utility | Required |
ev_miles | Required |
vehicle / ev_kwh_per_mile / charging_efficiency | As above |
kwh or m1…m12 | Home usage, as in /rank |
ev_night_share | time_of_use: share of EV kWh charged overnight, 10 pm – 6 am (0–1, or a percent; default 0.80) |
home_night_share | time_of_use: share of the home’s kWh in a free-nights plan’s free hours (0–1; default: the share the plan’s own label assumes, 35%) |
curl "https://texashomebills.com/api/v1/electricity/ev-charging-cost?utility=oncor&kwh=1000&ev_miles=1000&vehicle=tesla-model-y-long-range-awd"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/electricity/oncor?kwh=1288",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/electricity/oncor?kwh=1288",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/electricity/oncor?kwh=1288)",
"html": "Source: <a href=\"https://texashomebills.com/electricity/oncor?kwh=1288\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"data_refreshed_at": "2026-11-24T12:16:35.068834+00:00",
"docs": "https://texashomebills.com/developers",
"ev": {
"assumptions": [
"The same EV kWh is added to every month (no seasonal driving pattern).",
"All charging is at home on the household's plan.",
"… 1 more"
],
"charging_efficiency": 1.0,
"ev_kwh_per_month": 287.9,
"ev_kwh_per_year": 3454.8,
"formula": "ev_kwh_per_month = ev_miles × kwh_per_mile ÷ charging_efficiency",
"kwh_per_mile": 0.2879,
"miles_per_month": 1000.0,
"time_of_use_note": "Time-of-use plans (free nights, free weekends) are never mixed into the ranking; electricity/ev-charging-cost prices the ones whose free hours are clearly stated in their Electr…",
"vehicle": {
"basis": "EPA combined, measured at the wall (charging losses included)",
"id": "tesla-model-y-long-range-awd",
"kwh_per_100_miles": 28.7946,
"kwh_per_mile": 0.2879,
"make": "Tesla",
"model": "Model Y Long Range AWD",
"model_year": 2025,
"source": "fueleconomy.gov (U.S. EPA / DOE), combined electricity consumption (combE, kWh per 100 miles), retrieved 2026-10-09",
"source_url": "https://www.fueleconomy.gov/feg/Find.do?action=sbs&id=48770"
}
},
"free_tier_note": "Free tier: basic plan fields and the top 1 of each ranking only. The full ranking, monthly bills, bill-credit and fee details, trap flags and full datasets are in the Pro plan: …",
"items": [
{
"ev_charging_cost_per_month_usd": -19.73,
"plan": "Prime 12",
"provider": "Budget Power",
"rank_with_ev": 1,
"url": "https://texashomebills.com/plan/36373",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/plan/36373"
}
],
"license": "Attribution required on every tier: show your users \"TexasHomeBills™\" with a visible link to the url of each item you use (see the attribution block). No key / free key: persona…",
"page_url": "https://texashomebills.com/electricity/oncor?kwh=1288",
"source": "PowerToChoose (Public Utility Commission of Texas)",
"summary": "On Budget Power Prime 12, the lowest-cost fixed plan in Oncor with an EV driven 1,000 miles a month (~288 kWh), the estimated 12-month total is $237 LOWER than without the EV, b…",
"utility": "oncor",
"utility_name": "Oncor"
}GET /api/v1/electricity/vehicles
vehicle= 可用的电动车型号,附 EPA 综合能耗及各车型的 fueleconomy.gov 页面。
curl "https://texashomebills.com/api/v1/electricity/vehicles"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/developers#ev",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/developers#ev",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/developers#ev)",
"html": "Source: <a href=\"https://texashomebills.com/developers#ev\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"data_refreshed_at": "2026-11-24T12:16:35.068834+00:00",
"defaults": {
"charging_efficiency_with_ev_kwh_per_mile": 0.9,
"charging_efficiency_with_vehicle": 1.0,
"ev_kwh_per_mile": 0.3
},
"docs": "https://texashomebills.com/developers",
"efficiency_source": "fueleconomy.gov (U.S. EPA / DOE), combined electricity consumption (combE, kWh per 100 miles), retrieved 2026-10-09",
"free_tier_note": "Free tier: basic plan fields and the top 3 of each ranking only. The full ranking, monthly bills, bill-credit and fee details, trap flags and full datasets are in the Pro plan: …",
"items": [
{
"basis": "EPA combined, measured at the wall (charging losses included)",
"id": "tesla-model-y-long-range-awd",
"kwh_per_100_miles": 28.7946,
"kwh_per_mile": 0.2879,
"make": "Tesla",
"model": "Model Y Long Range AWD",
"model_year": 2025,
"source": "fueleconomy.gov (U.S. EPA / DOE), combined electricity consumption (combE, kWh per 100 miles), retrieved 2026-10-09",
"source_url": "https://www.fueleconomy.gov/feg/Find.do?action=sbs&id=48770"
},
{
"basis": "EPA combined, measured at the wall (charging losses included)",
"id": "tesla-model-3-long-range-rwd",
"kwh_per_100_miles": 24.6398,
"kwh_per_mile": 0.2464,
"make": "Tesla",
"model": "Model 3 Long Range RWD",
"model_year": 2025,
"source": "fueleconomy.gov (U.S. EPA / DOE), combined electricity consumption (combE, kWh per 100 miles), retrieved 2026-10-09",
"source_url": "https://www.fueleconomy.gov/feg/Find.do?action=sbs&id=48765"
},
"… 13 more"
],
"license": "Attribution required on every tier: show your users \"TexasHomeBills™\" with a visible link to the url of each item you use (see the attribution block). No key / free key: persona…",
"url": "https://texashomebills.com/developers#ev",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/developers#ev"
}GET /api/v1/electricity/cheapest
每个输配电公司区域最便宜的固定电价套餐 — kwh 或 m1…m12 参数与 /rank 相同。
curl "https://texashomebills.com/api/v1/electricity/cheapest?kwh=1000"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/plan/39370",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/plan/39370",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/plan/39370)",
"html": "Source: <a href=\"https://texashomebills.com/plan/39370\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"data_refreshed_at": "2026-11-24T12:16:35.068834+00:00",
"docs": "https://texashomebills.com/developers",
"ev": null,
"free_tier_note": "Free tier: basic plan fields and the top 3 of each ranking only. The full ranking, monthly bills, bill-credit and fee details, trap flags and full datasets are in the Pro plan: …",
"items": [
{
"efl_url": "https://gb008a8dbfa8724-worx4uv1.adb.us-ashburn-1.oraclecloudapps.com/ords/worx4u/admin/efls/601893281230D243E063E9F2000A75E7/view",
"estimate": {
"annual_cost_usd": 1440.0
},
"id": 39370,
"plan": "True Value 12",
"price_cents_per_kwh": {
"1000": 12.0,
"2000": 11.8,
"500": 12.4
},
"provider": "True Power",
"rate_type": "Fixed",
"term_months": 12,
"url": "https://texashomebills.com/plan/39370",
"utility": "oncor",
"utility_name": "Oncor",
"utility_page": "https://texashomebills.com/electricity/oncor",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/plan/39370"
},
{
"efl_url": "https://gb008a8dbfa8724-worx4uv1.adb.us-ashburn-1.oraclecloudapps.com/ords/worx4u/admin/efls/5F797A10EF483182E063E9F2000AE709/view",
"estimate": {
"annual_cost_usd": 1405.36
},
"id": 39240,
"plan": "True Value 12",
"price_cents_per_kwh": {
"1000": 11.7,
"2000": 11.5,
"500": 12.2
},
"provider": "True Power",
"rate_type": "Fixed",
"term_months": 12,
"url": "https://texashomebills.com/plan/39240",
"utility": "centerpoint",
"utility_name": "CenterPoint",
"utility_page": "https://texashomebills.com/electricity/centerpoint",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/plan/39240"
},
"… 4 more"
],
"license": "Attribution required on every tier: show your users \"TexasHomeBills™\" with a visible link to the url of each item you use (see the attribution block). No key / free key: persona…",
"monthly_average_kwh": 1000,
"source": "PowerToChoose (Public Utility Commission of Texas)",
"usage": {
"ev_kwh_per_month": 0,
"ev_kwh_per_year": 0,
"home_kwh_per_year": 12000,
"total_kwh_per_year": 12000
},
"usage_kwh_per_year": 12000
}GET /api/v1/ask
用平常的话向TexasHomeBills™提一个问题——邮编、城市或输配电公司最便宜的套餐、电力公司的PUCT投诉数、账单上的术语或网站用法。返回基于我们数据的简短答案及来源和页面链接(不用外部AI)。
| 参数 | 含义 |
|---|---|
q | The question, up to 300 characters |
lang | en, es, ko, zh, vi (default: detected) |
GET /api/v1/electricity/plans
所有有效套餐(分页:limit、offset)
| 参数 | 含义 |
|---|---|
utility | Utility id (optional) |
provider | Provider name contains (optional) |
limit | 1–1,000 (default 100) |
offset | Rows to skip |
curl "https://texashomebills.com/api/v1/electricity/plans?utility=centerpoint&limit=2"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/plan/33362",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/plan/33362",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/plan/33362)",
"html": "Source: <a href=\"https://texashomebills.com/plan/33362\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"data_refreshed_at": "2026-11-24T12:16:35.068834+00:00",
"docs": "https://texashomebills.com/developers",
"free_tier_note": "Free tier: basic plan fields and the top 3 of each ranking only. The full ranking, monthly bills, bill-credit and fee details, trap flags and full datasets are in the Pro plan: …",
"items": [
{
"efl_url": "https://artemis-api.apge.com/api/v1/document?documentId=73&offerCode=SRBBUC_CTP_NA_NA_RES_F125M_SD0_T12_NEW",
"id": 33362,
"plan": "SimpleSaver 12",
"price_cents_per_kwh": {
"1000": 6.0,
"2000": 12.0,
"500": 19.0
},
"provider": "AP Gas & Electric (TX)",
"rate_type": "Fixed",
"term_months": 12,
"url": "https://texashomebills.com/plan/33362",
"utility": "centerpoint",
"utility_name": "CenterPoint",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/plan/33362"
},
{
"efl_url": "https://signup.budgetpowertx.com/Home/EFL?productId=35457&Promo=",
"id": 36372,
"plan": "Prime 12",
"price_cents_per_kwh": {
"1000": 6.0,
"2000": 12.0,
"500": 19.0
},
"provider": "Budget Power",
"rate_type": "Fixed",
"term_months": 12,
"url": "https://texashomebills.com/plan/36372",
"utility": "centerpoint",
"utility_name": "CenterPoint",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/plan/36372"
}
],
"license": "Attribution required on every tier: show your users \"TexasHomeBills™\" with a visible link to the url of each item you use (see the attribution block). No key / free key: persona…",
"offset": 0,
"source": "PowerToChoose (Public Utility Commission of Texas)",
"total": 204
}GET /api/v1/electricity/plans/<id>
单个套餐在不同用电量下的月度账单以及年度估算 — kwh, m1…m12, lang.
curl "https://texashomebills.com/api/v1/electricity/plans/33631?kwh=900"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/plan/33631",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/plan/33631",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/plan/33631)",
"html": "Source: <a href=\"https://texashomebills.com/plan/33631\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"data_refreshed_at": "2026-11-24T12:16:35.068834+00:00",
"docs": "https://texashomebills.com/developers",
"efl_url": "https://artemis-api.apge.com/api/v1/document?documentId=73&offerCode=SRBBUC_ONC_NA_NA_RES_F125M_SD0_T3_NEW",
"estimate": {
"annual_cost_usd": 1521.2
},
"ev": null,
"free_tier_note": "Free tier: basic plan fields and the top 3 of each ranking only. The full ranking, monthly bills, bill-credit and fee details, trap flags and full datasets are in the Pro plan: …",
"id": 33631,
"license": "Attribution required on every tier: show your users \"TexasHomeBills™\" with a visible link to the url of each item you use (see the attribution block). No key / free key: persona…",
"plan": "Simple Saver 3",
"price_cents_per_kwh": {
"1000": 6.2,
"2000": 12.2,
"500": 19.1
},
"provider": "AP Gas & Electric (TX)",
"rate_type": "Fixed",
"source": "TexasHomeBills™",
"term_months": 3,
"url": "https://texashomebills.com/plan/33631",
"usage": {
"ev_kwh_per_month": 0,
"ev_kwh_per_year": 0,
"home_kwh_per_year": 10800,
"total_kwh_per_year": 10800
},
"utility": "oncor",
"utility_name": "Oncor",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/plan/33631"
}GET /api/v1/electricity/zip/<zip>
服务某个德州邮编的配电公司。空列表表示不在竞争市场内(市政电力公司或合作社)。
curl "https://texashomebills.com/api/v1/electricity/zip/75201"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/electricity/oncor",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/electricity/oncor",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/electricity/oncor)",
"html": "Source: <a href=\"https://texashomebills.com/electricity/oncor\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"competitive": true,
"data_refreshed_at": "2026-11-24T12:16:35.068834+00:00",
"docs": "https://texashomebills.com/developers",
"free_tier_note": "Free tier: basic plan fields and the top 3 of each ranking only. The full ranking, monthly bills, bill-credit and fee details, trap flags and full datasets are in the Pro plan: …",
"license": "Attribution required on every tier: show your users \"TexasHomeBills™\" with a visible link to the url of each item you use (see the attribution block). No key / free key: persona…",
"note": null,
"source": "PowerToChoose (Public Utility Commission of Texas)",
"utilities": [
{
"id": "oncor",
"name": "Oncor",
"rank_api": "https://texashomebills.com/api/v1/rank?utility=oncor&kwh=1000",
"url": "https://texashomebills.com/electricity/oncor",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/electricity/oncor"
}
],
"zip": "75201"
}GET /api/v1/electricity/providers
德州所有售电公司:PUCT 证书、法定名称、网站和套餐数量(?has_plans=1)
curl "https://texashomebills.com/api/v1/electricity/providers?has_plans=1"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/providers/abundance-energy",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/providers/abundance-energy",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/providers/abundance-energy)",
"html": "Source: <a href=\"https://texashomebills.com/providers/abundance-energy\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"data_refreshed_at": "2026-11-24T12:16:35.068834+00:00",
"docs": "https://texashomebills.com/developers",
"free_tier_note": "Free tier: basic plan fields and the top 3 of each ranking only. The full ranking, monthly bills, bill-credit and fee details, trap flags and full datasets are in the Pro plan: …",
"items": [
{
"city": "Lubbock",
"legal_name": "Abundance Energy LLC",
"name": "Abundance Energy",
"plans_on_powertochoose": 30,
"puct_certificate": "RE220014",
"url": "https://texashomebills.com/providers/abundance-energy",
"website": "https://abundanceenergy.com",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/providers/abundance-energy"
},
{
"city": "The Woodlands",
"legal_name": "Atlantic Energy Texas LLC",
"name": "AE Texas",
"plans_on_powertochoose": 13,
"puct_certificate": "RE230008",
"url": "https://texashomebills.com/providers/ae-texas",
"website": "https://aetexasco.com",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/providers/ae-texas"
},
"… 42 more"
],
"license": "Attribution required on every tier: show your users \"TexasHomeBills™\" with a visible link to the url of each item you use (see the attribution block). No key / free key: persona…",
"source": "PowerToChoose (Public Utility Commission of Texas)",
"source_providers": "Public Utility Commission of Texas — certified Retail Electric Providers",
"total": 44
}GET /api/v1/electricity/news
最新新闻和指南 — lang, limit (≤100).
curl "https://texashomebills.com/api/v1/electricity/news?limit=2"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/news/plan-changes-2026-11-23",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/news/plan-changes-2026-11-23",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/news/plan-changes-2026-11-23)",
"html": "Source: <a href=\"https://texashomebills.com/news/plan-changes-2026-11-23\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"data_refreshed_at": "2026-11-24T12:16:35.068834+00:00",
"docs": "https://texashomebills.com/developers",
"free_tier_note": "Free tier: basic plan fields and the top 3 of each ranking only. The full ranking, monthly bills, bill-credit and fee details, trap flags and full datasets are in the Pro plan: …",
"items": [
{
"category": "rates",
"kind": "news",
"lead": "Between 2026-11-16 and 2026-11-23 we compared 886 plans on Power to Choose: 374 changed their price at 1,000 kWh a month (211 lower, 163 higher), 84 new plans appeared and 90 we…",
"published_at": "2026-11-23T13:31:07.386133+00:00",
"title": "Texas electricity plan changes: 2026-11-16 to 2026-11-23",
"topic": "electricity",
"url": "https://texashomebills.com/news/plan-changes-2026-11-23",
"utility": null,
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/news/plan-changes-2026-11-23"
},
{
"category": "rates",
"kind": "news",
"lead": "Between 2026-11-09 and 2026-11-16 we compared 925 plans on Power to Choose: 241 changed their price at 1,000 kWh a month (90 lower, 151 higher), 47 new plans appeared and 68 wer…",
"published_at": "2026-11-16T13:31:46.075472+00:00",
"title": "Texas electricity plan changes: 2026-11-09 to 2026-11-16",
"topic": "electricity",
"url": "https://texashomebills.com/news/plan-changes-2026-11-16",
"utility": null,
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/news/plan-changes-2026-11-16"
}
],
"license": "Attribution required on every tier: show your users \"TexasHomeBills™\" with a visible link to the url of each item you use (see the attribution block). No key / free key: persona…",
"source": "PowerToChoose (Public Utility Commission of Texas)"
}GET /api/v1/electricity/trends
电价与通胀对比:BLS 电力及全部项目消费者价格指数、EIA 德州居民电价,以及月度指数(2020 年 1 月 = 100)。
curl "https://texashomebills.com/api/v1/electricity/trends"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/electricity-prices",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/electricity-prices",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/electricity-prices)",
"html": "Source: <a href=\"https://texashomebills.com/electricity-prices\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"data_refreshed_at": "2026-11-24T12:16:35.068834+00:00",
"docs": "https://texashomebills.com/developers",
"free_tier_note": "Free tier: basic plan fields and the top 3 of each ranking only. The full ranking, monthly bills, bill-credit and fee details, trap flags and full datasets are in the Pro plan: …",
"index_2020_01_eq_100": [
{
"all_items": 97.6,
"electricity": 99.5,
"month": "2019-01"
},
{
"all_items": 98.0,
"electricity": 99.5,
"month": "2019-02"
},
"… 91 more"
],
"latest_month": "2026-09",
"license": "Attribution required on every tier: show your users \"TexasHomeBills™\" with a visible link to the url of each item you use (see the attribution block). No key / free key: persona…",
"source": "TexasHomeBills™",
"sources": [
"U.S. Bureau of Labor Statistics, CPI-U Electricity, U.S. city average (CUUR0000SEHF01)",
"U.S. Bureau of Labor Statistics, CPI-U All items, U.S. city average (CUUR0000SA0)",
"… 1 more"
],
"texas_residential_cents_per_kwh": {
"label": "August 2026",
"now": 15.91,
"pct": 3.3,
"year_ago": 15.4
},
"texas_residential_ytd_cents_per_kwh": {
"label": "August 2026",
"now": 16.03,
"pct": 5.6,
"year_ago": 15.18
},
"url": "https://texashomebills.com/electricity-prices",
"us_all_items_cpi_change_12m_pct": 3.7,
"us_all_items_cpi_change_since_2020_01_pct": 30.6,
"us_electricity_cpi_change_12m_pct": 4.4,
"us_electricity_cpi_change_since_2020_01_pct": 46.1,
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/electricity-prices"
}GET /api/v1/electricity/data · GET /api/v1/electricity/data/<slug>
我们的原创数据产品,含汇总表和每个套餐的明细行:advertised-vs-real、fees-and-credits、listing-accuracy、rate-index、price-changes、us-electricity-prices、large-load-demand。每个产品都链接其 CSV 和 JSON 文件。
curl "https://texashomebills.com/api/v1/electricity/data"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/data",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/data",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/data)",
"html": "Source: <a href=\"https://texashomebills.com/data\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"data_refreshed_at": "2026-11-24T12:16:35.068834+00:00",
"docs": "https://texashomebills.com/developers",
"free_tier_note": "Free tier: basic plan fields and the top 3 of each ranking only. The full ranking, monthly bills, bill-credit and fee details, trap flags and full datasets are in the Pro plan: …",
"items": [
{
"api": "https://texashomebills.com/api/v1/data/advertised-vs-real",
"csv": "https://texashomebills.com/data/advertised-vs-real.csv",
"data_date": "2026-11-24",
"headline": {
"plans": 727,
"real_at_least_1c_above_advertised": 61,
"share_pct": 8.4
},
"json": "https://texashomebills.com/data/advertised-vs-real.json",
"slug": "advertised-vs-real",
"title": "Advertised price vs real cost",
"url": "https://texashomebills.com/data/advertised-vs-real",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/data/advertised-vs-real"
},
{
"api": "https://texashomebills.com/api/v1/data/fees-and-credits",
"csv": "https://texashomebills.com/data/fees-and-credits.csv",
"data_date": "2026-11-24",
"headline": {
"plans": 970,
"share_pct": 90.2,
"with_cancellation_fee": 875
},
"json": "https://texashomebills.com/data/fees-and-credits.json",
"slug": "fees-and-credits",
"title": "Fees & bill credits map",
"url": "https://texashomebills.com/data/fees-and-credits",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/data/fees-and-credits"
},
"… 9 more"
],
"license": "Attribution required on every tier: show your users \"TexasHomeBills™\" with a visible link to the url of each item you use (see the attribution block). No key / free key: persona…",
"source": "TexasHomeBills™",
"url": "https://texashomebills.com/data",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/data"
}curl "https://texashomebills.com/api/v1/electricity/data/rate-index"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/data/rate-index",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/data/rate-index",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/data/rate-index)",
"html": "Source: <a href=\"https://texashomebills.com/data/rate-index\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"data_date": "2026-11-24",
"data_imported_at": "2026-11-24T12:16:35.068834+00:00",
"data_refreshed_at": "2026-11-24T12:16:35.068834+00:00",
"days_tracked": 47,
"definitions": {
"fixed_products": "Fixed-rate products that are not prepaid and have a 1,000 kWh price (duplicates counted once).",
"lowest_12mo_usd": "Lowest estimated 12-month cost among ranked plans, typical Texas seasonal usage averaging 1,000 kWh a month, before taxes.",
"median_12mo_cents_per_kwh": "Median 12-month cost ÷ 12,000 kWh, ¢/kWh.",
"median_12mo_usd": "Median 12-month cost of ranked plans.",
"median_fixed_1000_cents": "Median Power to Choose price at 1,000 kWh of those products, ¢/kWh (each price rounded to 0.1¢ first).",
"p10_12mo_usd / p90_12mo_usd": "10th and 90th percentile of the ranked plans' 12-month cost (nearest rank).",
"ranked_plans": "Plans in the utility's default TexasHomeBills ranking that day."
},
"docs": "https://texashomebills.com/developers",
"downloads": {
"api": "https://texashomebills.com/api/v1/data/rate-index",
"csv": "https://texashomebills.com/data/rate-index.csv",
"json": "https://texashomebills.com/data/rate-index.json"
},
"first_day": "2026-10-09",
"first_monthly_edition": "early November 2026",
"free_tier_note": "Free tier: basic plan fields and the top 3 of each ranking only. The full ranking, monthly bills, bill-credit and fee details, trap flags and full datasets are in the Pro plan: …",
"highest_median": {
"median_12mo_usd": 1797.28,
"utility": "tnmp",
"utility_name": "TNMP"
},
"how_to_cite": "TexasHomeBills™, \"Texas Real Rate Index (daily tracking)\" (data as of 2026-11-24), https://texashomebills.com/data/rate-index",
"latest_day": "2026-11-24",
"license": "https://texashomebills.com/terms#data",
"lowest_median": {
"median_12mo_usd": 1452.58,
"utility": "aep_central",
"utility_name": "AEP Texas Central"
},
"not_endorsed": "Independent. Not affiliated with or endorsed by the PUCT.",
"plans_included": "Daily record of every active Power to Choose listing. English/Spanish twin listings of one product are counted once. 12-month costs cover the plans in each utility's default Tex…",
"slug": "rate-index",
"source": "TexasHomeBills™",
"title": "Texas Real Rate Index (daily tracking)",
"tracking_started": "2026-10-09",
"url": "https://texashomebills.com/data/rate-index",
"usage_kwh_per_year": 12000,
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/data/rate-index"
}市场与公共数据
我们每天从原始发布机构收集的德州能源市场和公共数据:ERCOT、EIA、BLS、NOAA NCEI、PUCT、Austin Energy 和 CPS Energy,以及我们自己的每日套餐统计。数值与发布时完全一致,每一行都附单位、日期和原始来源 URL。空缺保持空白,不完整的日期标记为 complete=false;不做任何补值。
每个响应都含有 attribution 区块(显示 TexasHomeBills™ 及链接)和 sources 列表,列明原始发布机构、其 URL 和条款。请两者都注明。
| 参数 | 含义 |
|---|---|
start | YYYY-MM-DD. Default: 30 days ending at the latest date of the series. Without a Pro key, start must be within the most recent 30 days (otherwise 403 pro_required). |
end | YYYY-MM-DD. Default: latest date. |
limit | Rows per response. Default 1,000; maximum 5,000 without Pro, 20,000 with Pro (use bulk CSV for more). |
offset | Rows to skip. Responses give total, returned, next_offset and a ready next URL. |
GET /api/v1/market
所有系列的目录:说明、单位、更新频率、日期范围、行数、原始来源和条款、免费范围及最新数值。
ercot-rt-dailyERCOT (Electric Reliability Council of Texas) · USD/MWh · 2023-12-11 – 2026-11-24 · 24,832 行ercot-rt-hourlyERCOT (Electric Reliability Council of Texas) · USD/MWh · 2023-12-11 – 2026-11-24 · 595,007 行ercot-da-dailyERCOT (Electric Reliability Council of Texas) · USD/MWh · 2023-12-13 – 2026-11-24 · 16,170 行ercot-da-hourlyERCOT (Electric Reliability Council of Texas) · USD/MWh · 2023-12-13 – 2026-11-24 · 388,080 行grid-fuel-mixERCOT (Electric Reliability Council of Texas) · MWh / MW / share · 2026-10-08 – 2026-11-24 · 11,850 行grid-loadERCOT (Electric Reliability Council of Texas) · MW · 2026-10-08 – 2026-11-24 · 1,112 行grid-eiaU.S. Energy Information Administration (EIA) · MWh · 2026-08-18 – 2026-11-23 · 964 行gas-henry-hub-dailyU.S. Energy Information Administration (EIA) · USD/MMBtu · 1997-01-07 – 2026-11-17 · 7,500 行gas-henry-hub-monthlyU.S. Energy Information Administration (EIA) · USD/MMBtu · 1997-01-01 – 2026-10-01 · 358 行texas-retail-eia861mU.S. Energy Information Administration (EIA) · ¢/kWh, MWh, customers, thousand USD · 2010-01-01 – 2026-08-01 · 3,200 行texas-retail-eia-retailU.S. Energy Information Administration (EIA) · ¢/kWh, million kWh, customers, million USD · 2001-01-01 – 2026-08-01 · 6,664 行texas-retail-bls-cpiU.S. Bureau of Labor Statistics (BLS) · index (1982-84=100) · 2007-01-01 – 2026-10-01 · 1,183 行texas-retail-bls-apU.S. Bureau of Labor Statistics (BLS) · USD/kWh, USD/therm · 1978-11-01 – 2026-10-01 · 4,569 行us-states-retailU.S. Energy Information Administration (EIA) · ¢/kWh, million kWh, million USD, customers · 2001-01-01 – 2026-08-01 · 293,317 行texas-large-loadERCOT (Electric Reliability Council of Texas) · MW, GW, projects, % · 2000-01-01 – 2031-01-01 · 164 行us-generationU.S. Energy Information Administration (EIA) · thousand MWh (GWh) · 2001-01-01 – 2026-08-01 · 105,589 行rto-demandU.S. Energy Information Administration (EIA) · MWh · 2019-01-01 – 2026-11-23 · 23,070 行steoU.S. Energy Information Administration (EIA) · EIA units (¢/kWh, $/MWh, billion kWh, %) · 2015-01-01 – 2027-12-01 · 3,900 行wirelessU.S. Bureau of Labor Statistics (BLS), Federal Communications Commission (FCC) · index, complaints · 2007-01-01 – 2026-11-01 · 9,419 行weatherNOAA National Centers for Environmental Information (NCEI) · °F, °F-days · 2020-01-01 – 2026-11-15 · 20,086 行delivery-chargesPublic Utility Commission of Texas (PUCT), TexasHomeBills™ (from retail providers' Electricity Facts Labels) · $/month, $/kWh, ¢/kWh · 2026-10-01 – 2026-11-24 · 718 行municipal-ratesAustin Energy (City of Austin), CPS Energy (City of San Antonio) · $/month, $/kWh, ¢/kWh · 2024-02-01 – 2026-10-01 · 25 行complaintsPublic Utility Commission of Texas (PUCT) · complaints · 2026-04-01 – 2026-10-31 · 288 行regulatoryPublic Utility Commission of Texas (PUCT), Public Utility Commission of Texas (PUCT) · items · 2018-03-08 – 2026-11-25 · 357 行stats-utilityTexasHomeBills™ (computed from the daily Power to Choose snapshot, PUCT) · ¢/kWh, USD/yr, share · 2026-10-09 – 2026-11-24 · 329 行stats-providerTexasHomeBills™ (computed from the daily Power to Choose snapshot, PUCT) · ¢/kWh, USD/yr, share · 2026-10-09 – 2026-11-24 · 2,085 行
curl "https://texashomebills.com/api/v1/market"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"url": "https://texashomebills.com/api#market",
"title": "TexasHomeBills™ market and public data catalog",
"summary": "26 series from ERCOT, EIA, BLS, NOAA NCEI, PUCT, Austin Energy, CPS Energy and our own daily plan statistics.",
"access": {
"no_key_or_free_key": "latest values and the most recent 30 days of each series (to its latest date)",
"pro": "full history of every series and bulk CSV ($99/month or $990/year)",
"max_rows_per_response": {
"anonymous": 5000,
"free": 5000,
"pro": 20000
},
"paging": "limit and offset; responses give total and next_offset",
"pro_required": "403 pro_required when a free caller asks for older data"
},
"items": [
{
"id": "ercot-rt-daily",
"endpoint": "https://texashomebills.com/api/v1/market/wholesale?market=rt&granularity=day&point=HB_HOUSTON",
"bulk_csv": "https://texashomebills.com/api/v1/bulk/wholesale-daily.csv",
"title": "ERCOT real-time prices, daily (hubs and load zones)",
"description": "Daily average/min/max real-time settlement point price for 7 hubs and 8 load zones, with completeness flags.",
"unit": "USD/MWh",
"cadence": "daily",
"granularity": "day",
"first_date": "2023-12-11",
"last_date": "2026-11-23",
"rows": 24809,
"sources": [
{
"id": "ercot_prices",
"publisher": "ERCOT (Electric Reliability Council of Texas)",
"name": "Settlement point prices for hubs and load zones — real-time (15-minute) and day-ahead (hourly); public market pages and ERCOT Public API reports NP6-905-CD / NP4-190-CD",
"url": "https://www.ercot.com/content/cdr/html/real_time_spp.html",
"terms": "https://www.ercot.com/help/terms",
"terms_note": "ERCOT Terms of Use §5: raw data on public portions of ercot.com may be used, reproduced and redistributed in compilations, charts and analyses. Provided as is."
}
],
"terms_note": "ERCOT Terms of Use §5: raw data on public portions of ercot.com may be used, reproduced and redistributed in compilations, charts and analyses. Provided as is.",
"free_window": "most recent 30 days of each series (to its latest date)",
"pro": "full history, up to 20,000 rows per JSON response, bulk CSV for everything",
"latest": "Houston hub (HB_HOUSTON) real-time average on 2026-11-22: $19.67/MWh (min $5.81, max $34.10; ERCOT); 2026-11-23 is incomplete so far (32 of 96 15-minute intervals), average to d…"
},
{
"id": "ercot-rt-hourly",
"endpoint": "https://texashomebills.com/api/v1/market/wholesale?market=rt&granularity=hour&point=HB_HOUSTON",
"bulk_csv": "https://texashomebills.com/api/v1/bulk/wholesale-hourly.csv",
"title": "ERCOT real-time prices, hourly",
"description": "Hourly real-time settlement point prices (mean/min/max of the four 15-minute prices; n_intervals).",
"unit": "USD/MWh",
"cadence": "daily",
"granularity": "hour",
"first_date": "2023-12-11",
"last_date": "2026-11-23",
"rows": 594455,
"sources": [
{
"id": "ercot_prices",
"publisher": "ERCOT (Electric Reliability Council of Texas)",
"name": "Settlement point prices for hubs and load zones — real-time (15-minute) and day-ahead (hourly); public market pages and ERCOT Public API reports NP6-905-CD / NP4-190-CD",
"url": "https://www.ercot.com/content/cdr/html/real_time_spp.html",
"terms": "https://www.ercot.com/help/terms",
"terms_note": "ERCOT Terms of Use §5: raw data on public portions of ercot.com may be used, reproduced and redistributed in compilations, charts and analyses. Provided as is."
}
],
"terms_note": "ERCOT Terms of Use §5: raw data on public portions of ercot.com may be used, reproduced and redistributed in compilations, charts and analyses. Provided as is.",
"free_window": "most recent 30 days of each series (to its latest date)",
"pro": "full history, up to 20,000 rows per JSON response, bulk CSV for everything",
"latest": null
},
"… 24 more"
],
"generated_at": "2026-11-24T07:10:17-06:00",
"sources": [
{
"id": "ercot_prices",
"publisher": "ERCOT (Electric Reliability Council of Texas)",
"name": "Settlement point prices for hubs and load zones — real-time (15-minute) and day-ahead (hourly); public market pages and ERCOT Public API reports NP6-905-CD / NP4-190-CD",
"url": "https://www.ercot.com/content/cdr/html/real_time_spp.html",
"terms": "https://www.ercot.com/help/terms",
"terms_note": "ERCOT Terms of Use §5: raw data on public portions of ercot.com may be used, reproduced and redistributed in compilations, charts and analyses. Provided as is."
},
{
"id": "ercot_dash",
"publisher": "ERCOT (Electric Reliability Council of Texas)",
"name": "Dashboards: system-wide demand and fuel mix (5-minute generation)",
"url": "https://www.ercot.com/gridmktinfo/dashboards",
"terms": "https://www.ercot.com/help/terms",
"terms_note": "ERCOT Terms of Use §5 (raw data may be redistributed in compilations, charts and analyses). Provided as is."
},
"… 21 more"
],
"docs": "https://texashomebills.com/developers#market",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}GET /api/v1/market/wholesale
ERCOT 结算点电价($/MWh),涵盖 7 个交易枢纽和 8 个负荷区:实时(来自 15 分钟价格)或日前市场,每日平均/最低/最高或每小时,并附每小时和每天的数值个数及完整性标记。
| 参数 | 含义 |
|---|---|
point | Comma list. HB_HOUSTON, HB_NORTH, HB_SOUTH, HB_WEST, HB_PAN, HB_BUSAVG, HB_HUBAVG, LZ_HOUSTON, LZ_NORTH, LZ_SOUTH, LZ_WEST, LZ_AEN, LZ_CPS, LZ_LCRA, LZ_RAYBN; real-time also LZ_*_LZEW (energy-weighted). Default: all 15. |
market | rt (real-time, default) or da (day-ahead) |
granularity | day (default) or hour |
curl "https://texashomebills.com/api/v1/market/wholesale?point=HB_HOUSTON&limit=2"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"dataset": "wholesale-rt-day",
"title": "ERCOT real-time settlement point prices (day)",
"url": "https://texashomebills.com/api#market",
"summary": "Houston hub (HB_HOUSTON) real-time average on 2026-11-22: $19.67/MWh (min $5.81, max $34.10; ERCOT); 2026-11-23 is incomplete so far (32 of 96 15-minute intervals), average to d…",
"tier": "anonymous",
"access": {
"free_window_days": 30,
"free_window": {
"start": "2026-10-25",
"end": "2026-11-23"
},
"history_from": "2023-12-11",
"history_to": "2026-11-23",
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV.",
"max_rows_per_response": 5000
},
"query": {
"market": "RT",
"granularity": "day",
"points": [
"HB_HOUSTON"
],
"start": "2026-10-25",
"end": "2026-11-23"
},
"unit": "USD/MWh",
"method": "Real-time: ERCOT publishes 15-minute settlement point prices; hourly avg/min/max are computed from the 4 intervals of the hour (n_intervals; 4 = complete) and daily values from …",
"total": 30,
"offset": 0,
"limit": 2,
"returned": 2,
"next_offset": 2,
"items": [
{
"date": "2026-10-25",
"market": "RT",
"point": "HB_HOUSTON",
"point_name": "Houston hub",
"avg_usd_per_mwh": 25.907,
"min_usd_per_mwh": 19.61,
"max_usd_per_mwh": 49.94,
"n_values": 96,
"expected_values": 96,
"complete": true,
"source_url": "https://api.ercot.com/api/public-reports/np6-905-cd/spp_node_zone_hub?deliveryDateFrom=2026-10-25&deliveryDateTo=2026-10-27&settlementPoint=<each hub/zone>",
"fetched_at": "2026-10-28T13:14:01.725443+00:00"
},
{
"date": "2026-10-26",
"market": "RT",
"point": "HB_HOUSTON",
"point_name": "Houston hub",
"avg_usd_per_mwh": 46.6482,
"min_usd_per_mwh": 17.46,
"max_usd_per_mwh": 121.52,
"n_values": 96,
"expected_values": 96,
"complete": true,
"source_url": "https://api.ercot.com/api/public-reports/np6-905-cd/spp_node_zone_hub?deliveryDateFrom=2026-10-26&deliveryDateTo=2026-10-28&settlementPoint=<each hub/zone>",
"fetched_at": "2026-10-29T13:13:16.534357+00:00"
}
],
"sources": [
{
"id": "ercot_prices",
"publisher": "ERCOT (Electric Reliability Council of Texas)",
"name": "Settlement point prices for hubs and load zones — real-time (15-minute) and day-ahead (hourly); public market pages and ERCOT Public API reports NP6-905-CD / NP4-190-CD",
"url": "https://www.ercot.com/content/cdr/html/real_time_spp.html",
"terms": "https://www.ercot.com/help/terms",
"terms_note": "ERCOT Terms of Use §5: raw data on public portions of ercot.com may be used, reproduced and redistributed in compilations, charts and analyses. Provided as is."
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"docs": "https://texashomebills.com/developers#market",
"next": "https://texashomebills.com/api/v1/market/wholesale?point=HB_HOUSTON&limit=2&offset=2",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}curl "https://texashomebills.com/api/v1/market/wholesale?point=HB_HOUSTON&market=da&granularity=hour&limit=2"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"dataset": "wholesale-da-hour",
"title": "ERCOT day-ahead settlement point prices (hour)",
"url": "https://texashomebills.com/api#market",
"summary": "Houston hub (HB_HOUSTON) day-ahead average on 2026-11-23: $28.61/MWh (min $15.88, max $42.03; ERCOT)",
"tier": "anonymous",
"access": {
"free_window_days": 30,
"free_window": {
"start": "2026-10-25",
"end": "2026-11-23"
},
"history_from": "2023-12-13",
"history_to": "2026-11-23",
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV.",
"max_rows_per_response": 5000
},
"query": {
"market": "DA",
"granularity": "hour",
"points": [
"HB_HOUSTON"
],
"start": "2026-10-25",
"end": "2026-11-23"
},
"unit": "USD/MWh",
"method": "Day-ahead: hourly prices as published by ERCOT; daily avg/min/max over the hours of the day (24, or 23/25 on DST days). Averages are rounded to 4 decimals; min/max are published…",
"total": 721,
"offset": 0,
"limit": 2,
"returned": 2,
"next_offset": 2,
"items": [
{
"date": "2026-10-25",
"hour_ending": 1,
"dst_repeated_hour": false,
"market": "DA",
"point": "HB_HOUSTON",
"point_name": "Houston hub",
"avg_usd_per_mwh": 23.65,
"min_usd_per_mwh": 23.65,
"max_usd_per_mwh": 23.65,
"n_intervals": 1,
"expected_intervals": 1,
"complete": true,
"day_complete": true,
"source_url": "https://api.ercot.com/api/public-reports/np4-190-cd/dam_stlmnt_pnt_prices?deliveryDateFrom=2026-10-25&deliveryDateTo=2026-10-27&settlementPoint=<each hub/zone>",
"fetched_at": "2026-10-28T13:14:37.546958+00:00"
},
{
"date": "2026-10-25",
"hour_ending": 2,
"dst_repeated_hour": false,
"market": "DA",
"point": "HB_HOUSTON",
"point_name": "Houston hub",
"avg_usd_per_mwh": 22.21,
"min_usd_per_mwh": 22.21,
"max_usd_per_mwh": 22.21,
"n_intervals": 1,
"expected_intervals": 1,
"complete": true,
"day_complete": true,
"source_url": "https://api.ercot.com/api/public-reports/np4-190-cd/dam_stlmnt_pnt_prices?deliveryDateFrom=2026-10-25&deliveryDateTo=2026-10-27&settlementPoint=<each hub/zone>",
"fetched_at": "2026-10-28T13:14:37.546958+00:00"
}
],
"sources": [
{
"id": "ercot_prices",
"publisher": "ERCOT (Electric Reliability Council of Texas)",
"name": "Settlement point prices for hubs and load zones — real-time (15-minute) and day-ahead (hourly); public market pages and ERCOT Public API reports NP6-905-CD / NP4-190-CD",
"url": "https://www.ercot.com/content/cdr/html/real_time_spp.html",
"terms": "https://www.ercot.com/help/terms",
"terms_note": "ERCOT Terms of Use §5: raw data on public portions of ercot.com may be used, reproduced and redistributed in compilations, charts and analyses. Provided as is."
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"docs": "https://texashomebills.com/developers#market",
"next": "https://texashomebills.com/api/v1/market/wholesale?point=HB_HOUSTON&market=da&granularity=hour&limit=2&offset=2",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}GET /api/v1/market/grid
ERCOT 按燃料划分的发电量(每日 MWh 和发电占比,或每小时平均 MW)、含预测值的每小时系统负荷,或 EIA 的 ERCOT 每日需求和发电量。
| 参数 | 含义 |
|---|---|
dataset | fuel_mix (default), load or eia |
granularity | fuel_mix: day (default) or hour · load: hour · eia: day |
fuel | fuel_mix only: comma list, e.g. Solar,Wind,Natural Gas |
curl "https://texashomebills.com/api/v1/market/grid?limit=2"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"dataset": "grid-fuel_mix",
"title": "ERCOT grid: fuel mix (day)",
"url": "https://texashomebills.com/api#market",
"summary": "ERCOT generation on 2026-11-22: natural gas 33.3%, wind 33.0%, solar 13.0%, nuclear 10.0% (share of generation; 288 of 288 five-minute intervals; ERCOT)",
"tier": "anonymous",
"access": {
"free_window_days": 30,
"free_window": {
"start": "2026-10-25",
"end": "2026-11-23"
},
"history_from": "2026-10-08",
"history_to": "2026-11-23",
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV.",
"max_rows_per_response": 5000
},
"query": {
"dataset": "fuel_mix",
"granularity": "day",
"start": "2026-10-25",
"end": "2026-11-23"
},
"units": {
"avg_mw": "MW",
"mwh": "MWh",
"system_load_mw": "MW",
"share_of_generation": "fraction 0–1",
"value": "see unit"
},
"method": "ERCOT publishes generation by fuel every 5 minutes (MW). Hourly avg_mw = mean of the 5-minute values in the hour; mwh = Σ MW × 5/60. Daily rows: MWh and share of total generatio…",
"total": 300,
"offset": 0,
"limit": 2,
"returned": 2,
"next_offset": 2,
"items": [
{
"date": "2026-10-25",
"fuel": "Coal and Lignite",
"avg_mw": 5716.78,
"mwh": 137202.709,
"share_of_generation": 0.108135,
"n_intervals": 288,
"expected_intervals": 288,
"complete": true,
"source_url": "https://www.ercot.com/api/1/services/read/dashboards/fuel-mix.json",
"fetched_at": "2026-10-26T13:11:39.299768+00:00"
},
{
"date": "2026-10-25",
"fuel": "Hydro",
"avg_mw": 27.483,
"mwh": 659.591,
"share_of_generation": 0.00052,
"n_intervals": 288,
"expected_intervals": 288,
"complete": true,
"source_url": "https://www.ercot.com/api/1/services/read/dashboards/fuel-mix.json",
"fetched_at": "2026-10-26T13:11:39.299768+00:00"
}
],
"sources": [
{
"id": "ercot_dash",
"publisher": "ERCOT (Electric Reliability Council of Texas)",
"name": "Dashboards: system-wide demand and fuel mix (5-minute generation)",
"url": "https://www.ercot.com/gridmktinfo/dashboards",
"terms": "https://www.ercot.com/help/terms",
"terms_note": "ERCOT Terms of Use §5 (raw data may be redistributed in compilations, charts and analyses). Provided as is."
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"docs": "https://texashomebills.com/developers#market",
"next": "https://texashomebills.com/api/v1/market/grid?limit=2&offset=2",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}curl "https://texashomebills.com/api/v1/market/grid?dataset=load&limit=2"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"dataset": "grid-load",
"title": "ERCOT grid: load (hour)",
"url": "https://texashomebills.com/api#market",
"summary": "ERCOT system load, hour ending 7:00 on 2026-11-23: 50,170 MW (ERCOT)",
"tier": "anonymous",
"access": {
"free_window_days": 30,
"free_window": {
"start": "2026-10-25",
"end": "2026-11-23"
},
"history_from": "2026-10-08",
"history_to": "2026-11-23",
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV.",
"max_rows_per_response": 5000
},
"query": {
"dataset": "load",
"granularity": "hour",
"start": "2026-10-25",
"end": "2026-11-23"
},
"units": {
"avg_mw": "MW",
"mwh": "MWh",
"system_load_mw": "MW",
"share_of_generation": "fraction 0–1",
"value": "see unit"
},
"method": "ERCOT system-wide demand dashboard: actual system load and forecasts per hour (MW) for the previous and current day; hours without an actual value are not stored.",
"total": 680,
"offset": 0,
"limit": 2,
"returned": 2,
"next_offset": 2,
"items": [
{
"date": "2026-10-25",
"hour_ending": 1,
"dst_flag": "N",
"system_load_mw": 49533.75,
"current_load_forecast_mw": 49822.0258,
"day_ahead_forecast_mw": 48834.4115,
"source_url": "https://www.ercot.com/api/1/services/read/dashboards/system-wide-demand.json",
"fetched_at": "2026-10-26T13:11:38.240041+00:00"
},
{
"date": "2026-10-25",
"hour_ending": 2,
"dst_flag": "N",
"system_load_mw": 47554.52,
"current_load_forecast_mw": 48056.0244,
"day_ahead_forecast_mw": 46916.2684,
"source_url": "https://www.ercot.com/api/1/services/read/dashboards/system-wide-demand.json",
"fetched_at": "2026-10-26T13:11:38.240041+00:00"
}
],
"sources": [
{
"id": "ercot_dash",
"publisher": "ERCOT (Electric Reliability Council of Texas)",
"name": "Dashboards: system-wide demand and fuel mix (5-minute generation)",
"url": "https://www.ercot.com/gridmktinfo/dashboards",
"terms": "https://www.ercot.com/help/terms",
"terms_note": "ERCOT Terms of Use §5 (raw data may be redistributed in compilations, charts and analyses). Provided as is."
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"docs": "https://texashomebills.com/developers#market",
"next": "https://texashomebills.com/api/v1/market/grid?dataset=load&limit=2&offset=2",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}GET /api/v1/market/gas
Henry Hub 天然气现货价格($/MMBtu,EIA),每日或每月。无交易日没有数值。
| 参数 | 含义 |
|---|---|
frequency | daily (default) or monthly |
curl "https://texashomebills.com/api/v1/market/gas?limit=2"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"dataset": "gas-daily",
"title": "Henry Hub natural gas spot price (daily)",
"url": "https://texashomebills.com/api#market",
"summary": "Henry Hub natural gas spot price on 2026-11-17: $3.10/MMBtu, October 2026 average $2.99/MMBtu (EIA)",
"tier": "anonymous",
"access": {
"free_window_days": 30,
"free_window": {
"start": "2026-10-19",
"end": "2026-11-17"
},
"history_from": "1997-01-07",
"history_to": "2026-11-17",
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV.",
"max_rows_per_response": 5000
},
"query": {
"series": [
"eia_henry_hub_daily"
],
"start": null,
"end": null
},
"series_ranges": {
"eia_henry_hub_daily": {
"first": "1997-01-07",
"last": "2026-11-17",
"rows": 7500,
"unit": "$/MMBtu",
"free_from": "2026-10-19"
}
},
"unit": "USD/MMBtu",
"method": "As published by EIA. Days without trading (weekends, holidays) have no value; nothing is filled.",
"total": 22,
"offset": 0,
"limit": 2,
"returned": 2,
"next_offset": 2,
"items": [
{
"series": "eia_henry_hub_daily",
"period": "2026-10-19",
"date": "2026-10-19",
"frequency": "daily",
"description": "Henry Hub natural gas spot price, daily",
"value": 3.28,
"unit": "$/MMBtu",
"status": null,
"previous_value": null,
"revised_at": null,
"source_url": "https://www.eia.gov/dnav/ng/hist_xls/RNGWHHDd.xls",
"first_fetched_at": "2026-10-22T13:12:20.412883+00:00",
"fetched_at": "2026-11-23T14:10:47.584128+00:00"
},
{
"series": "eia_henry_hub_daily",
"period": "2026-10-20",
"date": "2026-10-20",
"frequency": "daily",
"description": "Henry Hub natural gas spot price, daily",
"value": 3.1,
"unit": "$/MMBtu",
"status": null,
"previous_value": null,
"revised_at": null,
"source_url": "https://www.eia.gov/dnav/ng/hist_xls/RNGWHHDd.xls",
"first_fetched_at": "2026-10-22T13:12:20.412883+00:00",
"fetched_at": "2026-11-23T14:10:47.584128+00:00"
}
],
"sources": [
{
"id": "eia_hh",
"publisher": "U.S. Energy Information Administration (EIA)",
"name": "Henry Hub natural gas spot price (RNGWHHD)",
"url": "https://www.eia.gov/dnav/ng/hist/rngwhhdD.htm",
"terms": "https://www.eia.gov/about/copyrights_reuse.php",
"terms_note": "U.S. government work, public domain."
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"docs": "https://texashomebills.com/developers#market",
"next": "https://texashomebills.com/api/v1/market/gas?limit=2&offset=2",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}GET /api/v1/market/texas-retail
EIA 按行业划分的德州月度平均电价、售电量、用户数和收入,以及 BLS 的价格指数和平均价格。被修订的数值会在 previous_value 中保留原数。
| 参数 | 含义 |
|---|---|
dataset | eia861m (default), eia_retail, bls_cpi or bls_ap |
sector | eia861m: res (default), com, ind, tot, all · eia_retail: res, com, ind, tra, oth, all |
measure | price (¢/kWh), sales, customers, revenue — comma list (default all) |
series | Exact series ids from /api/v1/market (overrides dataset) |
curl "https://texashomebills.com/api/v1/market/texas-retail?measure=price"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"dataset": "texas-retail-eia861m",
"title": "Texas retail electricity statistics (EIA) and price indexes (BLS)",
"url": "https://texashomebills.com/api#market",
"summary": "Texas residential average electricity price, August 2026: 15.91¢/kWh (EIA-861M, Preliminary)",
"tier": "anonymous",
"access": {
"free_window_days": 30,
"free_window": {
"start": "2026-07-03",
"end": "2026-08-01"
},
"history_from": "2010-01-01",
"history_to": "2026-08-01",
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV.",
"max_rows_per_response": 5000
},
"query": {
"series": [
"eia861m_tx_res_price"
],
"start": null,
"end": null
},
"series_ranges": {
"eia861m_tx_res_price": {
"first": "2010-01-01",
"last": "2026-08-01",
"rows": 200,
"unit": "¢/kWh",
"free_from": "2026-07-03"
}
},
"method": "Monthly values exactly as published (EIA status Preliminary/Final kept). When the publisher revises a value, previous_value and revised_at show the earlier number. EIA customers…",
"total": 1,
"offset": 0,
"limit": 1000,
"returned": 1,
"next_offset": null,
"items": [
{
"series": "eia861m_tx_res_price",
"period": "2026-08",
"date": "2026-08-01",
"frequency": "monthly",
"sector": "residential",
"sector_code": "res",
"measure": "price",
"description": "EIA-861M Texas — residential price",
"value": 15.91,
"unit": "¢/kWh",
"status": "Preliminary",
"previous_value": null,
"revised_at": null,
"source_url": "https://www.eia.gov/electricity/data/eia861m/xls/sales_revenue.xlsx",
"first_fetched_at": "2026-11-03T12:41:46.408690+00:00",
"fetched_at": "2026-11-17T12:42:51.016827+00:00"
}
],
"sources": [
{
"id": "eia861m",
"publisher": "U.S. Energy Information Administration (EIA)",
"name": "Form EIA-861M monthly sales, revenue, customers and average price (Texas)",
"url": "https://www.eia.gov/electricity/data/eia861m/",
"terms": "https://www.eia.gov/about/copyrights_reuse.php",
"terms_note": "U.S. government work, public domain."
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"docs": "https://texashomebills.com/developers#market",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}GET /api/v1/market/us-states
EIA 提供的各州、哥伦比亚特区及全美零售电力统计,自 2001 年起按月:按用电类别列出平均电价(美分/千瓦时)、售电量(百万千瓦时)、收入(百万美元)和用户数。序列 ID 为 eia_state_<STATE>_<sector>_<measure>。被修订的数值会把之前的数字保存在 previous_value 中。
| 参数 | 含义 |
|---|---|
state | Two-letter code(s), comma list; US = U.S. total; all = every state + US (default TX,US) |
sector | res (default), com, ind, tra, all — comma list |
measure | price (default), sales, revenue, customers — comma list, or all |
curl "https://texashomebills.com/api/v1/market/us-states?state=TX,US§or=res&measure=price"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"dataset": "us-states",
"title": "U.S. retail electricity statistics by state (EIA)",
"url": "https://texashomebills.com/api#market",
"summary": "Residential average electricity price in 2026-08: Texas 15.91¢/kWh (rank 22 of 51, 1 = cheapest) vs U.S. 18.16¢/kWh (EIA)",
"tier": "anonymous",
"access": {
"free_window_days": 30,
"free_window": {
"start": "2026-07-03",
"end": "2026-08-01"
},
"history_from": "2001-01-01",
"history_to": "2026-08-01",
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV.",
"max_rows_per_response": 5000
},
"query": {
"series": [
"eia_state_TX_res_price",
"eia_state_US_res_price"
],
"start": null,
"end": null
},
"series_ranges": {
"eia_state_TX_res_price": {
"first": "2001-01-01",
"last": "2026-08-01",
"rows": 308,
"unit": "¢/kWh",
"free_from": "2026-07-03"
},
"eia_state_US_res_price": {
"first": "2001-01-01",
"last": "2026-08-01",
"rows": 308,
"unit": "¢/kWh",
"free_from": "2026-07-03"
}
},
"method": "Monthly values exactly as published by EIA (API v2 electricity/retail-sales): price in cents per kWh, sales in million kWh, revenue in million dollars, customers as a count. Whe…",
"total": 2,
"offset": 0,
"limit": 1000,
"returned": 2,
"next_offset": null,
"items": [
{
"series": "eia_state_TX_res_price",
"period": "2026-08",
"date": "2026-08-01",
"frequency": "monthly",
"state": "TX",
"state_name": "Texas",
"sector": "residential",
"sector_code": "res",
"measure": "price",
"description": "EIA retail sales — Texas, residential, price",
"value": 15.91,
"unit": "¢/kWh",
"status": null,
"previous_value": null,
"revised_at": null,
"source_url": "https://api.eia.gov/v2/electricity/retail-sales/data/?frequency=monthly&facets[sectorid][]=RES,COM,IND,TRA,ALL&facets[stateid][]=all-states",
"first_fetched_at": "2026-11-03T12:42:21.388591+00:00",
"fetched_at": "2026-11-17T12:43:30.106985+00:00"
},
{
"series": "eia_state_US_res_price",
"period": "2026-08",
"date": "2026-08-01",
"frequency": "monthly",
"state": "US",
"state_name": "U.S. total",
"sector": "residential",
"sector_code": "res",
"measure": "price",
"description": "EIA retail sales — U.S. total, residential, price",
"value": 18.16,
"unit": "¢/kWh",
"status": null,
"previous_value": null,
"revised_at": null,
"source_url": "https://api.eia.gov/v2/electricity/retail-sales/data/?frequency=monthly&facets[sectorid][]=RES,COM,IND,TRA,ALL&facets[stateid][]=all-states",
"first_fetched_at": "2026-11-03T12:42:21.388591+00:00",
"fetched_at": "2026-11-17T12:43:30.106985+00:00"
}
],
"sources": [
{
"id": "eia_states",
"publisher": "U.S. Energy Information Administration (EIA)",
"name": "API v2 electricity/retail-sales (all states, District of Columbia and U.S. total, by sector)",
"url": "https://www.eia.gov/electricity/monthly/epm_table_grapher.php?t=epmt_5_6_a",
"terms": "https://www.eia.gov/about/copyrights_reuse.php",
"terms_note": "U.S. government work, public domain. Cite: Source: U.S. Energy Information Administration."
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"docs": "https://texashomebills.com/developers#market",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}GET /api/v1/market/large-load
ERCOT 的大型负荷(数据中心等 75 MW 及以上负荷)、峰值需求纪录和预测,读取自 ERCOT 文件,每一行都附有文件 URL:获准通电的 MW 及每月观测峰值、ERCOT 跟踪的大型负荷申请 GW、Batch Zero 分类、月度和年度峰值需求,以及长期负荷预测峰值。
| 参数 | 含义 |
|---|---|
dataset | monthly (default), queue, batch_zero, peak_demand or forecast |
curl "https://texashomebills.com/api/v1/market/large-load?dataset=monthly"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"dataset": "large-load-monthly",
"title": "ERCOT large loads and peak demand (monthly)",
"url": "https://texashomebills.com/api#market",
"summary": "ERCOT Monthly Operational Overview October 2026: 9,456 MW of large loads approved to energize, observed non-simultaneous peak 5,115 MW; ERCOT all-time peak demand record 91,134 …",
"tier": "anonymous",
"access": {
"free_window_days": 30,
"free_window": {
"start": "2026-09-02",
"end": "2026-10-01"
},
"history_from": "2025-04-01",
"history_to": "2026-10-01",
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV.",
"max_rows_per_response": 5000
},
"query": {
"series": [
"ercot_ll_approved_mw",
"ercot_ll_observed_peak_mw"
],
"start": null,
"end": null
},
"series_ranges": {
"ercot_ll_approved_mw": {
"first": "2025-04-01",
"last": "2026-10-01",
"rows": 19,
"unit": "MW",
"free_from": "2026-09-02"
},
"ercot_ll_observed_peak_mw": {
"first": "2025-04-01",
"last": "2026-10-01",
"rows": 19,
"unit": "MW",
"free_from": "2026-09-02"
}
},
"method": "Numbers are read from the text of ERCOT documents (the Monthly Operational Overview, peak demand records pages, Long-Term Load Forecast files, Board and Senate presentations) an…",
"total": 2,
"offset": 0,
"limit": 1000,
"returned": 2,
"next_offset": null,
"items": [
{
"series": "ercot_ll_approved_mw",
"period": "2026-10",
"date": "2026-10-01",
"frequency": "monthly",
"description": "Large loads (75 MW+) that have received ERCOT Approval to Energize, MW (ERCOT Monthly Operational Overview, by report month)",
"value": 9456.0,
"unit": "MW",
"status": null,
"previous_value": null,
"revised_at": null,
"source_url": "https://www.ercot.com/files/docs/2026/11/17/ERCOT-Monthly-Operational-Overview-October-2026.pdf",
"first_fetched_at": "2026-11-18T14:14:37.485085+00:00",
"fetched_at": "2026-11-18T14:14:37.485085+00:00"
},
{
"series": "ercot_ll_observed_peak_mw",
"period": "2026-10",
"date": "2026-10-01",
"frequency": "monthly",
"description": "Observed non-simultaneous monthly peak consumption of the approved large loads, MW (sum of each load's own monthly maximum)",
"value": 5115.0,
"unit": "MW",
"status": null,
"previous_value": null,
"revised_at": null,
"source_url": "https://www.ercot.com/files/docs/2026/11/17/ERCOT-Monthly-Operational-Overview-October-2026.pdf",
"first_fetched_at": "2026-11-18T14:14:37.485085+00:00",
"fetched_at": "2026-11-18T14:14:37.485085+00:00"
}
],
"sources": [
{
"id": "ercot_docs",
"publisher": "ERCOT (Electric Reliability Council of Texas)",
"name": "Monthly Operational Overview, peak demand records pages, Long-Term Load Forecast files, Board and Senate presentations (large loads, peak demand records and forecasts)",
"url": "https://www.ercot.com/committees/board",
"terms": "https://www.ercot.com/help/terms",
"terms_note": "ERCOT Terms of Use §5: raw data on public portions of ercot.com may be used, reproduced and redistributed in compilations, charts and analyses. Numbers are read from the documen…"
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"docs": "https://texashomebills.com/developers#market",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}GET /api/v1/market/weather
来自 NOAA NCEI 的德州 8 个机场每日最高、最低和平均气温(°F),以及我们根据最高和最低气温计算的制冷和采暖度日(基准 65°F)。
| 参数 | 含义 |
|---|---|
city | Dallas-Fort Worth, Houston, Austin, San Antonio, Lubbock, Corpus Christi, Midland, Abilene (comma list; default all) |
station | GHCN-Daily station id, e.g. USW00003927 (DFW) |
curl "https://texashomebills.com/api/v1/market/weather?city=Houston&limit=2"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"dataset": "weather",
"title": "Daily temperature and degree days, 8 Texas airports",
"url": "https://texashomebills.com/api#market",
"summary": "Houston (USW00012960) on 2026-11-15: high 60°F, low 49°F, 10.5 heating degree days (NOAA NCEI; degree days computed by TexasHomeBills, base 65°F)",
"tier": "anonymous",
"access": {
"free_window_days": 30,
"free_window": {
"start": "2026-10-17",
"end": "2026-11-15"
},
"history_from": "2020-01-01",
"history_to": "2026-11-15",
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV.",
"max_rows_per_response": 5000
},
"query": {
"stations": [
"USW00012960"
],
"start": "2026-10-17",
"end": "2026-11-15"
},
"stations": [
{
"station": "USW00003927",
"city": "Dallas-Fort Worth"
},
{
"station": "USW00012960",
"city": "Houston"
},
"… 6 more"
],
"units": {
"tmax_f": "°F",
"tmin_f": "°F",
"tavg_f": "°F",
"cdd": "°F-days (base 65°F)",
"hdd": "°F-days (base 65°F)"
},
"method": "TMAX/TMIN/TAVG as published in GHCN-Daily (TAVG blank when the station does not report it). CDD/HDD are computed by TexasHomeBills: mean = (TMAX + TMIN) / 2, CDD = max(mean − 65…",
"total": 30,
"offset": 0,
"limit": 2,
"returned": 2,
"next_offset": 2,
"items": [
{
"date": "2026-10-17",
"station": "USW00012960",
"city": "Houston",
"tmax_f": 74.0,
"tmin_f": 51.0,
"tavg_f": null,
"cdd": 0.0,
"hdd": 2.5,
"source_url": "https://www.ncei.noaa.gov/access/services/data/v1?dataset=daily-summaries&stations=USW00003927,USW00012960,USW00013904,USW00012921,USW00023042,USW00012924,USW00023023,USW0001396…",
"first_fetched_at": "2026-10-21T13:11:03.336821+00:00",
"fetched_at": "2026-11-23T14:11:12.782116+00:00",
"revised_at": null
},
{
"date": "2026-10-18",
"station": "USW00012960",
"city": "Houston",
"tmax_f": 75.0,
"tmin_f": 50.0,
"tavg_f": null,
"cdd": 0.0,
"hdd": 2.5,
"source_url": "https://www.ncei.noaa.gov/access/services/data/v1?dataset=daily-summaries&stations=USW00003927,USW00012960,USW00013904,USW00012921,USW00023042,USW00012924,USW00023023,USW0001396…",
"first_fetched_at": "2026-10-22T13:12:42.575217+00:00",
"fetched_at": "2026-11-23T14:11:12.782116+00:00",
"revised_at": null
}
],
"sources": [
{
"id": "noaa",
"publisher": "NOAA National Centers for Environmental Information (NCEI)",
"name": "Global Historical Climatology Network – Daily (GHCN-Daily), airport stations",
"url": "https://www.ncei.noaa.gov/products/land-based-station/global-historical-climatology-network-daily",
"terms": "https://www.ncei.noaa.gov/products/land-based-station/global-historical-climatology-network-daily",
"terms_note": "NOAA data, public domain. Cooling/heating degree days are computed by TexasHomeBills from TMAX and TMIN."
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"docs": "https://texashomebills.com/developers#market",
"next": "https://texashomebills.com/api/v1/market/weather?city=Houston&limit=2&offset=2",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}GET /api/v1/market/delivery-charges
各配电公司(TDU)的输配电费及生效日期:PUCT 月度费率报告的数值与大多数 EFL 所列数值并列显示。两者不同时(目前为 Oncor 的每千瓦时费用),会同时显示并附说明;我们不替您选择其中之一。
| 参数 | 含义 |
|---|---|
utility | oncor, centerpoint, aep_central, aep_north, tnmp, lpl, nueces (comma list) |
source | puct_monthly_report or efl_consensus |
history | 1 = every stored row instead of current values (also implied by start or end; by effective date) |
curl "https://texashomebills.com/api/v1/market/delivery-charges?utility=oncor"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"dataset": "delivery-charges",
"title": "TDU delivery charges (PUCT reports and EFL consensus)",
"url": "https://texashomebills.com/api#market",
"summary": "Oncor delivery per kWh: PUCT report 6.8673¢ vs EFL majority 6.8673¢ (same) (PUCT; EFLs read by TexasHomeBills)",
"tier": "anonymous",
"access": {
"free_window_days": 30,
"free_window": null,
"history_from": "2026-10-01",
"history_to": "2026-11-23",
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV.",
"max_rows_per_response": 5000
},
"mode": "current",
"query": {
"utility": [
"oncor"
],
"source": null,
"start": null,
"end": null
},
"method": "Current = for each utility, source and component, the value with the latest effective date. Tables are append-only: a changed value becomes a new row with its own effective date…",
"comparison": [
{
"utility": "oncor",
"utility_name": "Oncor",
"per_kwh_cents": {
"puct_monthly_report": 6.8673,
"puct_effective_date": "2026-11-01",
"puct_date_label": "As of November 1, 2026",
"efl_consensus": 6.8673,
"efl_observed": "2026-11-23",
"efl_sample_n": 145,
"difference_cents": 0.0,
"status": "same"
},
"fixed_monthly": {
"puct_customer_plus_metering_usd_per_month": 4.06,
"efl_customer_plus_metering_usd_per_month": 4.06,
"status": "same"
},
"note": null,
"note_sources": null
}
],
"total": 8,
"offset": 0,
"limit": 1000,
"returned": 8,
"next_offset": null,
"items": [
{
"utility": "oncor",
"utility_name": "Oncor",
"utility_type": "tdu",
"source": "efl_consensus",
"publisher": "TexasHomeBills™ (from retail providers' Electricity Facts Labels)",
"component": "customer_plus_metering",
"value": 4.06,
"unit": "$/month",
"effective_date": "2026-11-23",
"date_label": "observed 2026-11-23",
"sample_n": 145,
"source_url": null,
"source_note": "TexasHomeBills EFL reader (parsed EFLs of active Power to Choose plans)",
"first_seen_at": "2026-11-23T14:10:42.791545+00:00",
"last_seen_at": "2026-11-23T14:10:42.791545+00:00"
},
{
"utility": "oncor",
"utility_name": "Oncor",
"utility_type": "tdu",
"source": "efl_consensus",
"publisher": "TexasHomeBills™ (from retail providers' Electricity Facts Labels)",
"component": "per_kwh",
"value": 6.8673,
"unit": "¢/kWh",
"effective_date": "2026-11-23",
"date_label": "observed 2026-11-23",
"sample_n": 145,
"source_url": null,
"source_note": "TexasHomeBills EFL reader (parsed EFLs of active Power to Choose plans)",
"first_seen_at": "2026-11-23T14:10:42.791545+00:00",
"last_seen_at": "2026-11-23T14:10:42.791545+00:00"
},
"… 6 more"
],
"sources": [
{
"id": "puct_tdr",
"publisher": "Public Utility Commission of Texas (PUCT)",
"name": "Transmission and Distribution Rates — PUCT monthly rate reports per utility",
"url": "https://www.puc.texas.gov/industry/electric/rates/tdr/",
"terms": "https://www.puc.texas.gov/industry/electric/rates/tdr/",
"terms_note": "Texas state agency public information."
},
{
"id": "efl",
"publisher": "TexasHomeBills™ (from retail providers' Electricity Facts Labels)",
"name": "Most common delivery charges printed on parsed EFLs of active plans (EFL consensus)",
"url": "https://www.powertochoose.org/",
"terms": null,
"terms_note": "Our own reading of public EFL documents; sample_n = number of EFLs with that value."
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"docs": "https://texashomebills.com/developers#market",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}GET /api/v1/market/municipal-rates
Austin Energy 和 CPS Energy 的居民电价组成(固定费、用电分档电价、调整费、各项收费),按其电价表原样提供,并附生效日期。
| 参数 | 含义 |
|---|---|
utility | austin_energy or cps_energy |
history | 1 = history rows (or start/end by effective date) |
curl "https://texashomebills.com/api/v1/market/municipal-rates?utility=cps_energy&limit=2"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"dataset": "municipal-rates",
"title": "Municipal utility residential rates (Austin Energy, CPS Energy)",
"url": "https://texashomebills.com/api#market",
"summary": "CPS Energy energy charge $0.07503/kWh (effective 2024-02-01)",
"tier": "anonymous",
"access": {
"free_window_days": 30,
"free_window": null,
"history_from": "2024-02-01",
"history_to": "2026-11-17",
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV.",
"max_rows_per_response": 5000
},
"mode": "current",
"query": {
"utility": [
"cps_energy"
],
"source": null,
"start": null,
"end": null
},
"method": "Current = for each utility, source and component, the value with the latest effective date. Tables are append-only: a changed value becomes a new row with its own effective date…",
"total": 5,
"offset": 0,
"limit": 2,
"returned": 2,
"next_offset": 2,
"items": [
{
"utility": "cps_energy",
"utility_name": "CPS Energy",
"utility_type": "municipal",
"source": "cps_energy_tariff",
"publisher": "CPS Energy (City of San Antonio)",
"component": "energy_charge",
"value": 0.07503,
"unit": "$/kWh",
"effective_date": "2024-02-01",
"date_label": "Effective Date: February 1, 2024",
"sample_n": null,
"source_url": "https://www.cpsenergy.com/content/dam/corporate/en/Documents/2024_Rate_ResidentialElectric.pdf",
"source_note": null,
"first_seen_at": "2026-10-09T13:35:05.671758+00:00",
"last_seen_at": "2026-11-17T12:43:27.390235+00:00",
"area": null
},
{
"utility": "cps_energy",
"utility_name": "CPS Energy",
"utility_type": "municipal",
"source": "cps_energy_tariff",
"publisher": "CPS Energy (City of San Antonio)",
"component": "fuel_base_cost",
"value": 0.01416,
"unit": "$/kWh",
"effective_date": "2024-02-01",
"date_label": "Effective Date: February 1, 2024",
"sample_n": null,
"source_url": "https://www.cpsenergy.com/content/dam/corporate/en/Documents/2024_Rate_ResidentialElectric.pdf",
"source_note": null,
"first_seen_at": "2026-10-09T13:35:05.671758+00:00",
"last_seen_at": "2026-11-17T12:43:27.390235+00:00",
"area": null
}
],
"sources": [
{
"id": "austin",
"publisher": "Austin Energy (City of Austin)",
"name": "Electric Tariff — residential service",
"url": "https://austinenergy.com/rates/approved-rates-schedules",
"terms": null,
"terms_note": "Public municipal tariff."
},
{
"id": "cps",
"publisher": "CPS Energy (City of San Antonio)",
"name": "Residential Electric Rate (RE)",
"url": "https://www.cpsenergy.com/en/about-us/who-we-are/rates.html",
"terms": null,
"terms_note": "Public municipal tariff."
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"docs": "https://texashomebills.com/developers#market",
"next": "https://texashomebills.com/api/v1/market/municipal-rates?utility=cps_energy&limit=2&offset=2",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}GET /api/v1/market/complaints
PUCT 6 个月统计期内各零售电力公司(法人)按类别的投诉数量,以及与各法人关联的 Power to Choose 品牌。PUCT 不公布用户数,因此没有按用户计算的比率。
| 参数 | 含义 |
|---|---|
provider | Legal or DBA name contains |
window | all = every stored window (Pro) |
start / end | Filter by window end date (older windows need Pro) |
curl "https://texashomebills.com/api/v1/market/complaints?provider=Reliant"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"dataset": "complaints",
"title": "PUCT customer complaint statistics by retail electric provider",
"url": "https://texashomebills.com/api#market",
"summary": "PUCT complaints matching 'Reliant': RELIANT ENERGY RETAIL SERVICES LLC 412 (2026-05-01 to 2026-10-31) (PUCT)",
"tier": "anonymous",
"access": {
"free_window_days": 30,
"free_window": {
"start": "2026-10-02",
"end": "2026-10-31"
},
"history_from": "2026-04-01",
"history_to": "2026-10-31",
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV.",
"max_rows_per_response": 5000
},
"windows": [
{
"start": "2026-05-01",
"end": "2026-10-31",
"providers": 144
},
{
"start": "2026-04-01",
"end": "2026-09-30",
"providers": 144
}
],
"query": {
"provider": "Reliant",
"start": null,
"end": null,
"window": "latest"
},
"method": "Counts exactly as PUCT shows them for its rolling 6-month window, per legal entity (one entity's count covers all its brands). PUCT publishes no customer counts, so per-customer…",
"total": 1,
"offset": 0,
"limit": 1000,
"returned": 1,
"next_offset": null,
"items": [
{
"window_start": "2026-05-01",
"window_end": "2026-10-31",
"company": "RELIANT ENERGY RETAIL SERVICES LLC",
"dba_names": [
"NRG HOME",
"RELIANT",
"… 2 more"
],
"total_complaints": 412,
"by_category": {
"slamming": 32,
"cramming": 6,
"billing": 195,
"quality_of_service": 0,
"discontinuance": 101,
"provision_of_service": 75,
"other": 3
},
"customers": null,
"complaints_per_10k_customers": null,
"brands_on_power_to_choose": [
{
"brand": "Reliant",
"power_to_choose_name": "RELIANT",
"url": "https://texashomebills.com/providers/reliant",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/providers/reliant"
}
],
"report_generated": "11/23/2026 8:10:44 AM",
"source_url": "https://www.puc.texas.gov/consumer-help/electricity/electric-complaints/customercomplaintstats/",
"fetched_at": "2026-11-23T14:10:44.416368+00:00"
}
],
"sources": [
{
"id": "puct_complaints",
"publisher": "Public Utility Commission of Texas (PUCT)",
"name": "Customer Complaint Statistics (retail electric providers)",
"url": "https://www.puc.texas.gov/consumer-help/electricity/electric-complaints/customercomplaintstats/",
"terms": null,
"terms_note": "Texas state agency public information."
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"docs": "https://texashomebills.com/developers#market",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}GET /api/v1/market/regulatory
PUCT 新闻稿和近期规则变更:标题、日期和链接。
| 参数 | 含义 |
|---|---|
kind | all (default), news or rule |
q | Word in the title |
curl "https://texashomebills.com/api/v1/market/regulatory?kind=rule&limit=2"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"dataset": "regulatory",
"title": "PUCT news releases and recent rule changes",
"url": "https://texashomebills.com/api#market",
"summary": "Latest PUCT rule change (2026-11-25): Determination on Public Interest — https://www.puc.texas.gov/agency/rulesnlaws/recent/",
"tier": "anonymous",
"access": {
"free_window_days": 30,
"free_window": {
"start": "2026-10-27",
"end": "2026-11-25"
},
"history_from": "2018-03-08",
"history_to": "2026-11-25",
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV.",
"max_rows_per_response": 5000
},
"query": {
"kind": "rule",
"q": null,
"start": "2026-10-27",
"end": "2026-11-25"
},
"method": "Title, date and link as listed on the PUCT pages. Rules: date = effective or reviewed date shown by PUCT. News links may point to PUCT PDFs or the Governor's office.",
"total": 6,
"offset": 0,
"limit": 2,
"returned": 2,
"next_offset": 2,
"items": [
{
"kind": "rule",
"date": "2026-11-25",
"title": "Determination on Public Interest",
"url": "https://www.puc.texas.gov/agency/rulesnlaws/recent/",
"project_no": "59086",
"rule": "§24.311",
"source_url": "https://www.puc.texas.gov/agency/rulesnlaws/recent/",
"publisher": "Public Utility Commission of Texas (PUCT)",
"first_seen_at": "2026-11-20T14:12:53.748621+00:00"
},
{
"kind": "rule",
"date": "2026-11-25",
"title": "Evidentiary Hearing on Public Interest",
"url": "https://www.puc.texas.gov/agency/rulesnlaws/recent/",
"project_no": "59086",
"rule": "§24.309",
"source_url": "https://www.puc.texas.gov/agency/rulesnlaws/recent/",
"publisher": "Public Utility Commission of Texas (PUCT)",
"first_seen_at": "2026-11-20T14:12:53.748621+00:00"
}
],
"sources": [
{
"id": "puct_news",
"publisher": "Public Utility Commission of Texas (PUCT)",
"name": "News releases",
"url": "https://www.puc.texas.gov/agency/resources/pubs/news/",
"terms": null,
"terms_note": "Texas state agency public information."
},
{
"id": "puct_rules",
"publisher": "Public Utility Commission of Texas (PUCT)",
"name": "Recent rule changes",
"url": "https://www.puc.texas.gov/agency/rulesnlaws/recent/",
"terms": null,
"terms_note": "Texas state agency public information."
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"docs": "https://texashomebills.com/developers#market",
"next": "https://texashomebills.com/api/v1/market/regulatory?kind=rule&limit=2&offset=2",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}GET /api/v1/market/stats
我们根据 Power to Choose 每条列表计算的每日统计:按配电公司(列表数、价格和年费用百分位、含账单抵扣或 100% 可再生能源的比例)或按电力公司(列表数、排名、EFL 核对结果、评分)。
| 参数 | 含义 |
|---|---|
kind | utility (default) or provider |
utility | Utility id(s) |
provider | Provider name contains |
curl "https://texashomebills.com/api/v1/market/stats?utility=oncor"
响应示例 (HTTP 200)
{
"attribution": {
"required": true,
"name": "TexasHomeBills™",
"url": "https://texashomebills.com/api#market",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"license": {
"tier": "anonymous",
"commercial_use": false,
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"terms": "https://texashomebills.com/terms#data",
"api_terms": "https://texashomebills.com/api-terms",
"upgrade": "https://texashomebills.com/api#commercial"
}
},
"dataset": "stats-utility",
"title": "TexasHomeBills daily utility statistics",
"url": "https://texashomebills.com/api#market",
"summary": "On 2026-11-23, the median estimated 12-month cost at 1,000 kWh/month among default-ranked plans ranged from $1,452.58 (AEP Texas Central) to $1,797.28 (Texas-New Mexico Power (T…",
"tier": "anonymous",
"access": {
"free_window_days": 30,
"free_window": {
"start": "2026-10-25",
"end": "2026-11-23"
},
"history_from": "2026-10-09",
"history_to": "2026-11-23",
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV.",
"max_rows_per_response": 5000
},
"query": {
"kind": "utility",
"start": "2026-10-25",
"end": "2026-11-23"
},
"units": {
"price_1000_kwh_cents": "¢/kWh (Power to Choose average price at 1,000 kWh)",
"estimated_annual_cost_usd_at_1000_kwh": "USD per year, 1,000 kWh/month average on a seasonal Texas profile, before taxes",
"share_*": "fraction 0–1 of listings"
},
"method": "Computed daily from every Power to Choose listing (English and Spanish duplicates included). Percentiles: statistics.quantiles(n=10, method='inclusive'). Provider EFL-difference…",
"total": 30,
"offset": 0,
"limit": 1000,
"returned": 30,
"next_offset": null,
"items": [
{
"date": "2026-10-25",
"utility": "oncor",
"utility_name": "Oncor",
"url": "https://texashomebills.com/electricity/oncor",
"listings": 207,
"priced_listings": 207,
"price_1000_kwh_cents": {
"p10": 10.72,
"median": 13.3,
"p90": 15.5
},
"ranked_listings": 136,
"estimated_annual_cost_usd_at_1000_kwh": {
"p10": 1511.2,
"median": 1650.0,
"p90": 1860.0
},
"share_with_bill_credit": 0.0676,
"share_100pct_renewable": 0.2705,
"computed_at": "2026-10-25T13:11:49.703413+00:00",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/electricity/oncor"
},
{
"date": "2026-10-26",
"utility": "oncor",
"utility_name": "Oncor",
"url": "https://texashomebills.com/electricity/oncor",
"listings": 207,
"priced_listings": 207,
"price_1000_kwh_cents": {
"p10": 10.72,
"median": 13.3,
"p90": 15.5
},
"ranked_listings": 136,
"estimated_annual_cost_usd_at_1000_kwh": {
"p10": 1511.2,
"median": 1650.0,
"p90": 1860.0
},
"share_with_bill_credit": 0.0676,
"share_100pct_renewable": 0.2705,
"computed_at": "2026-10-26T13:11:42.501351+00:00",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/electricity/oncor"
},
"… 28 more"
],
"sources": [
{
"id": "thb_plans",
"publisher": "TexasHomeBills™ (computed from the daily Power to Choose snapshot, PUCT)",
"name": "Per-utility and per-provider daily statistics of listed plans",
"url": "https://www.powertochoose.org/",
"terms": null,
"terms_note": "Our analysis; free with attribution (TexasHomeBills™ + link)."
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"docs": "https://texashomebills.com/developers#market",
"source": "TexasHomeBills™",
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market"
}Pro 端点
这些端点需要来自有效 Pro 订阅账户的密钥;其他请求会收到 403。 价格 →
| Endpoint | 返回内容 |
|---|---|
GET /api/v1/electricity/history/plans?date=2026-10-09 | 当天记录的每条挂牌信息:价格、期限、费用、账单抵扣额、EFL 核对和年度费用排名。可选:utility、limit(最多 5,000)、offset。不带 date 时为最近一天。 |
GET /api/v1/electricity/history/plan/<id> | 单个套餐的逐日记录,以及我们读取的每个 EFL 版本 |
GET /api/v1/electricity/bulk/plans.csv · /electricity/bulk/plans.json | 所有有效套餐合为一个文件,每天更新 |
GET /api/v1/bulk/<series>.csv | 以 CSV 分段传送某个市场或公共数据系列的完整历史。start 和 end 可选。每行都有发布机构、source_url 和一列出处说明。wholesale-hourly · wholesale-daily · grid-fuel-mix · grid-load · grid-eia · gas · texas-retail · us-states · large-load · generation · rto-demand · steo · wireless · weather · delivery-charges · municipal-rates · complaints · regulatory · market-stats-utility · market-stats-provider |
GET /api/v1/market/…?start=… | 任何市场端点中早于免费范围的日期,直至完整历史。 |
没有 Pro 密钥时,这些端点返回 403 pro_required,例如:
curl "https://texashomebills.com/api/v1/electricity/history/plans?date=2026-10-09&limit=2"
响应示例 (HTTP 403)
{
"attribution": {
"html": "Source: <a href=\"https://texashomebills.com\">TexasHomeBills™</a>",
"license": {
"api_terms": "https://texashomebills.com/api-terms",
"commercial_use": false,
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"terms": "https://texashomebills.com/terms#data",
"tier": "anonymous",
"upgrade": "https://texashomebills.com/api#commercial"
},
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com)",
"name": "TexasHomeBills™",
"required": true,
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"text": "Source: TexasHomeBills™ — https://texashomebills.com",
"url": "https://texashomebills.com"
},
"docs": "https://texashomebills.com/developers",
"error": "pro_required",
"get_key": "https://texashomebills.com/account#api",
"message": "This endpoint is part of the Pro plan ($99/month or $990/year). Send an API key from an account with an active Pro subscription. Upgrade at https://texashomebills.com/api",
"pricing": "https://texashomebills.com/api"
}错误
400 bad_request | 参数无效(市场端点)。错误信息会列出允许的取值。 |
401 invalid_api_key | 密钥不存在或已撤销。去掉它即可无密钥使用 API,或创建新密钥。 |
403 pro_required | 该端点或您请求的日期需要来自有效 Pro 订阅账户的密钥。对于市场数据,响应正文包含 free_window 和 history_from。 |
404 | 未知的套餐 ID、slug 或批量系列。 |
429 rate_limited | 已达到限额。响应正文给出 limit、window、reset(Unix 时间)和 reset_at;Retry-After 请求头给出需等待的秒数。返回 429 的请求不计数。 |
curl "https://texashomebills.com/api/v1/market/wholesale?point=HB_FOO"
响应示例 (HTTP 400)
{
"attribution": {
"html": "Source: <a href=\"https://texashomebills.com\">TexasHomeBills™</a>",
"license": {
"api_terms": "https://texashomebills.com/api-terms",
"commercial_use": false,
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"terms": "https://texashomebills.com/terms#data",
"tier": "anonymous",
"upgrade": "https://texashomebills.com/api#commercial"
},
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com)",
"name": "TexasHomeBills™",
"required": true,
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"text": "Source: TexasHomeBills™ — https://texashomebills.com",
"url": "https://texashomebills.com"
},
"docs": "https://texashomebills.com/developers",
"error": "bad_request",
"message": "unknown point HB_FOO. Use: HB_HOUSTON, HB_NORTH, HB_SOUTH, HB_WEST, HB_PAN, HB_BUSAVG, HB_HUBAVG, LZ_HOUSTON, LZ_NORTH, LZ_SOUTH, LZ_WEST, LZ_AEN, LZ_CPS, LZ_LCRA, LZ_RAYBN (rea…"
}响应示例 (HTTP 401)
{
"attribution": {
"html": "Source: <a href=\"https://texashomebills.com\">TexasHomeBills™</a>",
"license": {
"api_terms": "https://texashomebills.com/api-terms",
"commercial_use": false,
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"terms": "https://texashomebills.com/terms#data",
"tier": "anonymous",
"upgrade": "https://texashomebills.com/api#commercial"
},
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com)",
"name": "TexasHomeBills™",
"required": true,
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"text": "Source: TexasHomeBills™ — https://texashomebills.com",
"url": "https://texashomebills.com"
},
"docs": "https://texashomebills.com/developers",
"error": "invalid_api_key",
"get_key": "https://texashomebills.com/account#api",
"message": "This API key is not valid or has been revoked. Remove it to use the API without a key (10 requests per hour, 50 per day per IP), or create a free key at https://texashomebills.c…"
}curl "https://texashomebills.com/api/v1/market/wholesale?start=2026-02-01"
响应示例 (HTTP 403)
{
"attribution": {
"html": "Source: <a href=\"https://texashomebills.com\">TexasHomeBills™</a>",
"license": {
"api_terms": "https://texashomebills.com/api-terms",
"commercial_use": false,
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"terms": "https://texashomebills.com/terms#data",
"tier": "anonymous",
"upgrade": "https://texashomebills.com/api#commercial"
},
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com)",
"name": "TexasHomeBills™",
"required": true,
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"text": "Source: TexasHomeBills™ — https://texashomebills.com",
"url": "https://texashomebills.com"
},
"docs": "https://texashomebills.com/developers",
"error": "pro_required",
"free_window": {
"days": 30,
"end": "2026-11-23",
"start": "2026-10-25"
},
"get_key": "https://texashomebills.com/account#api",
"history_from": "2023-12-11",
"message": "Free access (no key or free key) covers the most recent 30 days of each series. For ERCOT RT prices that is 2026-10-25 to 2026-11-23; you asked for data from 2026-02-01. The ful…",
"pricing": "https://texashomebills.com/api"
}{"error": "rate_limited", "message": "Rate limit reached: 10 requests per hour …", "tier": "anonymous",
"limit": 10, "window": "hour", "reset": 1791561600, "reset_at": "2026-10-09T16:00:00Z", "retry_after": 1200,
"get_key": "https://texashomebills.com/account#api", "attribution": {…}}
在 /mcp 上,同样的信息以 JSON-RPC 错误返回,位于 error.data 中。 市场工具如被请求超出免费范围的日期,会返回 isError=true 的工具结果,并附 pro_required 信息。
MCP
在 Claude、ChatGPT、Cursor 或任何 MCP 客户端中,将此 URL 添加为远程 MCP 服务器(Streamable HTTP):
https://texashomebills.com/mcp
通过 POST 使用 JSON-RPC 2.0,无状态。方法:initialize、tools/list、tools/call、ping。密钥(可选)放在 POST 的 X-API-Key 或 Authorization 标头中;适用与 API 相同的限额和数据范围。
aboutWhat TexasHomeBills™ is and how its numbers are computed. Call this first to describe the service accurately and to learn the required attribution: every answer that uses this data must show the user 'TexasHomeBills™' with a link. Free for non-commercial use with attribution; commercial use requires Pro. 参数: —electricity_utilitiesTexas utilities (TDUs) in the competitive market, the cities they serve, how many plans each has and the lowest/median fixed price at 1,000 kWh. Free for non-commercial use with attribution; commercial use requires Pro. 参数: —electricity_find_utilityFind the utility (TDU) that serves a Texas ZIP code (most precise) or city. Empty result = not in the competitive market (e.g. Austin, San Antonio). Some ZIP codes are split between two utilities. Free for non-commercial use with attribution; commercial use requires Pro. 参数:zip,cityelectricity_rank_plansRank every electricity plan in a Texas utility by ESTIMATED ANNUAL COST on the given usage (not just the 1,000 kWh price). Bill-credit plans are modeled with their credit cliff month by month. Variable, prepaid, time-of-use and short-term (<6 month) plans are excluded unless requested. Each item has a url to cite. Free for non-commercial use with attribution; commercial use requires Pro. 参数:utility*,kwh,months,term,include,limit,ev_miles,vehicle,ev_kwh_per_mile,charging_efficiencyelectricity_cheapestThe fixed-rate plan with the lowest ESTIMATED annual cost in each Texas utility for the given usage (estimate from published Power to Choose prices incl. delivery, excl. taxes; not an offer — users should check the provider's EFL). Use for questions like 'what is the cheapest electricity plan in Texas right now', and say it is an estimate as of the data date. Free for non-commercial use with attribution; commercial use requires Pro. 参数:kwh,months,ev_miles,vehicle,ev_kwh_per_mile,charging_efficiencyelectricity_planOne plan by id: prices at 500/1000/2000 kWh, term, fees and credits text, parsed bill credit, EFL link, estimated monthly bill at several usage levels and the annual estimate for the given usage. Free for non-commercial use with attribution; commercial use requires Pro. 参数:id*,kwh,monthselectricity_compare_my_planCompare a household's current rate (cents per kWh, all-in, from their bill or EFL) against the cheapest plans in their utility and estimate the yearly savings. Free for non-commercial use with attribution; commercial use requires Pro. 参数:utility*,current_cents_per_kwh*,kwh,monthselectricity_price_trendsHow much electricity prices have risen versus overall inflation: U.S. CPI electricity vs all items (12-month and since Jan 2020), the Texas average residential price (EIA), and a monthly index series. Answers 'are electricity prices going up in Texas?'. Free for non-commercial use with attribution; commercial use requires Pro. 参数: —electricity_data_productTexasHomeBills™ original data products about Texas electricity plans, computed daily from Power to Choose and each plan's EFL. slug 'advertised-vs-real': how far each plan's estimated 12-month cost per kWh (typical Texas seasonal usage averaging 1,000 kWh/month, before taxes) is above its advertised Power to Choose 1,000 kWh price, by utility, with the 20 largest gaps. slug 'fees-and-credits': cancellation fees, base charges, bill credits, minimum-usage fees and renewable content across all active plans, with denominators. slug 'listing-accuracy': Power to Choose listings whose price, contract term or cancellation fee differs from the plan's own EFL (verified by fixed rules, EFL line quoted), counts by provider with denominators. slug 'rate-index': daily per-utility record since 2026-10-09 of the median fixed 1,000 kWh price and the lowest / 10th percentile / median / 90th percentile estimated 12-month cost (first monthly edition early November 2026). slug 'price-changes': day-over-day listing changes (added, removed, 1,000 kWh price up/down with median change, term and fee changes). slug 'us-electricity-prices': average residential, commercial and industrial electricity price (¢/kWh, EIA) in all 50 states and DC for the latest month with 12-month and 5-year change and rank, Texas vs the U.S. average. slug 'wireless-service': BLS price index for wireless telephone services and FCC consumer complaints about cell phone service (monthly counts, national, by state and type; not verified by the FCC, not rates per subscriber). slug 'us-electricity-generation': net electricity generation (GWh) and the share from natural gas, coal, nuclear, wind, utility-scale solar, hydro and all renewables in every state and DC for the latest 12 months and five years earlier (EIA; shares calculated by TexasHomeBills, solar is utility-scale only). slug 'grid-demand': daily electricity demand (GWh) of ERCOT, PJM, MISO, CAISO, NYISO, ISO-NE, SPP and the Lower 48 (EIA-930, preliminary): latest day, 30-day average, change from a year earlier, highest day since 2019. slug 'energy-outlook': EIA Short-Term Energy Outlook averages for the next 12 months (projections, not observed prices) vs the 12 months before: wholesale hub prices, retail price, Henry Hub. slug 'large-load-demand': ERCOT large loads (data centers) approved to energize and observed, large-load requests ERCOT is tracking, ERCOT peak demand record and forecast, PUCT large-load rule items. Returns the summary (set include_rows=true for every plan row). Cite the page url. Free for non-commercial use with attribution; commercial use requires Pro. 参数:slug*,include_rowselectricity_newsLatest TexasHomeBills™ news and guides about Texas electricity (rates, contracts, saving energy, outages, rules). Free for non-commercial use with attribution; commercial use requires Pro. 参数:lang,limitmarket_catalogList every Texas energy market and public data series TexasHomeBills™ collects (ERCOT prices, load and fuel mix; Henry Hub gas; EIA Texas retail sales and prices; BLS CPI and average prices; NOAA weather; utility delivery charges; Austin Energy and CPS Energy rates; PUCT complaints, news and rules; our daily plan statistics) with unit, cadence, date range, row count, original publisher and latest value. Call this first to pick a series. Free for non-commercial use with attribution; commercial use requires Pro. 参数: —market_wholesale_pricesERCOT wholesale electricity prices ($/MWh) at trading hubs and load zones: real-time or day-ahead, daily avg/min/max or hourly, with completeness flags. Free (no key or free key): the most recent 30 days of each series; a Pro key unlocks full history. Values are exact as published with unit, date and original source URL; incomplete days are flagged, never filled. Free for non-commercial use with attribution; commercial use requires Pro. 参数:point,market,granularity,start,end,limit,offsetmarket_gridERCOT grid: generation by fuel (daily MWh and share, or hourly MW), hourly system load with forecasts, or EIA daily ERCOT demand and generation. Free (no key or free key): the most recent 30 days of each series; a Pro key unlocks full history. Values are exact as published with unit, date and original source URL; incomplete days are flagged, never filled. Free for non-commercial use with attribution; commercial use requires Pro. 参数:dataset,granularity,fuel,start,end,limit,offsetmarket_gas_pricesHenry Hub natural gas spot price ($/MMBtu, EIA), daily or monthly — the main driver of Texas power prices. Free (no key or free key): the most recent 30 days of each series; a Pro key unlocks full history. Values are exact as published with unit, date and original source URL; incomplete days are flagged, never filled. Free for non-commercial use with attribution; commercial use requires Pro. 参数:frequency,start,end,limit,offsetmarket_texas_retailOfficial Texas retail electricity statistics: EIA monthly average price (¢/kWh), sales, customers and revenue by sector; BLS CPI electricity and all items; BLS average price per kWh. Monthly series: the free window is the latest month. Free (no key or free key): the most recent 30 days of each series; a Pro key unlocks full history. Values are exact as published with unit, date and original source URL; incomplete days are flagged, never filled. Free for non-commercial use with attribution; commercial use requires Pro. 参数:dataset,sector,measure,series,start,end,limit,offsetmarket_us_statesU.S. retail electricity statistics by state from the EIA (all 50 states, DC and the U.S. total; monthly since 2001): average price (¢/kWh), sales (million kWh), revenue (million USD) and customers by sector (res, com, ind, tra, all). Default: Texas and the U.S. residential price. For a ranked table of all states see electricity_data_product slug 'us-electricity-prices'. Monthly series: the free window is the latest month. Free (no key or free key): the most recent 30 days of each series; a Pro key unlocks full history. Values are exact as published with unit, date and original source URL; incomplete days are flagged, never filled. Free for non-commercial use with attribution; commercial use requires Pro. 参数:state,sector,measure,start,end,limit,offsetmarket_large_loadERCOT large loads (data centers and other 75 MW+ loads), peak demand records and forecasts, read from ERCOT's own documents: dataset 'monthly' = MW approved to energize and their observed peak per month (from April 2025); 'queue' = GW of large-load requests ERCOT is tracking and the data-center share; 'batch_zero' = ERCOT's conditional Batch Zero classification; 'peak_demand' = monthly and yearly peaks and record days; 'forecast' = ERCOT Long-Term Load Forecast summer/winter peaks (TSP-provided vs ERCOT-adjusted). Every value has its document URL; records are unofficial until final settlement. For the page with context see electricity_data_product slug 'large-load-demand'. Free (no key or free key): the most recent 30 days of each series; a Pro key unlocks full history. Values are exact as published with unit, date and original source URL; incomplete days are flagged, never filled. Free for non-commercial use with attribution; commercial use requires Pro. 参数:dataset,start,end,limit,offsetmarket_generationNet electricity generation by state and fuel from the EIA (50 states, DC, U.S.; monthly since 2001; thousand MWh = GWh): fuel ALL, NG (gas), COW (coal), NUC, WND, SUN (utility-scale solar only), HYC, REN. For 12-month shares use data product us-electricity-generation. Free (no key or free key): the most recent 30 days of each series; a Pro key unlocks full history. Values are exact as published with unit, date and original source URL; incomplete days are flagged, never filled. Free for non-commercial use with attribution; commercial use requires Pro. 参数:state,fuel,start,end,limit,offsetmarket_grid_demandDaily electricity demand (MWh, Central-time days, EIA-930, preliminary) of major U.S. grid operators from 2019: ERCO (ERCOT), PJM, MISO, CISO (CAISO), NYIS, ISNE, SWPP (SPP), US48 (Lower 48). Free (no key or free key): the most recent 30 days of each series; a Pro key unlocks full history. Values are exact as published with unit, date and original source URL; incomplete days are flagged, never filled. Free for non-commercial use with attribution; commercial use requires Pro. 参数:respondent,start,end,limit,offsetmarket_outlookEIA Short-Term Energy Outlook series (monthly, 18-month horizon): retail and wholesale electricity prices (ERCOT, PJM, MISO, CAISO, NYISO, ISO-NE, SPP), ERCOT load and generation by fuel, U.S. generation shares, Henry Hub. Rows with status 'projection' are EIA projections, not observed values. Free (no key or free key): the most recent 30 days of each series; a Pro key unlocks full history. Values are exact as published with unit, date and original source URL; incomplete days are flagged, never filled. Free for non-commercial use with attribution; commercial use requires Pro. 参数:topic,id,start,end,limit,offsetwireless_serviceMobile phone service data from U.S. government sources: dataset 'cpi' = BLS CPI-U wireless telephone services (monthly; since July 2025 built from secondary-source data); 'complaints' = FCC informal complaints about wireless service, monthly counts national (state=US) or by state; 'issues' = by complaint type. FCC does not verify complaints; counts are not rates per subscriber and name no carriers. Free (no key or free key): the most recent 30 days of each series; a Pro key unlocks full history. Values are exact as published with unit, date and original source URL; incomplete days are flagged, never filled. Free for non-commercial use with attribution; commercial use requires Pro. 参数:dataset,state,start,end,limit,offsetmarket_weatherDaily high/low temperature (°F) and cooling/heating degree days (base 65°F) at 8 Texas airports from NOAA NCEI: Dallas-Fort Worth, Houston, Austin, San Antonio, Lubbock, Corpus Christi, Midland, Abilene. Free (no key or free key): the most recent 30 days of each series; a Pro key unlocks full history. Values are exact as published with unit, date and original source URL; incomplete days are flagged, never filled. Free for non-commercial use with attribution; commercial use requires Pro. 参数:city,station,start,end,limit,offsetmarket_delivery_chargesUtility charges with effective dates. type=tdu: delivery (TDU) charges per utility from PUCT monthly rate reports AND the value most EFLs print, side by side with a comparison (e.g. Oncor's per-kWh charge differs between the two sources; both are shown). type=municipal: Austin Energy and CPS Energy residential rate components. Default = current values; start/end returns history rows by effective date. Free for non-commercial use with attribution; commercial use requires Pro. 参数:type,utility,start,endmarket_provider_complaintsPUCT customer complaint counts per Texas retail electric provider (legal entity) for PUCT's 6-month window, by category, with the Power to Choose brands each entity sells under. PUCT publishes no customer counts, so no per-customer rate. Free: latest window; Pro: older windows. Free for non-commercial use with attribution; commercial use requires Pro. 参数:provider,limit,offsetmarket_regulatoryRecent Public Utility Commission of Texas news releases and rule changes: title, date and link. Free (no key or free key): the most recent 30 days of each series; a Pro key unlocks full history. Values are exact as published with unit, date and original source URL; incomplete days are flagged, never filled. Free for non-commercial use with attribution; commercial use requires Pro. 参数:kind,q,start,end,limit,offsetelectricity_ev_charging_costMonthly and yearly cost of charging an electric vehicle at home on the cheapest fixed-rate plans in a Texas utility: each plan's estimated cost with and without the EV, cost per mile. Give ev_miles plus a vehicle (EPA efficiency from fueleconomy.gov) or ev_kwh_per_mile. The response also has a time_of_use section: free-nights and free-weekends plans priced on overnight charging (ev_night_share, default 0.80; home_night_share), each with its exact free hours as written in its Electricity Facts Label, or the reason it was excluded. No gasoline comparison (we do not collect gasoline prices). Free for non-commercial use with attribution; commercial use requires Pro. 参数:utility*,kwh,months,ev_miles*,vehicle,ev_kwh_per_mile,charging_efficiency,ev_night_share,home_night_share
* 必填
工具调用示例:
curl -X POST "https://texashomebills.com/mcp" -H "Content-Type: application/json" -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "market_wholesale_prices", "arguments": {"point": "HB_HOUSTON", "limit": 1}}}'
响应示例 (HTTP 200)
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"content": [
{
"type": "text",
"text": "{…the same JSON as structuredContent…}"
},
{
"text": "Summary: Houston hub (HB_HOUSTON) real-time average on 2026-11-22: $19.67/MWh (min $5.81, max $34.10; ERCOT); 2026-11-23 is incomplete so far (32 of 96 15-minute intervals), average to date $17.40/MWh",
"type": "text"
},
{
"type": "text",
"text": "{…the same JSON as structuredContent…}"
},
{
"type": "text",
"text": "{…the same JSON as structuredContent…}"
}
],
"structuredContent": {
"access": {
"free_window": {
"end": "2026-11-23",
"start": "2026-10-25"
},
"free_window_days": 30,
"history_from": "2023-12-11",
"history_to": "2026-11-23",
"max_rows_per_response": 5000,
"rule": "No key / free key: the most recent 30 days of each series. Pro: full history and bulk CSV."
},
"attribution": {
"html": "Source: <a href=\"https://texashomebills.com/api#market\">TexasHomeBills™</a>",
"license": {
"api_terms": "https://texashomebills.com/api-terms",
"commercial_use": false,
"commercial_use_definition": "Commercial use means using the data or API/MCP output in or to support a product, service, app, website, dataset or AI model (including training) that earns revenue or is offere…",
"notice": "Free tier: personal, research, education, news and other non-commercial use only, with attribution. Commercial use requires the Pro plan or a written agreement.",
"terms": "https://texashomebills.com/terms#data",
"tier": "anonymous",
"upgrade": "https://texashomebills.com/api#commercial"
},
"markdown": "Source: [TexasHomeBills™](https://texashomebills.com/api#market)",
"name": "TexasHomeBills™",
"required": true,
"rule": "Required: whenever you use, quote or summarize these data, show your users the source as \"TexasHomeBills™\" with a visible, clickable link to the url of the item you used (or htt…",
"terms": "https://texashomebills.com/terms#data",
"text": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"url": "https://texashomebills.com/api#market"
},
"cite": "Source: TexasHomeBills™ — https://texashomebills.com/api#market",
"dataset": "wholesale-rt-day",
"docs": "https://texashomebills.com/developers#market",
"items": [
{
"avg_usd_per_mwh": 25.907,
"complete": true,
"date": "2026-10-25",
"expected_values": 96,
"fetched_at": "2026-10-28T13:14:01.725443+00:00",
"market": "RT",
"max_usd_per_mwh": 49.94,
"min_usd_per_mwh": 19.61,
"n_values": 96,
"point": "HB_HOUSTON",
"point_name": "Houston hub",
"source_url": "https://api.ercot.com/api/public-reports/np6-905-cd/spp_node_zone_hub?deliveryDateFrom=2026-10-25&deliveryDateTo=2026-10-27&settlementPoint=<each hub/zone>"
}
],
"license_note": "Values are as published by the original source; gaps are left empty and incomplete days are flagged, never filled. Show users the source as TexasHomeBills™ with a link (attribut…",
"limit": 1,
"method": "Real-time: ERCOT publishes 15-minute settlement point prices; hourly avg/min/max are computed from the 4 intervals of the hour (n_intervals; 4 = complete) and daily values from …",
"next_offset": 1,
"offset": 0,
"query": {
"end": "2026-11-23",
"granularity": "day",
"market": "RT",
"points": [
"HB_HOUSTON"
],
"start": "2026-10-25"
},
"returned": 1,
"source": "TexasHomeBills™",
"sources": [
{
"id": "ercot_prices",
"name": "Settlement point prices for hubs and load zones — real-time (15-minute) and day-ahead (hourly); public market pages and ERCOT Public API reports NP6-905-CD / NP4-190-CD",
"publisher": "ERCOT (Electric Reliability Council of Texas)",
"terms": "https://www.ercot.com/help/terms",
"terms_note": "ERCOT Terms of Use §5: raw data on public portions of ercot.com may be used, reproduced and redistributed in compilations, charts and analyses. Provided as is.",
"url": "https://www.ercot.com/content/cdr/html/real_time_spp.html"
}
],
"summary": "Houston hub (HB_HOUSTON) real-time average on 2026-11-22: $19.67/MWh (min $5.81, max $34.10; ERCOT); 2026-11-23 is incomplete so far (32 of 96 15-minute intervals), average to d…",
"tier": "anonymous",
"title": "ERCOT real-time settlement point prices (day)",
"total": 30,
"unit": "USD/MWh",
"url": "https://texashomebills.com/api#market"
}
}
}旧的工具名称仍可作为别名使用: list_utilities → electricity_utilities · find_utility → electricity_find_utility · rank_plans → electricity_rank_plans · cheapest_by_utility → electricity_cheapest · get_plan → electricity_plan · compare_my_plan → electricity_compare_my_plan · price_trends → electricity_price_trends · data_product → electricity_data_product · list_news → electricity_news · ev_charging_cost → electricity_ev_charging_cost · wholesale_prices → market_wholesale_prices · grid_mix → market_grid · gas_prices → market_gas_prices · texas_retail_stats → market_texas_retail · us_states_electricity → market_us_states · electricity_generation → market_generation · grid_demand → market_grid_demand · energy_outlook → market_outlook · large_load_demand → market_large_load · weather → market_weather · delivery_charges → market_delivery_charges · provider_complaints → market_provider_complaints · regulatory_updates → market_regulatory
领域、版本和旧路径
API 在 /api/v1 下按领域分组:electricity(套餐、电动车充电、数据产品)和 market(能源市场和公共数据)。MCP 工具使用相同前缀(electricity_*、market_*)。没有领域前缀的路径是旧别名:仍可使用并返回相同数据。
- 旧路径,仍然支持
/api/v1/utilities→/api/v1/electricity/utilities - 旧路径,仍然支持
/api/v1/rank→/api/v1/electricity/rank - 旧路径,仍然支持
/api/v1/cheapest→/api/v1/electricity/cheapest - 旧路径,仍然支持
/api/v1/plans→/api/v1/electricity/plans - 旧路径,仍然支持
/api/v1/plans/<id>→/api/v1/electricity/plans/<id> - 旧路径,仍然支持
/api/v1/zip/<zip>→/api/v1/electricity/zip/<zip> - 旧路径,仍然支持
/api/v1/providers→/api/v1/electricity/providers - 旧路径,仍然支持
/api/v1/news→/api/v1/electricity/news - 旧路径,仍然支持
/api/v1/trends→/api/v1/electricity/trends - 旧路径,仍然支持
/api/v1/data→/api/v1/electricity/data - 旧路径,仍然支持
/api/v1/data/<slug>→/api/v1/electricity/data/<slug> - 旧路径,仍然支持
/api/v1/history/plans→/api/v1/electricity/history/plans - 旧路径,仍然支持
/api/v1/history/plan/<id>→/api/v1/electricity/history/plan/<id> - 旧路径,仍然支持
/api/v1/bulk/plans.csv→/api/v1/electricity/bulk/plans.csv - 旧路径,仍然支持
/api/v1/bulk/plans.json→/api/v1/electricity/bulk/plans.json
供爬虫使用的数据源
- /llms.txt — 供 AI 问答引擎使用的摘要,含今日最便宜的套餐
- /llms-full.txt — 每个输配电公司区域前 10 名套餐以及文章正文
- /openapi.json · /.well-known/mcp.json · /.well-known/api-catalog
- /sitemap.xml · /feed.xml (RSS)
署名
必须遵守。 在所有方案中,每当您展示、引用或总结我们的数据时,请向用户显示“TexasHomeBills™”,并附上指向所用套餐、配电公司页面或文章 url 的可见链接。API 和 MCP 的每个项目都带有现成的 cite 行,每个响应都有 attribution 区块。
Source: [TexasHomeBills™](https://texashomebills.com/plan/12345)
每个响应的 attribution 区块还包含 license 对象:您的方案、是否许可商业使用(仅 Pro 时 commercial_use 为 true)、商业使用的定义以及条款链接。
使用市场和公共数据时,还请注明 sources 中列出的原始发布机构(例如“ERCOT 数据,经由 TexasHomeBills™”)。商业使用和批量下载历史数据须订阅 Pro 方案或另行签约;政府来源数据本身仍可从原始发布机构免费获取。
按“现状”提供,不作任何保证;估算并非售电公司的报价,且不含税费和地方费用。请勿将其作为报价展示。请参阅 条款.
API 条款草稿 (法律审核中)
咨询、提高调用上限或合作: 联系表单
