# TiresAPI Inventory Latest Snapshot

> TiresAPI Inventory Latest Snapshot is a paid API for AI agents from tiresapi.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns paginated latest-snapshot tire inventory rows (up to 200/page) filtered by tire size, SKU, retailer, ZIP code, or state

## Facts

- Endpoint: GET https://tiresapi.com/api/v1/corpus/inventory/latest
- Price: $0.01/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-46f82051
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4UF1KQCkTPaFRFNtrKDhg

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-46f82051
```

Example prompt: Show me the latest tire inventory for size 225/65R17 within 50 miles of ZIP code 90210 — list up to 200 results with prices, store distances, and brand tiers.

## When to prefer this

Use this endpoint when you need raw, paginated inventory rows with full store-level detail (price, location, brand tier) for a given tire size, SKU, retailer, or geographic area. Prefer this over /answers/best_price_near when you need more than one result, want to compare across retailers, or need to do your own analysis. Use the summary=true mode for aggregated band/severity analysis instead of row-by-row data.

## Known failure modes

- 402 Payment Required if no valid filter param is provided and no x402 payment is sent
- Empty result set (auto-credited) if no inventory matches the filters
- 400 Bad Request if zip_code is not exactly 5 digits or state is not a 2-letter code
- 400 Bad Request if no required filter (tire_size, key_brand_mpc, retailer_key, zip_code, or state) is present
- Pagination cursor mismatch if cursor value is stale or invalid
- radius_miles exceeding 200 returns validation error

## How this service works

Latest-snapshot inventory rows (up to 200/page). Requires at least one filter (tire_size, key_brand_mpc, retailer_key, zip_code, or state); if none are on the URL, zip_code defaults to 33705 (Tampa) with radius_miles=40 so discovery probes reach a 402. For cheapest-in-radius use POST /api/v1/answers/best_price_near.

## Output

A paginated JSON object with a 'data' array of up to 200 inventory rows and a 'page' object for cursor-based pagination. Each row includes tire_size, brand, model, single_price, brand_tier (Best/Better/Good/Economy), retailer_key, store_num, city, state, zip_code, store_distance_miles, key_brand_mpc, manufacturer_product_number, last_extracted timestamp, and history_id.

## 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",
     "anyOf": [
      {
       "required": [
        "tire_size"
       ]
      },
      {
       "required": [
        "key_brand_mpc"
       ]
      },
      {
       "required": [
        "retailer_key"
       ]
      },
      {
       "required": [
        "zip_code"
       ]
      },
      {
       "required": [
        "state"
       ]
      }
     ],
     "properties": {
      "limit": {
       "type": "integer",
       "default": 200,
       "maximum": 200,
       "minimum": 1
      },
      "state": {
       "type": "string",
       "pattern": "^[A-Z]{2}$"
      },
      "cursor": {
       "type": "string"
      },
      "zip_code": {
       "type": "string",
       "pattern": "^[0-9]{5}$"
      },
      "tire_size": {
       "type": "string"
      },
      "radius_miles": {
       "type": "integer",
       "default": 40,
       "maximum": 200,
       "minimum": 1
      },
      "retailer_key": {
       "type": "string"
      },
      "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",
     "required": [
      "data",
      "page"
     ],
     "properties": {
      "data": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "city": {
          "type": [
           "string",
           "null"
          ]
         },
         "size": {
          "type": "string"
         },
         "brand": {
          "type": [
           "string",
           "null"
          ]
         },
         "model": {
          "type": [
           "string",
           "null"
          ]
         },
         "state": {
          "type": [
           "string",
           "null"
          ]
         },
         "zip_code": {
          "type": [
           "string",
           "null"
          ]
         },

… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "city": "Tampa",
    "size": "235/55R17",
    "brand": "Michelin",
    "model": "Defender T+H",
    "state": "FL",
    "zip_code": "33614",
    "store_num": "1234",
    "tire_size": "235/55R17",
    "retailer_key": "DISCOUNTTIRE",
    "single_price": 142.99,
    "key_brand_mpc": "AAECAw",
    "last_extracted": "2026-05-20T08:30:00Z",
    "store_distance_miles": 4.2,
    "manufacturer_product_number": "13420"
   }
  ],
  "page": {
   "cursor": null,
   "has_more": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tiresapi-com-46f82051/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)
