TexasHomeBills™ — Gói điện Texas xếp hạng theo chi phí thực sự bạn phải trả.
Thời gian đọc:
Lượt xem: 125
ChatGPT: 99 Claude: 10 Google · Gemini: 12 Perplexity: 50 Meta: 5 Amazon: 25 Others: 878
Lượt AI & trình thu thập đã đọc
ChatGPT99
Claude10
Google · Gemini12
Perplexity50
Meta5
Amazon25
Others878

Theo tên mà trình thu thập tự nhận; các trường hợp giả mạo chúng tôi phát hiện được tính vào Others. Google · Gemini gồm Googlebot, trình thu thập tìm kiếm của Google, mà Google cũng dùng chỉ mục đó cho các tính năng AI; công cụ tìm kiếm và bot khác nằm trong Others.

Mức độ hiển thị với AI →

API & MCP cho các gói điện Texas

Miễn phí và mở CORS. Dùng nhẹ không cần khóa; khóa miễn phí giúp tăng giới hạn. Dùng trong ứng dụng, bảng tính, nghiên cứu hoặc trợ lý AI, và hãy liên kết trường url của mục bạn dùng. Các gói và giá →

Sử dụng thương mại cần gói Pro. Sử dụng thương mại — trong sản phẩm, dịch vụ, ứng dụng hoặc trang web trả phí, hoặc cho khách hàng — cần gói Pro hoặc thỏa thuận riêng. Các gói miễn phí dành cho mục đích cá nhân, nghiên cứu, giáo dục, báo chí và các mục đích phi thương mại khác, luôn kèm ghi nguồn. Thế nào là sử dụng thương mại →

Tạo tài khoản miễn phí để nhận khóa, hoặc đăng ký Pro ($99/tháng). Đăng ký miễn phí Đăng nhập

URL gốc: https://texashomebills.com/api/v1 · OpenAPI: /openapi.json · MCP: https://texashomebills.com/mcp · /.well-known/mcp.json

Mục lục: Khóa API và giới hạn · Điểm cuối gói cước · Dữ liệu thị trường và công khai · Endpoint Pro · Lỗi · MCP · Ghi nguồn

Phản hồi mẫu là các lần gọi thật vào 2026-11-23 05:48 (UTC), đã rút gọn: danh sách chỉ hiện hai mục đầu và văn bản dài bị cắt bằng “…”.

Khóa API và giới hạn

Mọi yêu cầu /api/v1 và mọi POST tới /mcp đều tính vào giới hạn. Không có khóa thì tính theo địa chỉ IP; có khóa thì tính theo khóa. Tạo tối đa 5 khóa miễn phí trên trang tài khoản. Tạo khóa miễn phí →

Gói APIYêu cầu mỗi giờYêu cầu mỗi ngàyBao gồmGiá
Không có khóa
tính theo địa chỉ IP
1050Thông tin cơ bản của gói và 3 vị trí đầu mỗi bảng xếp hạng; dữ liệu thị trường 30 ngày gần nhất
Chỉ dùng phi thương mại
$0
Khóa miễn phí
tính theo khóa
30200Thông tin cơ bản của gói và 3 vị trí đầu mỗi bảng xếp hạng, dữ liệu thị trường 30 ngày, cùng thống kê sử dụng trên trang tài khoản
Chỉ dùng phi thương mại
$0
Pro
tính theo khóa
1,00010,000Bảng xếp hạng đầy đủ và chi tiết chi phí 12 tháng (hóa đơn từng tháng, tháng được tín dụng, phí), kiểm tra EFL và cảnh báo, dữ liệu đầy đủ, chi tiết chi phí xe điện, toàn bộ lịch sử hằng ngày của gói và thị trường, cùng tệp CSV và JSON hàng loạt
Bao gồm sử dụng thương mại
$99/tháng hoặc $990/năm

Giới hạn theo giờ đặt lại vào đầu mỗi giờ, giới hạn theo ngày lúc 00:00 UTC. Yêu cầu nhận 429 không bị tính. Khối lượng lớn hơn theo thỏa thuận riêng. Ghi nguồn là bắt buộc ở mọi gói.

Dữ liệu thị trường và công khai: không có khóa hoặc dùng khóa miễn phí, bạn nhận giá trị mới nhất và 30 ngày gần nhất của mỗi chuỗi (tính lùi từ ngày mới nhất của chuỗi đó; với chuỗi hằng tháng là tháng mới nhất). Pro thêm toàn bộ lịch sử của mọi chuỗi và tệp CSV hàng loạt.

Gửi khóa trong tiêu đề (khuyến nghị):

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"

Ứng dụng MCP không đặt được tiêu đề có thể thêm ?api_key=thb_… vào URL /mcp. Hãy tránh nếu có thể: URL sẽ nằm trong nhật ký và lịch sử trình duyệt. Tiêu đề Authorization với token không bắt đầu bằng thb_ sẽ bị bỏ qua, nên các token khác ứng dụng gửi không gây lỗi.

