# TCGplayer product API

Get TCGplayer Product data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, and retrieve structured data including product identifier, product name, source set identifier, product-price currency, and source product market price for collection identity, and source-linked views, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/tcgplayer/tcgplayer-product-api/3a7f7e32-ae3f-4b4f-b1de-6b5e6d871b7e/
API ID: 3a7f7e32-ae3f-4b4f-b1de-6b5e6d871b7e
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/tcgplayer/v1/product
Page update time: 2026-12-03T02:45:13.456Z
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.845Z. 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 Product 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. sku\_prices=1 adds market, lowest and highest prices per SKU, preserving condition, printing and language. Product-level price fields, latest\_sales and listing counts remain distinct observations; no purchase or inventory reservation is performed.

## 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 |
| --- | --- |
| `id` | Product identifier |
| `name` | Product name |
| `set_id` | Source set identifier |
| `currency` | Product-price currency |
| `market_price` | Source product market price |
| `skus` | Condition, printing and language variants |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TCGplayer product 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."
        },
        "sku_prices": {
          "type": "string",
          "description": "1 to add market, lowest and highest price per SKU (condition, printing, language).",
          "enum": [
            "0",
            "1"
          ]
        },
        "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": {
    "attributes": {
      "type": "object",
      "properties": {
        "attack1": {
          "type": "string"
        },
        "cardType": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "cardTypeB": {
          "type": "string"
        },
        "energyType": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "flavorText": {
          "type": "string"
        },
        "hp": {
          "type": "string"
        },
        "number": {
          "type": "string"
        },
        "rarityDbName": {
          "type": "string"
        },
        "releaseDate": {
          "type": "string"
        },
        "resistance": {
          "type": "string"
        },
        "retreatCost": {
          "type": "string"
        },
        "stage": {
          "type": "string"
        },
        "weakness": {
          "type": "string"
        }
      }
    },
    "cached": {
      "type": "boolean"
    },
    "credits_used": {
      "type": "integer"
    },
    "currency": {
      "type": "string"
    },
    "custom_listings": {
      "type": "integer"
    },
    "description": {
      "type": "string"
    },
    "flavor_text": {
      "type": "string"
    },
    "foil_only": {
      "type": "boolean"
    },
    "formatted_attributes": {
      "type": "object",
      "properties": {
        "Artist": {
          "type": "string"
        },
        "Attack 1": {
          "type": "string"
        },
        "Card Number / Rarity": {
          "type": "string"
        },
        "Card Text": {
          "type": "string"
        },
        "Card Type / HP / Stage": {
          "type": "string"
        },
        "TCGplayer Tip": {
          "type": "string"
        },
        "Weakness / Resistance / Retreat Cost": {
          "type": "string"
        }
      }
    },
    "game": {
      "type": "string"
    },
    "game_id": {
      "type": "integer"
    },
    "id": {
      "type": "integer"
    },
    "image": {
      "type": "string"
    },
    "image_count": {
      "type": "integer"
    },
    "latest_sales": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "condition": {
                "type": "string"
              },
              "currency": {
                "type": "string"
              },
              "custom_listing_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "date": {
                "type": "string"
              },
              "language": {
                "type": "string"
              },
              "listing_type": {
                "type": "string"
              },
              "price": {
                "type": "number"
              },
              "printing": {
                "type": "string"
              },
              "quantity": {
                "type": "integer"
              },
              "shipping": {
                "type": "integer"
              },
              "title": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "listings": {
      "type": "integer"
    },
    "lowest_price": {
      "type": "number"
    },
    "lowest_price_with_shipping": {
      "type": "number"
    },
    "market_price": {
      "type": "number"
    },
    "median_price": {
      "type": "null"
    },
    "name": {
      "type": "string"
    },
    "normal_only": {
      "type": "boolean"
    },
    "number": {
      "type": "string"
    },
    "product_type": {
      "type": "string"
    },
    "rarity": {
      "type": "string"
    },
    "release_date": {
      "type": "string"
    },
    "sealed": {
      "type": "boolean"
    },
    "sellers": {
      "type": "integer"
    },
    "set": {
      "type": "string"
    },
    "set_code": {
      "type": "string"
    },
    "set_id": {
      "type": "integer"
    },
    "skus": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "condition": {
                "type": "string"
              },
              "language": {
                "type": "string"
              },
              "printing": {
                "type": "string"
              },
              "sku": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/tcgplayer/v1/product?id=42382&output=json' \
  -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
{
  "attributes": {
    "attack1": "[RRRR] Fire Spin (100)\r\n\nDiscard 2 Energy cards attached to Charizard in order to use this attack.",
    "cardType": [
      "Pokemon"
    ],
    "cardTypeB": "Fire",
    "energyType": [
      "Fire"
    ],
    "flavorText": "Flame Pokémon. Length: 5'7\", Weight: 200 lbs.\r\n\nSpits fire that is hot enough to melt boulders. Known to unintentionally cause forest fires.…",
    "hp": "120",
    "number": "004/102",
    "rarityDbName": "Holo Rare",
    "releaseDate": "1999-01-09T00:00:00Z",
    "resistance": "F-30",
    "retreatCost": "3",
    "stage": "Stage 2",
    "weakness": "W"
  },
  "cached": false,
  "credits_used": 1,
  "currency": "USD",
  "custom_listings": 0,
  "description": "Pokémon Power: Energy Burn As often as you like during your turn (before your attack), you may turn all Energy attached to Charizard into Fi…",
  "flavor_text": "Flame Pokémon. Length: 5'7\", Weight: 200 lbs.\r\n\nSpits fire that is hot enough to melt boulders. Known to unintentionally cause forest fires.…",
  "foil_only": true,
  "formatted_attributes": {
    "Artist": "Mitsuhiro Arita",
    "Attack 1": "[RRRR] Fire Spin (100)\r\n\nDiscard 2 Energy cards attached to Charizard in order to use this attack.",
    "Card Number / Rarity": "004/102 / Holo Rare",
    "Card Text": "Pokémon Power: Energy Burn As often as you like during your turn (before your attack), you may turn all Energy attached to Charizard into Fi…",
    "Card Type / HP / Stage": "Fire / 120 / Stage 2",
    "TCGplayer Tip": "The Holo Rare Charizard card from Base Set has been the holy grail of Pokémon collectibles since 1999, and many fans consider it the most ic…",
    "Weakness / Resistance / Retreat Cost": "W / F-30 / 3"
  },
  "game": "Pokemon",
  "game_id": 3,
  "id": 42382,
  "image": "https://tcgplayer-cdn.tcgplayer.com/product/42382_in_1000x1000.jpg",
  "image_count": 1,
  "latest_sales": [
    {
      "condition": "Moderately Played",
      "currency": "USD",
      "custom_listing_key": "48WFoJaljb01",
      "date": "2026-11-04T02:48:27.543+00:00",
      "language": "English",
      "listing_type": "ListingWithPhotos",
      "price": 400,
      "printing": "Holofoil",
      "quantity": 1,
      "shipping": 0,
      "title": "Charizard B1 MP"
    },
    {
      "condition": "Lightly Played",
      "currency": "USD",
      "custom_listing_key": null,
      "date": "2026-11-03T22:06:24.64+00:00",
      "language": "English",
      "listing_type": "ListingWithoutPhotos",
      "price": 476.49,
      "printing": "Holofoil",
      "quantity": 1,
      "shipping": 0,
      "title": "Charizard"
    },
    "… 3 more"
  ],
  "listings": 148,
  "lowest_price": 205.77,
  "lowest_price_with_shipping": 205.99,
  "market_price": 987.13,
  "median_price": null,
  "name": "Charizard",
  "normal_only": false,
  "number": "004/102",
  "product_type": "Cards",
  "rarity": "Holo Rare",
  "release_date": "1999-01-09T00:00:00Z",
  "sealed": false,
  "sellers": 79,
  "set": "Base Set",
  "set_code": "BS",
  "set_id": 604,
  "skus": [
    {
      "condition": "Near Mint",
      "language": "English",
      "printing": "Holofoil",
      "sku": 2999652
    },
    {
      "condition": "Lightly Played",
      "language": "English",
      "printing": "Holofoil",
      "sku": 2999653
    },
    "… 3 more"
  ],
  "url": "https://www.tcgplayer.com/product/42382/pokemon-base-set-charizard"
}
```

## 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
### How do I enable per-SKU prices?
Set sku_prices=1.

### Is a SKU the same as a product ID?
No. A product can have several condition, printing and language SKUs.

### Does latest=true select the latest sale?
No. It chooses the first search match for q.

### Does market_price reserve an item at that price?
No. It is source market metadata, separate from listing availability or a purchase.

### 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-product-api/3a7f7e32-ae3f-4b4f-b1de-6b5e6d871b7e/

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