EIA Texas monthly retail price/sales/customers/revenue by sector; BLS CPI and average prices. Free window per series = its latest 30 days (latest month for monthly series). Every row carries its unit, date and original source_url; incomplete days are flagged (complete=false), never filled. Response has `attribution` (TexasHomeBills™ + link) and `sources` (original publishers with URLs and terms).

get/market/texas-retail

Request

  • Base URL: https://texashomebills.com/api/v1
  • URL: https://texashomebills.com/api/v1/market/texas-retail
  • Auth: one of:
    • none
    • API key in header X-API-Key
    • HTTP bearer

Query parameters

datasetstring

eia861m (default), eia_retail, bls_cpi or bls_ap

sectorstring

res (default), com, ind, tot/all, tra, oth

measurestring

price, sales, customers, revenue (default all)

seriesstring

exact series ids from /market (overrides dataset)

startstring

YYYY-MM-DD. Default: 30 days ending at the series' latest date. Without a Pro key, start must be within the most recent 30 days (else 403 pro_required).

endstring

YYYY-MM-DD (default: latest date)

limitinteger

rows per response (default 1000; max 5,000 free, 20,000 Pro)

offsetinteger

rows to skip; responses give total, next_offset and next

Response

JSON with an attribution block; every item has url and a ready cite line to show users

Changes

No recorded changes to this operation across all 1 revision of this API.