> ## Documentation Index
> Fetch the complete documentation index at: https://docs.compute-desk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Index History

> Returns EWMA-smoothed index time series with envelope-clipped p5/p95/min/max

## Example

Full Hopper (US) informational history:

```bash theme={null}
curl -H "Authorization: Bearer $TOKEN" \
  "https://data-api.compute-index.com/v1/info-index/history?index_name=hopper&region_group=US"
```


## OpenAPI

````yaml pricing/openapi.json GET /v1/info-index/history
openapi: 3.1.0
info:
  title: GPU Pricing API
  description: |2-

        **GPU Pricing API** provides real-time and historical pricing data
        for GPU compute across 50+ cloud providers and GPU marketplaces.

        ## Features
        - Search current prices across vendors
        - Historical price trends
        - GPU transaction data
        - **Informational Price Index** — EWMA-smoothed composite indices by GPU family, region, and contract type
        - **Transaction Price Index** — smoothed indices derived from verified GPU transactions
        - **Custom Index** — EWMA-smoothed H100 sub-model indices by region, contract type, and vendor category
        - Global region coverage (US, EU, APAC)
        - GPU availability tracking
        - Scope-based API key access control

        ## Authentication
        Send your token as a Bearer token in the `Authorization` header on every request:
        ```
        Authorization: Bearer YOUR_TOKEN
        ```
        Example:
        ```bash
        curl -H "Authorization: Bearer $TOKEN" "https://data-api.compute-index.com/v1/vendors"
        ```
        Tokens are issued by Compute Index (david@compute-index.com); long-lived, treat as secrets.

        > The legacy `X-API-Key` header is deprecated — use the `Authorization: Bearer` header above.

        ## Rate Limits
        - **Free tier**: 100 requests/minute, 10,000/day
        - **Pro tier**: 1,000 requests/minute, 100,000/day
        - **Enterprise**: Custom limits

        ## Data Coverage
        - 50+ vendors (AWS, Azure, GCP, Oracle, CoreWeave, Lambda, RunPod, Vast.AI, FluidStack, Vultr, etc.)
        - 30M+ historical pricing records
        - Updated multiple times daily

        ## Support
        - Support: david@compute-index.com
        
  contact:
    name: API Support
    email: david@compute-index.com
  license:
    name: Commercial License
    url: https://compute-desk.com/license
  version: 1.0.0
servers:
  - url: https://data-api.compute-index.com
security: []
paths:
  /v1/info-index/history:
    get:
      tags:
        - Informational Index
      summary: Get informational index time series
      description: >-
        Returns EWMA-smoothed index time series with envelope-clipped
        p5/p95/min/max
      operationId: get_info_index_history_v1_info_index_history_get
      parameters:
        - name: index_name
          in: query
          required: true
          schema:
            type: string
            description: 'Index name: hopper, blackwell'
            title: Index Name
          description: 'Index name: hopper, blackwell'
        - name: region_group
          in: query
          required: false
          schema:
            type: string
            description: 'Region group: US, EU'
            default: US
            title: Region Group
          description: 'Region group: US, EU'
        - name: start_date
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Start date (YYYY-MM-DD)
            title: Start Date
          description: Start date (YYYY-MM-DD)
        - name: end_date
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: End date (YYYY-MM-DD)
            title: End Date
          description: End date (YYYY-MM-DD)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InfoIndexHistoryResponse'
              example:
                data:
                  - date: '2026-04-21'
                    index_name: hopper
                    region_group: US
                    contract_type: combined
                    vendor_category: neocloud
                    index_value: 2.3255
                    index_units: usd_per_gpu_per_hr
                    p5: 1.4407
                    p95: 3.3402
                  - date: '2026-04-22'
                    index_name: hopper
                    region_group: US
                    contract_type: combined
                    vendor_category: neocloud
                    index_value: 2.3241
                    index_units: usd_per_gpu_per_hr
                    p5: 1.4419
                    p95: 3.339
                total_days: 2
                index_name: hopper
                filters:
                  index_name: hopper
                  region_group: US
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    InfoIndexHistoryResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/InfoIndexHistoryPoint'
          type: array
          title: Data
        total_days:
          type: integer
          title: Total Days
        index_name:
          type: string
          title: Index Name
        filters:
          additionalProperties: true
          type: object
          title: Filters
      type: object
      required:
        - data
        - total_days
        - index_name
        - filters
      title: InfoIndexHistoryResponse
      description: Response for informational index history time series
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    InfoIndexHistoryPoint:
      properties:
        date:
          type: string
          title: Date
          description: Index date (YYYY-MM-DD)
        index_name:
          type: string
          title: Index Name
          description: Index name (e.g., hopper, h100, b200)
        region_group:
          type: string
          title: Region Group
          description: Region group (US, EU, APAC, OTHER, all)
        contract_type:
          type: string
          title: Contract Type
          description: Contract type (spot, ondemand, reserved_1y, combined)
        vendor_category:
          type: string
          title: Vendor Category
          description: Vendor category (hyperscaler, neocloud, all)
        index_value:
          anyOf:
            - type: number
            - type: 'null'
          title: Index Value
          description: Smoothed index value ($/GPU-hr)
        index_units:
          type: string
          title: Index Units
          description: Units of the index value
          default: usd_per_gpu_per_hr
        p5:
          anyOf:
            - type: number
            - type: 'null'
          title: P5
          description: Smoothed 5th percentile vendor price (clipped <= index_value)
        p95:
          anyOf:
            - type: number
            - type: 'null'
          title: P95
          description: Smoothed 95th percentile vendor price (clipped >= index_value)
      type: object
      required:
        - date
        - index_name
        - region_group
        - contract_type
        - vendor_category
      title: InfoIndexHistoryPoint
      description: >-
        Single data point in an informational index time series (all values
        EWMA-smoothed)
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````