Skip to main content
GET
Get GPU prices as of a specific date
Returns the raw per-offer GPU price records that were active/valid at a point in time — the underlying quotes behind the indices, one row per vendor SKU. Required as_of_date: a date-only value means the end of that day (UTC) (the daily-snapshot convention, matching the index sections’ as_of); a full timestamp means that exact instant. Narrow the result with any combination of vendor, gpu_model, region, and contract_type, and page through with page / page_size.
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).
Answers reflect the best current knowledge of the price book: reprocessed source files and vendor-visibility changes can revise historical answers, and a quote from a vendor that stops reporting stays valid until closed by the staleness sweep (typically up to ~7 days).

Example

Authorizations

Authorization
string
header
required

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

Query Parameters

as_of_date
string
required

Target date (ISO format). Date-only = end of that day (UTC); full timestamp = exact instant. Returns records where available_at <= as_of AND (valid_to IS NULL OR valid_to > as_of). Example: 2024-10-17 or 2024-10-17T12:00:00

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)

sort_by
string
default:price_usd_per_gpu_hour

Sort field

sort_order
string
default:asc

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