Skip to main content
GET
Get historical GPU prices valid between date filters
Returns raw per-offer GPU price records that were valid/active during a date range — the full change history behind a vendor’s quotes, one row per snapshot. Filtering is overlap-based: a record is returned if its validity window overlaps [start_date, end_date]. Either bound may be omitted (open-ended range).
Premium — historical data. This endpoint requires the prices-history scope, granted separately from prices — a token can have current access without history. Contact david@compute-index.com to request access.
The interactive playground (“Try it”) shows only the first page of results — the full result set can run to hundreds of thousands of records. Page through the complete data with page / page_size (max 1000).
At least one filter is required (vendor, gpu_model, gpu_canonical_name, region, contract_type, product_key, or base_product_key) — an unfiltered history query returns 400. Use page / page_size to page through large results.
For a point-in-time snapshot rather than a range, use As Of Date.

Example

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default:1

Page number (starts at 1)

Required range: x >= 1
page_size
integer
default:100

Items per page (max 1000)

Required range: 1 <= x <= 1000
vendor
string | null

Filter by vendor (exact match). Supports comma-separated list (max 20). Example: aws,gcp,azure

gpu_model
string | null

Filter by GPU model (partial match). Supports comma-separated list (max 5). Example: H100,A100,L40S

gpu_canonical_name
string | null

Filter by canonical GPU name (exact match). Supports comma-separated list (max 20). Example: nvidia-h100-sxm-80gb

region
string | null

Filter by region (exact match). Supports comma-separated list (max 20). Example: us-east-1,eu-west-1

contract_type
string | null

Filter by contract type. Supports comma-separated list (max 20). Example: ondemand,spot,reserved

product_key
string | null

Specific product snapshot (includes timestamp and price)

base_product_key
string | null

Product identity (all historical snapshots of same product)

start_date
string | null

Start date (ISO format). Returns records that were still valid at or after this date. Example: 2024-10-14 or 2024-10-14T00:00:00

end_date
string | null

End date (ISO format). Returns records that started at or before this date. Example: 2024-10-18 or 2024-10-18T23:59:59

sort_by
string
default:available_at

Sort field

sort_order
string
default:desc

Sort order (asc or desc)

Response

Successful Response

Response schema for list of GPU prices with pagination

data
GPUPriceResponse · object[]
required
pagination
Pagination · object
required
filters
Filters · object
required