datasets

Get a single dataset's public metadata

get/api/v1/datasets/{product_id}

Request

  • Base URL: https://www.tradedatahub.net
  • URL: https://www.tradedatahub.net/api/v1/datasets/{product_id}
  • Auth: none declared

Path parameters

product_idstring required

Canonical product identifier. Formats: state:{state_slug} (e.g. state:texas), state-trade:{state_slug}:{trade_slug} (e.g. state-trade:florida:roofer), city-trade:{state_slug}:{city_slug}:{trade_slug} (e.g. city-trade:texas:austin:plumber), Mega Pack IDs are returned by discovery endpoints and may retain a legacy stable catalog ID for compatibility. Slugs are lowercase hyphenated; always derive product_id values from the discovery endpoints rather than constructing them ad hoc.

Response

Dataset metadata

product_idstring required
product_type'city_trade' | 'state_trade' | 'state' | 'mega_pack' required
statestring
citystring
tradestring
record_countinteger required
amount_centsinteger
pricestring required
currencystring required
last_updatedstring
available_for_purchaseboolean

Changes

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