# TiresAPI SKU Price History

> TiresAPI SKU Price History is a paid API for AI agents from tiresapi.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Returns a daily price series (min/max/avg/median/listings) for a single tire SKU over up to 365 days, optionally scoped to a US state or Nielsen DMA market.

## Facts

- Endpoint: GET https://tiresapi.com/api/v1/corpus/price-history/sku
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tiresapi-com-a399df79
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kbQ6dJ9wRg3Q_BKvO5jPr

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tiresapi-com-a399df79
```

Example prompt: Pull the daily price history for tire SKU 'TlMxMjM0NQ' from tiresapi.com for the last 180 days, scoped to California (state CA), so I can see how min, max, and median prices have moved.

## When to prefer this

Use this endpoint when you need time-series price data for a single, known tire SKU — especially for trend analysis, price volatility studies, or regional pricing comparisons. Prefer it over the size-level price history endpoint when you have a specific brand+MPN and need SKU-level granularity. Use the state or dma_code filters to scope analysis to a specific market.

## Known failure modes

- Missing or invalid key_brand_mpc returns a 400 error
- Invalid state code (not 2 uppercase letters) causes a validation error
- days value outside 1–365 is rejected
- Unknown SKU key returns an empty data array
- Invalid dma_code format returns a 400 validation error
- Payment not fulfilled results in a 402 response

## How this service works

Daily price series for one SKU (key_brand_mpc) over up to 365 days.

## Output

A JSON object containing the SKU's metadata (brand, model, size, manufacturer product number) and an array of daily price records — each with utc_date, avg_price, min_price, max_price, median_price, listings count, and sample_rows — covering the requested date range, optionally filtered to a state or DMA.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "key_brand_mpc"
     ],
     "properties": {
      "days": {
       "type": "integer",
       "default": 90,
       "maximum": 365,
       "minimum": 1
      },
      "state": {
       "type": "string",
       "pattern": "^[A-Z]{2}$"
      },
      "dma_code": {
       "type": "string",
       "maxLength": 5,
       "description": "Nielsen DMA code (TV market = retail competition cluster). Orthogonal to `state` — pin one or both. Use to scope the series to a single metro for severity/regional pricing questions."
      },
      "key_brand_mpc": {
       "type": "string",
       "description": "base64url of the binary SKU key."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "sku": {
       "type": [
        "object",
        "null"
       ],
       "properties": {
        "size": {
         "type": [
          "string",
          "null"
         ]
        },
        "brand": {
         "type": [
          "string",
          "null"
         ]
        },
        "model": {
         "type": [
          "string",
          "null"
         ]
        },
        "key_brand_mpc": {
         "type": "string"
        },
        "manufacturer_product_number": {
         "type": [
          "string",
          "null"
         ],
         "description": "Canonical cross-retailer SKU code (MPC/MPN). (brand, manufacturer_product_number) is the external SKU key."
        }
       }
      },
      "data": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "listings": {
          "type": "integer"
         },
         "utc_date": {
          "type": "string",
          "format": "date"
         },
         "avg_price": {
          "type": "number"
         },
         "max_price": {
          "type": "number"
         },
         "min_price": {
    
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sku": {
   "size": "225/65R17",
   "brand": "Michelin",
   "model": "Defender 2",
   "key_brand_mpc": "AAECAw",
   "manufacturer_product_number": "13420"
  },
  "data": [
   {
    "utc_date": "2026-05-19",
    "avg_price": 144.5,
    "max_price": 162.99,
    "min_price": 138.99,
    "sample_rows": 23
   }
  ],
  "days": 90,
  "count": 90,
  "state": null,
  "dma_code": null,
  "key_brand_mpc": "AAECAw"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tiresapi-com-a399df79/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tiresapi.com](https://www.zero.xyz/host/tiresapi.com/llms.txt)
