# TCGplayer price history API

Get TCGplayer Price History data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, range, and retrieve structured data including resolved product identifier, history-price currency, SKU identifier, series condition, and observation date for collection identity, and source-linked views, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/tcgplayer/tcgplayer-price-history-api/b7af0db4-b2cf-4aad-8bd6-1976f9670935/
API ID: b7af0db4-b2cf-4aad-8bd6-1976f9670935
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/tcgplayer/v1/price-history
Page update time: 2026-12-03T02:45:13.431Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:45:10.735Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## TCGplayer Price History API

Choose a product id or url. latest=true instead uses the first q search result; verify the resolved product identity before processing price or transaction data. range defaults to quarter; month uses daily points while quarter, semi-annual and annual use weekly points. series separates condition, printing and language by SKU. Keep market\_price, sale ranges, shipping-inclusive values and transaction quantities as distinct measures.

## What You Can Build

- **Collection identity**: Keep source IDs and record context when matching items in a collection or card-data catalogue.
- **Source-linked views**: Link the returned metadata to the appropriate source record and follow-up detail endpoint.

## Returned Data

| Field | Meaning |
| --- | --- |
| `product_id` | Resolved product identifier |
| `currency` | History-price currency |
| `series[].sku` | SKU identifier |
| `series[].condition` | Series condition |
| `series[].points[].date` | Observation date |
| `series[].points[].market_price` | Source market-price observation |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TCGplayer price history API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "TCGplayer product id (id of a search result, or the number in a tcgplayer.com/product/... link)."
        },
        "url": {
          "type": "string",
          "description": "Instead of id: a tcgplayer.com/product/... link."
        },
        "q": {
          "type": "string",
          "description": "With latest=true: search words; the first search result is used (other search filters such as game also apply)."
        },
        "latest": {
          "type": "string",
          "description": "true: run the search with q and the other search filters and use its first result."
        },
        "range": {
          "type": "string",
          "description": "Period: month (daily points), quarter, semi-annual or annual (weekly points). Default quarter.",
          "enum": [
            "month",
            "quarter",
            "semi-annual",
            "annual"
          ]
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "currency": {
      "type": "string"
    },
    "product_id": {
      "type": "integer"
    },
    "range": {
      "type": "string"
    },
    "series": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "avg_daily_quantity_sold": {
                "type": "integer"
              },
              "avg_daily_transactions": {
                "type": "integer"
              },
              "condition": {
                "type": "string"
              },
              "language": {
                "type": "string"
              },
              "points": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "date": {
                          "type": "string"
                        },
                        "high_sale": {
                          "type": "number"
                        },
                        "high_sale_with_shipping": {
                          "type": "number"
                        },
                        "low_sale": {
                          "type": "number"
                        },
                        "low_sale_with_shipping": {
                          "type": "number"
                        },
                        "market_price": {
                          "type": "number"
                        },
                        "quantity_sold": {
                          "type": "integer"
                        },
                        "transactions": {
                          "type": "integer"
                        }
                      }
                    },
                    {
                      "type": "string"
                    }
                  ]
                }
              },
              "printing": {
                "type": "string"
              },
              "sku": {
                "type": "integer"
              },
              "total_quantity_sold": {
                "type": "integer"
              },
              "total_transactions": {
                "type": "integer"
              },
              "trend_pct": {
                "type": "object",
                "properties": {}
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/tcgplayer/v1/price-history?id=42382&output=json&range=quarter' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "count": 5,
  "credits_used": 1,
  "currency": "USD",
  "product_id": 42382,
  "range": "quarter",
  "series": [
    {
      "avg_daily_quantity_sold": 0,
      "avg_daily_transactions": 0,
      "condition": "Heavily Played",
      "language": "English",
      "points": [
        {
          "date": "2026-08-09",
          "high_sale": 278.89,
          "high_sale_with_shipping": 279.88,
          "low_sale": 278.89,
          "low_sale_with_shipping": 279.88,
          "market_price": 280.2,
          "quantity_sold": 1,
          "transactions": 1
        },
        {
          "date": "2026-08-12",
          "high_sale": 279.99,
          "high_sale_with_shipping": 279.99,
          "low_sale": 279.99,
          "low_sale_with_shipping": 279.99,
          "market_price": 281.64,
          "quantity_sold": 1,
          "transactions": 1
        },
        "… 28 more"
      ],
      "printing": "Holofoil",
      "sku": 2999655,
      "total_quantity_sold": 57,
      "total_transactions": 57,
      "trend_pct": {}
    },
    {
      "avg_daily_quantity_sold": 0,
      "avg_daily_transactions": 0,
      "condition": "Moderately Played",
      "language": "English",
      "points": [
        {
          "date": "2026-08-09",
          "high_sale": 379.98,
          "high_sale_with_shipping": 379.98,
          "low_sale": 379.98,
          "low_sale_with_shipping": 379.98,
          "market_price": 391.68,
          "quantity_sold": 1,
          "transactions": 1
        },
        {
          "date": "2026-08-12",
          "high_sale": 372.75,
          "high_sale_with_shipping": 372.75,
          "low_sale": 365.49,
          "low_sale_with_shipping": 365.49,
          "market_price": 386.55,
          "quantity_sold": 4,
          "transactions": 4
        },
        "… 28 more"
      ],
      "printing": "Holofoil",
      "sku": 2999654,
      "total_quantity_sold": 81,
      "total_transactions": 78,
      "trend_pct": {}
    },
    "… 3 more"
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What period is selected by default?
quarter. Other supported periods are month, semi-annual and annual.

### Are all series daily?
No. month uses daily points; quarter, semi-annual and annual use weekly points.

### Can I combine every condition into one price?
Retain SKU, condition, printing and language; compare like series.

### Are market_price and high_sale the same?
No. They are distinct source measures, with separate shipping-inclusive values where supplied.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/tcgplayer/tcgplayer-price-history-api/b7af0db4-b2cf-4aad-8bd6-1976f9670935/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
