History

Read history without a current price

Read canonical daily observations for an approved stored tcg_ variant, even when its current price is missing, stale or a placeholder. The window ends on the requested UTC date or today, with no fabricated current-price point. Empty ranges return 200 with explicit missing dates and coverage.

1 admitted HTTP request. Unknown query/body parameters are rejected. Examples contain illustrative data and placeholder IDs; they are not live catalogue records.

get/v1/catalog/variants/{id}/history

Request

  • Base URL: https://tcgdata-api.ottenniels1999.workers.dev
  • URL: https://tcgdata-api.ottenniels1999.workers.dev/v1/catalog/variants/{id}/history
  • Auth: HTTP bearer

Path parameters

idstring required

Stable tcg_ price-variant ID from the catalogue. Keep this ID for subsequent syncs.

Query parameters

daysinteger

UTC calendar days, ending on to or today UTC, independently of the current price observation. Actual coverage varies by card and game.

tostring date

Inclusive UTC date, at most today.

Inclusive UTC end date from 1900-01-01; defaults to today. Future or invalid dates return 400. Use earlier end dates to page through older history in windows of up to 90 days.

Response

Success. 1 admitted HTTP request.

Changes

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