Mỗi phản hồi được tính đều có các tiêu đề sau. Chúng mô tả khung (giờ hoặc ngày) còn ít yêu cầu hơn:

X-RateLimit-Limitsố yêu cầu được phép trong khung đó
X-RateLimit-Remainingsố yêu cầu còn lại trong khung đó
X-RateLimit-Resetthời điểm khung đó đặt lại, theo thời gian Unix (giây, UTC)
X-RateLimit-Policycả hai giới hạn, vd: 30;w=3600, 200;w=86400
X-API-Tierfree hoặc pro, khi có gửi khóa

Điểm cuối gói cước

Dữ liệu được cập nhật mỗi ngày từ PowerToChoose; mỗi phản hồi đều có data_refreshed_at. Không có khóa hoặc dùng khóa miễn phí, phản hồi chỉ gồm thông tin cơ bản của gói và 3 vị trí đầu mỗi bảng xếp hạng; Pro trả về bảng xếp hạng đầy đủ và mọi chi tiết.

GET /api/v1

Chỉ mục: URL của mọi điểm cuối, URL MCP, nguồn dữ liệu và thời điểm cập nhật.

curl "https://texashomebills.com/api/v1"
Phản hồi mẫu (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-23T00:15:43.616100+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

Công ty truyền tải điện (TDU), thành phố, số gói điện, giá cố định thấp nhất và trung vị

curl "https://texashomebills.com/api/v1/electricity/utilities"
Phản hồi mẫu (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-23T00:15:43.616100+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.1,
   "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

Các gói được xếp theo chi phí ước tính cả năm dựa trên mức dùng của hộ gia đình. Gói có tín dụng hóa đơn được tính theo từng tháng.

Tham sốÝ nghĩa
utilityRequired: oncor, centerpoint, aep_central, aep_north, tnmp, lpl
kwhAverage monthly kWh, 100–6,000 (default 1,000), spread over a summer-heavy Texas profile
m1 … m12Optional 12 monthly kWh values (January first); override kwh
termshort (under 6 months), 6, 12, 18, 24 or 36
includeComma list to also rank: variable, prepaid, time_of_use, short_term
limit1–200 (default 20)
langen, es, ko, zh, vi (plan text and URLs)
ev_miles, vehicle, ev_kwh_per_mile, charging_efficiencyOptional EV charging — see below
curl "https://texashomebills.com/api/v1/electricity/rank?utility=oncor&kwh=1200&limit=2"
Phản hồi mẫu (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-23T00:15:43.616100+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"
}

Sạc xe điện (tùy chọn của điện)

Thêm xe điện vào mọi bảng xếp hạng hoặc ước tính (/rank, /cheapest, /plans/<id>). Số kWh hàng tháng của xe được cộng vào từng tháng dùng điện của hộ gia đình, và phản hồi hiển thị kWh của hộ, kWh của xe và tổng. Bảng xếp hạng chỉ gồm gói giá cố định; gói theo khung giờ (đêm miễn phí, cuối tuần miễn phí) được tính riêng trong mục time_of_use của /electricity/ev-charging-cost.

ev_kwh_per_month = ev_miles × kwh_per_mile ÷ charging_efficiency
1,000 mi × 0.28 kWh/mi ÷ 0.90 = 311 kWh/month
Tham sốÝ nghĩa
ev_milesMiles driven per month (required for EV)
vehicleEV 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_mileInstead of vehicle: vehicle-side kWh per mile (default 0.30)
charging_efficiencyDefault 0.90 with ev_kwh_per_mile, 1.0 with vehicle; 0.5–1.0

GET /api/v1/electricity/ev-charging-cost

Chi phí sạc xe điện tại nhà với ba gói giá cố định rẻ nhất trong một khu vực công ty điện: chi phí ước tính 12 tháng của mỗi gói khi có và không có xe điện, theo tháng và theo dặm. Với gói có tín dụng hóa đơn, xe điện có thể làm thay đổi những tháng được nhận tín dụng; phản hồi sẽ ghi rõ. Không so sánh với xăng: chúng tôi không thu thập giá xăng.

Mục time_of_use tính các gói đêm miễn phí và cuối tuần miễn phí theo việc sạc ban đêm: với mỗi gói là giờ miễn phí đúng như ghi trong Nhãn Thông tin Điện (kèm câu trích dẫn và liên kết EFL), chi phí ước tính 12 tháng có xe điện, và chênh lệch so với gói cố định rẻ nhất không có tín dụng hóa đơn. Gói bị loại, kèm lý do, nếu giờ miễn phí không rõ, giá theo giờ không có trong nhãn (Octopus Flex), hoặc không thể tái tạo giá. Các giả định được liệt kê ngay trong mục. Là ước tính, không phải đề nghị bán.

Tham sốÝ nghĩa
utilityRequired
ev_milesRequired
vehicle / ev_kwh_per_mile / charging_efficiencyAs above
kwh or m1…m12Home usage, as in /rank
ev_night_sharetime_of_use: share of EV kWh charged overnight, 10 pm – 6 am (0–1, or a percent; default 0.80)
home_night_sharetime_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"
Phản hồi mẫu (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-23T00:15:43.616100+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

Các mẫu xe điện dùng được với vehicle=, kèm hiệu suất kết hợp của EPA và trang fueleconomy.gov của từng mẫu.

curl "https://texashomebills.com/api/v1/electricity/vehicles"
Phản hồi mẫu (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-23T00:15:43.616100+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

Gói giá cố định rẻ nhất ở mỗi công ty truyền tải điện — tham số kwh hoặc m1…m12 giống như /rank.

curl "https://texashomebills.com/api/v1/electricity/cheapest?kwh=1000"
Phản hồi mẫu (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-23T00:15:43.616100+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

Hỏi TexasHomeBills™ một câu bằng lời thường — gói rẻ nhất theo mã ZIP, thành phố hoặc công ty truyền tải, số khiếu nại PUCT của nhà cung cấp, một thuật ngữ trên hóa đơn, hoặc cách dùng trang. Trả về câu trả lời ngắn từ dữ liệu của chúng tôi kèm nguồn và liên kết (không dùng AI bên ngoài).

Tham sốÝ nghĩa
qThe question, up to 300 characters
langen, es, ko, zh, vi (default: detected)

GET /api/v1/electricity/plans

Tất cả gói điện đang hoạt động (phân trang: limit, offset)

Tham sốÝ nghĩa
utilityUtility id (optional)
providerProvider name contains (optional)
limit1–1,000 (default 100)
offsetRows to skip
curl "https://texashomebills.com/api/v1/electricity/plans?utility=centerpoint&limit=2"
Phản hồi mẫu (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-23T00:15:43.616100+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>

Một gói điện với hóa đơn hằng tháng ở nhiều mức sử dụng và chi phí ước tính hằng năm — kwh, m1…m12, lang.

curl "https://texashomebills.com/api/v1/electricity/plans/33631?kwh=900"
Phản hồi mẫu (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-23T00:15:43.616100+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>

Công ty điện phục vụ một mã ZIP ở Texas. Danh sách trống = không thuộc thị trường cạnh tranh (công ty điện thành phố hoặc hợp tác xã).

curl "https://texashomebills.com/api/v1/electricity/zip/75201"
Phản hồi mẫu (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-23T00:15:43.616100+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

Mọi nhà cung cấp điện tại Texas: giấy phép PUCT, tên pháp lý, trang web và số gói điện (?has_plans=1)

curl "https://texashomebills.com/api/v1/electricity/providers?has_plans=1"
Phản hồi mẫu (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-23T00:15:43.616100+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": 29,
   "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

Tin tức và hướng dẫn mới nhất — lang, limit (≤100).

curl "https://texashomebills.com/api/v1/electricity/news?limit=2"
Phản hồi mẫu (HTTP 200)
{
 "attribution": {
  "required": true,
  "name": "TexasHomeBills™",
  "url": "https://texashomebills.com/news/plan-changes-2026-11-16",
  "text": "Source: TexasHomeBills™ — https://texashomebills.com/news/plan-changes-2026-11-16",
  "markdown": "Source: [TexasHomeBills™](https://texashomebills.com/news/plan-changes-2026-11-16)",
  "html": "Source: <a href=\"https://texashomebills.com/news/plan-changes-2026-11-16\">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-23T00:15:43.616100+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-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"
  },
  {
   "category": "utilities",
   "kind": "news",
   "lead": "Since November 10, 2026, ERCOT sends its grid alerts (TXANS) by text message as well as email. Sign up free at ercot.com/txans in English or Spanish. The alerts cover grid-wide …",
   "published_at": "2026-11-12T19:40:10.617401+00:00",
   "title": "ERCOT grid alerts now come by text: how to sign up for TXANS and what each alert means",
   "topic": "electricity",
   "url": "https://texashomebills.com/news/ercot-txans-text-alerts",
   "utility": null,
   "source": "TexasHomeBills™",
   "cite": "Source: TexasHomeBills™ — https://texashomebills.com/news/ercot-txans-text-alerts"
  }
 ],
 "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

Giá điện so với lạm phát: CPI điện và CPI tổng của BLS, giá điện dân dụng Texas của EIA và chỉ số hằng tháng (tháng 1/2020 = 100).

curl "https://texashomebills.com/api/v1/electricity/trends"
Phản hồi mẫu (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-23T00:15:43.616100+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>

Các sản phẩm dữ liệu gốc của chúng tôi với bảng tóm tắt và mọi dòng gói cước: advertised-vs-real, fees-and-credits, listing-accuracy, rate-index, price-changes, us-electricity-prices, large-load-demand. Mỗi sản phẩm có liên kết tới tệp CSV và JSON.

curl "https://texashomebills.com/api/v1/electricity/data"
Phản hồi mẫu (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-23T00:15:43.616100+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-22",
   "headline": {
    "plans": 733,
    "real_at_least_1c_above_advertised": 59,
    "share_pct": 8.0
   },
   "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-22",
   "headline": {
    "plans": 975,
    "share_pct": 90.3,
    "with_cancellation_fee": 880
   },
   "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"
Phản hồi mẫu (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-22",
 "data_imported_at": "2026-11-23T00:15:43.616100+00:00",
 "data_refreshed_at": "2026-11-23T00:15:43.616100+00:00",
 "days_tracked": 45,
 "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-22), https://texashomebills.com/data/rate-index",
 "latest_day": "2026-11-22",
 "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"
}

Dữ liệu thị trường và công khai

Dữ liệu thị trường năng lượng và dữ liệu công khai của Texas mà chúng tôi thu thập hằng ngày từ các cơ quan công bố gốc: ERCOT, EIA, BLS, NOAA NCEI, PUCT, Austin Energy và CPS Energy, cùng thống kê gói cước hằng ngày của chúng tôi. Giá trị đúng như được công bố, mỗi dòng có đơn vị, ngày và URL nguồn gốc. Chỗ trống để trống và ngày chưa đủ được đánh dấu (complete=false); không điền thêm gì.

Mỗi phản hồi có khối attribution (hiển thị TexasHomeBills™ kèm liên kết) và danh sách sources ghi cơ quan công bố gốc, URL và điều khoản của họ. Hãy ghi cả hai.

Tham sốÝ nghĩa
startYYYY-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).
endYYYY-MM-DD. Default: latest date.
limitRows per response. Default 1,000; maximum 5,000 without Pro, 20,000 with Pro (use bulk CSV for more).
offsetRows to skip. Responses give total, returned, next_offset and a ready next URL.

GET /api/v1/market

Danh mục mọi chuỗi: mô tả, đơn vị, tần suất, khoảng ngày, số dòng, nguồn gốc và điều khoản, khoảng miễn phí và giá trị mới nhất.

curl "https://texashomebills.com/api/v1/market"
Phản hồi mẫu (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-22",
   "rows": 24786,
   "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-21: $27.68/MWh (min $15.49, max $60.51; ERCOT); 2026-11-22 is incomplete so far (32 of 96 15-minute intervals), average to …"
  },
  {
   "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-22",
   "rows": 593903,
   "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-22T23:48:40-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

Giá điểm thanh toán ERCOT tính bằng $/MWh tại 7 trung tâm giao dịch và 8 vùng phụ tải: thời gian thực (từ giá 15 phút) hoặc ngày trước, trung bình/thấp nhất/cao nhất theo ngày hoặc theo giờ, kèm số giá trị và dấu hiệu đầy đủ cho từng giờ và từng ngày.

Tham sốÝ nghĩa
pointComma 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.
marketrt (real-time, default) or da (day-ahead)
granularityday (default) or hour
curl "https://texashomebills.com/api/v1/market/wholesale?point=HB_HOUSTON&limit=2"
Phản hồi mẫu (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-21: $27.68/MWh (min $15.49, max $60.51; ERCOT); 2026-11-22 is incomplete so far (32 of 96 15-minute intervals), average to …",
 "tier": "anonymous",
 "access": {
  "free_window_days": 30,
  "free_window": {
   "start": "2026-10-24",
   "end": "2026-11-22"
  },
  "history_from": "2023-12-11",
  "history_to": "2026-11-22",
  "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-24",
  "end": "2026-11-22"
 },
 "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-24",
   "market": "RT",
   "point": "HB_HOUSTON",
   "point_name": "Houston hub",
   "avg_usd_per_mwh": 27.8236,
   "min_usd_per_mwh": -57.31,
   "max_usd_per_mwh": 49.28,
   "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-24&deliveryDateTo=2026-10-26&settlementPoint=<each hub/zone>",
   "fetched_at": "2026-10-27T13:11:53.243545+00:00"
  },
  {
   "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"
  }
 ],
 "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"
Phản hồi mẫu (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-22: $22.61/MWh (min $12.80, max $34.61; ERCOT)",
 "tier": "anonymous",
 "access": {
  "free_window_days": 30,
  "free_window": {
   "start": "2026-10-24",
   "end": "2026-11-22"
  },
  "history_from": "2023-12-13",
  "history_to": "2026-11-22",
  "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-24",
  "end": "2026-11-22"
 },
 "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-24",
   "hour_ending": 1,
   "dst_repeated_hour": false,
   "market": "DA",
   "point": "HB_HOUSTON",
   "point_name": "Houston hub",
   "avg_usd_per_mwh": 22.15,
   "min_usd_per_mwh": 22.15,
   "max_usd_per_mwh": 22.15,
   "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-24&deliveryDateTo=2026-10-26&settlementPoint=<each hub/zone>",
   "fetched_at": "2026-10-27T13:12:28.842943+00:00"
  },
  {
   "date": "2026-10-24",
   "hour_ending": 2,
   "dst_repeated_hour": false,
   "market": "DA",
   "point": "HB_HOUSTON",
   "point_name": "Houston hub",
   "avg_usd_per_mwh": 21.82,
   "min_usd_per_mwh": 21.82,
   "max_usd_per_mwh": 21.82,
   "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-24&deliveryDateTo=2026-10-26&settlementPoint=<each hub/zone>",
   "fetched_at": "2026-10-27T13:12:28.842943+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

Sản lượng phát điện ERCOT theo nhiên liệu (MWh theo ngày và tỷ trọng, hoặc MW trung bình theo giờ), phụ tải hệ thống theo giờ kèm dự báo, hoặc nhu cầu và sản lượng ERCOT theo ngày từ EIA.

Tham sốÝ nghĩa
datasetfuel_mix (default), load or eia
granularityfuel_mix: day (default) or hour · load: hour · eia: day
fuelfuel_mix only: comma list, e.g. Solar,Wind,Natural Gas
curl "https://texashomebills.com/api/v1/market/grid?limit=2"
Phản hồi mẫu (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-21: wind 34.0%, natural gas 30.0%, solar 12.0%, coal and lignite 11.6% (share of generation; 288 of 288 five-minute intervals; ERCOT)",
 "tier": "anonymous",
 "access": {
  "free_window_days": 30,
  "free_window": {
   "start": "2026-10-24",
   "end": "2026-11-22"
  },
  "history_from": "2026-10-08",
  "history_to": "2026-11-22",
  "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-24",
  "end": "2026-11-22"
 },
 "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-24",
   "fuel": "Coal and Lignite",
   "avg_mw": 4894.372,
   "mwh": 117464.928,
   "share_of_generation": 0.090882,
   "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-25T13:11:46.169017+00:00"
  },
  {
   "date": "2026-10-24",
   "fuel": "Hydro",
   "avg_mw": 17.1,
   "mwh": 410.41,
   "share_of_generation": 0.000318,
   "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-25T13:11:46.169017+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"
Phản hồi mẫu (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-22: 45,282 MW (ERCOT)",
 "tier": "anonymous",
 "access": {
  "free_window_days": 30,
  "free_window": {
   "start": "2026-10-24",
   "end": "2026-11-22"
  },
  "history_from": "2026-10-08",
  "history_to": "2026-11-22",
  "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-24",
  "end": "2026-11-22"
 },
 "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-24",
   "hour_ending": 1,
   "dst_flag": "N",
   "system_load_mw": 48750.43,
   "current_load_forecast_mw": 49208.0566,
   "day_ahead_forecast_mw": 48867.0972,
   "source_url": "https://www.ercot.com/api/1/services/read/dashboards/system-wide-demand.json",
   "fetched_at": "2026-10-25T13:11:45.094373+00:00"
  },
  {
   "date": "2026-10-24",
   "hour_ending": 2,
   "dst_flag": "N",
   "system_load_mw": 46782.13,
   "current_load_forecast_mw": 47208.5918,
   "day_ahead_forecast_mw": 46895.3826,
   "source_url": "https://www.ercot.com/api/1/services/read/dashboards/system-wide-demand.json",
   "fetched_at": "2026-10-25T13:11:45.094373+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

Giá giao ngay khí tự nhiên Henry Hub tính bằng $/MMBtu (EIA), theo ngày hoặc theo tháng. Ngày không giao dịch không có giá trị.

Tham sốÝ nghĩa
frequencydaily (default) or monthly
curl "https://texashomebills.com/api/v1/market/gas?limit=2"
Phản hồi mẫu (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-22T14:12:54.053133+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-22T14:12:54.053133+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

Giá trung bình, sản lượng bán, số khách hàng và doanh thu hằng tháng của Texas theo khu vực từ EIA, cùng chỉ số giá và giá trung bình của BLS. Giá trị được điều chỉnh giữ số cũ trong previous_value.

Tham sốÝ nghĩa
dataseteia861m (default), eia_retail, bls_cpi or bls_ap
sectoreia861m: res (default), com, ind, tot, all · eia_retail: res, com, ind, tra, oth, all
measureprice (¢/kWh), sales, customers, revenue — comma list (default all)
seriesExact series ids from /api/v1/market (overrides dataset)
curl "https://texashomebills.com/api/v1/market/texas-retail?measure=price"
Phản hồi mẫu (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

Thống kê điện bán lẻ của EIA cho từng bang, Đặc khu Columbia và toàn Hoa Kỳ, theo tháng từ năm 2001: giá trung bình (¢/kWh), sản lượng bán (triệu kWh), doanh thu (triệu USD) và số khách hàng theo từng nhóm. Mã chuỗi là eia_state_&lt;STATE&gt;_&lt;sector&gt;_&lt;measure&gt;. Giá trị được điều chỉnh giữ số cũ trong previous_value.

Tham sốÝ nghĩa
stateTwo-letter code(s), comma list; US = U.S. total; all = every state + US (default TX,US)
sectorres (default), com, ind, tra, all — comma list
measureprice (default), sales, revenue, customers — comma list, or all
curl "https://texashomebills.com/api/v1/market/us-states?state=TX,US&sector=res&measure=price"
Phản hồi mẫu (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

Phụ tải lớn của ERCOT (trung tâm dữ liệu và các phụ tải từ 75 MW), kỷ lục nhu cầu đỉnh và dự báo, đọc từ tài liệu ERCOT với URL tài liệu trên mỗi dòng: MW được phê duyệt cấp điện và mức đỉnh quan sát theo tháng, GW yêu cầu phụ tải lớn ERCOT đang theo dõi, phân loại Batch Zero, nhu cầu đỉnh theo tháng và năm, và các đỉnh trong Dự báo phụ tải dài hạn.

Tham sốÝ nghĩa
datasetmonthly (default), queue, batch_zero, peak_demand or forecast
curl "https://texashomebills.com/api/v1/market/large-load?dataset=monthly"
Phản hồi mẫu (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

Nhiệt độ cao nhất, thấp nhất và trung bình hằng ngày (°F) từ NOAA NCEI tại 8 sân bay ở Texas, kèm độ-ngày làm mát và sưởi (nền 65°F) do chúng tôi tính từ nhiệt độ cao và thấp.

Tham sốÝ nghĩa
cityDallas-Fort Worth, Houston, Austin, San Antonio, Lubbock, Corpus Christi, Midland, Abilene (comma list; default all)
stationGHCN-Daily station id, e.g. USW00003927 (DFW)
curl "https://texashomebills.com/api/v1/market/weather?city=Houston&limit=2"
Phản hồi mẫu (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-13: high 81°F, low 52°F, 1.5 cooling degree days (NOAA NCEI; degree days computed by TexasHomeBills, base 65°F)",
 "tier": "anonymous",
 "access": {
  "free_window_days": 30,
  "free_window": {
   "start": "2026-10-15",
   "end": "2026-11-13"
  },
  "history_from": "2020-01-01",
  "history_to": "2026-11-13",
  "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-15",
  "end": "2026-11-13"
 },
 "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-15",
   "station": "USW00012960",
   "city": "Houston",
   "tmax_f": 92.0,
   "tmin_f": 68.0,
   "tavg_f": null,
   "cdd": 15.0,
   "hdd": 0.0,
   "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-19T13:12:38.109346+00:00",
   "fetched_at": "2026-11-22T14:13:20.561276+00:00",
   "revised_at": null
  },
  {
   "date": "2026-10-16",
   "station": "USW00012960",
   "city": "Houston",
   "tmax_f": 80.0,
   "tmin_f": 59.0,
   "tavg_f": null,
   "cdd": 4.5,
   "hdd": 0.0,
   "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-20T13:13:25.929830+00:00",
   "fetched_at": "2026-11-22T14:13:20.561276+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

Phí truyền tải (TDU) của từng công ty điện kèm ngày hiệu lực: giá trị trong báo cáo biểu giá hằng tháng của PUCT và giá trị mà phần lớn EFL ghi, đặt cạnh nhau. Khi hai giá trị khác nhau (hiện là phí theo kWh của Oncor), cả hai đều được hiển thị kèm ghi chú; chúng tôi không chọn một bên.

Tham sốÝ nghĩa
utilityoncor, centerpoint, aep_central, aep_north, tnmp, lpl, nueces (comma list)
sourcepuct_monthly_report or efl_consensus
history1 = 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"
Phản hồi mẫu (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-22",
  "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-22",
    "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-22",
   "date_label": "observed 2026-11-22",
   "sample_n": 145,
   "source_url": null,
   "source_note": "TexasHomeBills EFL reader (parsed EFLs of active Power to Choose plans)",
   "first_seen_at": "2026-11-22T14:12:49.394392+00:00",
   "last_seen_at": "2026-11-22T14:12:49.394392+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-22",
   "date_label": "observed 2026-11-22",
   "sample_n": 145,
   "source_url": null,
   "source_note": "TexasHomeBills EFL reader (parsed EFLs of active Power to Choose plans)",
   "first_seen_at": "2026-11-22T14:12:49.394392+00:00",
   "last_seen_at": "2026-11-22T14:12:49.394392+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

Các thành phần biểu giá dân dụng của Austin Energy và CPS Energy (phí cố định, bậc giá điện năng, khoản điều chỉnh, các loại phí) kèm ngày hiệu lực, đúng như trong biểu giá của họ.

Tham sốÝ nghĩa
utilityaustin_energy or cps_energy
history1 = history rows (or start/end by effective date)
curl "https://texashomebills.com/api/v1/market/municipal-rates?utility=cps_energy&limit=2"
Phản hồi mẫu (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

Số khiếu nại tại PUCT của từng nhà bán lẻ điện (pháp nhân) theo loại trong khoảng 6 tháng của PUCT, kèm các thương hiệu Power to Choose gắn với mỗi pháp nhân. PUCT không công bố số khách hàng nên không có tỷ lệ theo khách hàng.

Tham sốÝ nghĩa
providerLegal or DBA name contains
windowall = every stored window (Pro)
start / endFilter by window end date (older windows need Pro)
curl "https://texashomebills.com/api/v1/market/complaints?provider=Reliant"
Phản hồi mẫu (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/22/2026 8:12:50 AM",
   "source_url": "https://www.puc.texas.gov/consumer-help/electricity/electric-complaints/customercomplaintstats/",
   "fetched_at": "2026-11-22T14:12:51.030158+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

Thông cáo báo chí và các thay đổi quy định gần đây của PUCT: tiêu đề, ngày và liên kết.

Tham sốÝ nghĩa
kindall (default), news or rule
qWord in the title
curl "https://texashomebills.com/api/v1/market/regulatory?kind=rule&limit=2"
Phản hồi mẫu (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

Thống kê hằng ngày của chúng tôi từ mọi mục niêm yết trên Power to Choose: theo công ty điện (số mục, phân vị giá và chi phí cả năm, tỷ lệ có tín dụng hóa đơn hoặc 100% tái tạo) hoặc theo nhà cung cấp (số mục, thứ hạng, kết quả kiểm tra EFL, xếp hạng sao).

Tham sốÝ nghĩa
kindutility (default) or provider
utilityUtility id(s)
providerProvider name contains
curl "https://texashomebills.com/api/v1/market/stats?utility=oncor"
Phản hồi mẫu (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-22, 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-24",
   "end": "2026-11-22"
  },
  "history_from": "2026-10-09",
  "history_to": "2026-11-22",
  "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-24",
  "end": "2026-11-22"
 },
 "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-24",
   "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-24T13:11:49.183742+00:00",
   "source": "TexasHomeBills™",
   "cite": "Source: TexasHomeBills™ — https://texashomebills.com/electricity/oncor"
  },
  {
   "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"
  },
  "… 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"
}

Endpoint Pro

Các endpoint này cần khóa của tài khoản có gói Pro đang hoạt động; yêu cầu khác nhận 403. Giá →

EndpointTrả về
GET /api/v1/electricity/history/plans?date=2026-10-09Mọi gói niêm yết được ghi ngày đó: giá, kỳ hạn, phí, tín dụng hóa đơn, kiểm tra EFL và thứ hạng chi phí năm. Tùy chọn: utility, limit (tối đa 5.000), offset. Không có date: ngày gần nhất.
GET /api/v1/electricity/history/plan/<id>Một gói theo từng ngày, kèm mọi phiên bản EFL chúng tôi đã đọc
GET /api/v1/electricity/bulk/plans.csv · /electricity/bulk/plans.jsonMọi gói đang hoạt động trong một tệp, cập nhật mỗi ngày
GET /api/v1/bulk/<series>.csvToàn bộ lịch sử của một chuỗi dữ liệu thị trường hoặc công khai dưới dạng CSV, gửi theo từng phần. start và end là tùy chọn. Mỗi dòng có cơ quan công bố, source_url và một cột ghi nguồn.
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=…Mọi điểm cuối thị trường với ngày cũ hơn khoảng miễn phí, cho tới toàn bộ lịch sử.

Không có khóa Pro, các điểm cuối này trả về 403 pro_required, ví dụ:

curl "https://texashomebills.com/api/v1/electricity/history/plans?date=2026-10-09&limit=2"
Phản hồi mẫu (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"
}

Lỗi

400 bad_requestMột tham số không hợp lệ (điểm cuối thị trường). Thông báo liệt kê các giá trị được phép.
401 invalid_api_keyKhóa không tồn tại hoặc đã bị thu hồi. Bỏ khóa để dùng API không cần khóa, hoặc tạo khóa mới.
403 pro_requiredĐiểm cuối, hoặc các ngày bạn yêu cầu, cần khóa từ tài khoản có gói Pro đang hoạt động. Với dữ liệu thị trường, nội dung phản hồi có free_window và history_from.
404Mã gói, slug hoặc chuỗi hàng loạt không xác định.
429 rate_limitedĐã chạm giới hạn. Phần thân trả về limit, window, reset (thời gian Unix) và reset_at; tiêu đề Retry-After cho biết số giây cần chờ. Yêu cầu nhận 429 không bị tính.
curl "https://texashomebills.com/api/v1/market/wholesale?point=HB_FOO"
Phản hồi mẫu (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…"
}
Phản hồi mẫu (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"
Phản hồi mẫu (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-22",
  "start": "2026-10-24"
 },
 "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-24 to 2026-11-22; 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": {…}}

Trên /mcp, cùng thông tin đó trả về dưới dạng lỗi JSON-RPC, trong error.data. Khi công cụ thị trường được hỏi ngày nằm ngoài khoảng miễn phí, nó trả về kết quả có isError=true kèm thông báo pro_required.

MCP

Thêm URL này làm máy chủ MCP từ xa (Streamable HTTP) trong Claude, ChatGPT, Cursor hoặc bất kỳ ứng dụng MCP nào:

https://texashomebills.com/mcp

JSON-RPC 2.0 qua POST, không trạng thái. Phương thức: initialize, tools/list, tools/call, ping. Khóa (tùy chọn) đặt trong tiêu đề X-API-Key hoặc Authorization của POST; áp dụng cùng giới hạn và khoảng dữ liệu như API.

* bắt buộc

Ví dụ gọi công cụ:

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}}}'
Phản hồi mẫu (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-21: $27.68/MWh (min $15.49, max $60.51; ERCOT); 2026-11-22 is incomplete so far (32 of 96 15-minute intervals), average to date $20.37/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-22",
     "start": "2026-10-24"
    },
    "free_window_days": 30,
    "history_from": "2023-12-11",
    "history_to": "2026-11-22",
    "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": 27.8236,
     "complete": true,
     "date": "2026-10-24",
     "expected_values": 96,
     "fetched_at": "2026-10-27T13:11:53.243545+00:00",
     "market": "RT",
     "max_usd_per_mwh": 49.28,
     "min_usd_per_mwh": -57.31,
     "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-24&deliveryDateTo=2026-10-26&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-22",
    "granularity": "day",
    "market": "RT",
    "points": [
     "HB_HOUSTON"
    ],
    "start": "2026-10-24"
   },
   "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-21: $27.68/MWh (min $15.49, max $60.51; ERCOT); 2026-11-22 is incomplete so far (32 of 96 15-minute intervals), average to …",
   "tier": "anonymous",
   "title": "ERCOT real-time settlement point prices (day)",
   "total": 30,
   "unit": "USD/MWh",
   "url": "https://texashomebills.com/api#market"
  }
 }
}

Tên công cụ cũ vẫn dùng được như bí danh: 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

Lĩnh vực, phiên bản và đường dẫn cũ

API được nhóm theo lĩnh vực dưới /api/v1: electricity (gói cước, sạc xe điện, sản phẩm dữ liệu) và market (dữ liệu thị trường năng lượng và công khai). Công cụ MCP dùng cùng tiền tố (electricity_*, market_*). Đường dẫn không có tiền tố lĩnh vực là bí danh cũ: vẫn hoạt động và trả về cùng dữ liệu.

Nguồn dữ liệu cho trình thu thập

Ghi nguồn

Bắt buộc. Ở mọi gói, mỗi khi bạn hiển thị, trích dẫn hoặc tóm tắt dữ liệu của chúng tôi, hãy cho người dùng thấy "TexasHomeBills™" kèm liên kết hiển thị tới url của gói cước, trang công ty điện hoặc bài viết bạn đã dùng. Mỗi mục của API và MCP có sẵn dòng cite, và mỗi phản hồi có khối attribution.

Source: [TexasHomeBills™](https://texashomebills.com/plan/12345)

Khối attribution của mỗi phản hồi còn có đối tượng license: gói của bạn, việc sử dụng thương mại có được cấp phép hay không (commercial_use chỉ là true với Pro), định nghĩa sử dụng thương mại và liên kết tới điều khoản.

Với dữ liệu thị trường và công khai, hãy ghi thêm cơ quan công bố gốc nêu trong sources (ví dụ “dữ liệu ERCOT qua TexasHomeBills™”). Sử dụng thương mại và tải hàng loạt lịch sử cần gói Pro hoặc thỏa thuận riêng; bản thân dữ liệu gốc của chính phủ vẫn miễn phí từ cơ quan công bố gốc.

Được cung cấp theo hiện trạng, không có bảo đảm; các ước tính không phải lời chào bán của nhà cung cấp và chưa gồm thuế và phí địa phương. Vui lòng không trình bày chúng như báo giá. Xem Điều khoản.

Bản nháp điều khoản API (đang được rà soát pháp lý)

Câu hỏi, nâng giới hạn hoặc hợp tác: mẫu liên hệ

TexasHomeBills™ — Gói điện Texas xếp hạng theo chi phí thực sự bạn phải trả.
Thời gian đọc:
Lượt xem: 125
ChatGPT: 99 Claude: 10 Google · Gemini: 12 Perplexity: 50 Meta: 5 Amazon: 25 Others: 878
Lượt AI & trình thu thập đã đọc
ChatGPT99
Claude10
Google · Gemini12
Perplexity50
Meta5
Amazon25
Others878

Theo tên mà trình thu thập tự nhận; các trường hợp giả mạo chúng tôi phát hiện được tính vào Others. Google · Gemini gồm Googlebot, trình thu thập tìm kiếm của Google, mà Google cũng dùng chỉ mục đó cho các tính năng AI; công cụ tìm kiếm và bot khác nằm trong Others.

Mức độ hiển thị với AI →

Hỏi