$ curl https://api.tcgpricelookup.com/v1/search

Ang pinakamabilis na
TCG Price API
para sa mga developer

Real-time card pricing API para sa Pokemon, Magic: The Gathering, Yu-Gi-Oh!, Lorcana, One Piece, at 3 pang laro. Mahigit 300,000 kard, 5 opisyal na SDK, libreng tier kasama.

300,000+ Mga Kard
8 Mga Laro
5 SDK
2 Mga Market
Free Libreng Tier
24/7 Mga Update
Mabilis na Simula JavaScript
// Search for any card across all 8 games
import { TCGLookup } from 'tcglookup';

const tcg = new TCGLookup({ apiKey: 'your-key' });
const cards = await tcg.search('charizard');
// 47 results, real-time prices from TCGPlayer + eBay

const card = await tcg.getCard('pokemon-sv4-charizard-ex-006');
// Market price, per-condition, PSA/BGS/CGC graded values

Paano Gumagana ang TCG API

Mula sa zero hanggang sa makuha ang card price data sa loob ng 5 minuto. Tatlong hakbang, walang kumplikadong configuration.

01

Kumuha ng Libreng API Key

Mag-sign up sa tcgpricelookup.com — hindi kailangan ng credit card. Agad na ibibigay ang API key at magagamit sa lahat ng 8 na sinusuportahang laro. Ang libreng plan ay nagbibigay ng 200 requests bawat araw para makapagsimula agad ng development.

API key: tpl_live_xxxxxxxxxxxx
02

I-install ang SDK

Pumili ng iyong gustong wika. Ang mga official SDK ay available para sa JavaScript, Python, Go, Rust, at PHP. Bawat SDK ay pinapanatili ng TCG Price Lookup team na may kumpletong type definitions.

$ npm install tcglookup
03

Kunin ang Mga Presyo ng Card

Maghanap sa pamamagitan ng pangalan ng card, set, o ID. Makuha ang real-time na TCGPlayer at eBay prices, condition-based na presyo, graded prices, at price history — lahat sa iisang API.

search GET /v1/search?q=charizard
card GET /v1/cards/:id
history GET /v1/cards/:id/prices
batch POST /v1/cards/batch

Ano ang Maaari Mong Buuin

Ang TCG card price API ay ginagamit para sa lahat mula sa hobby scripts hanggang sa production trading apps.

💰

Price Comparison Tools

Ipakita ang TCGPlayer market prices at eBay sold prices nang magkasabay. Matukoy ng mga buyer ang pinakamababang presyo, matakda ng mga seller ang kompetitibong halaga.

📊

Portfolio Trackers

Hayaan ang mga collector na mag-input ng kanilang mga card at ma-track ang halaga ng koleksyon sa paglipas ng panahon. I-chart ang profit at loss gamit ang price history endpoint.

🤖

Discord Bots

Magdagdag ng slash commands sa TCG Discord servers para mahanap ng mga miyembro ang mga presyo ng card nang hindi umaalis sa chat. Ang open-source Discord bot starter na sumusuporta sa lahat ng 8 laro ay maaaring i-deploy sa ilang minuto.

🔄

Trading Apps

Palakasin ang buy/sell/trade interfaces gamit ang real-time price data. Ipakita ang fair trade values, tukuyin ang underpriced listings, at mag-batch-price ng buong deck lists.

🔔

Price Alerts

Bantayan ang mga partikular na card at abisuhan ang mga user kapag lumampas ang presyo sa isang threshold. Gumamit ng scheduled polling o webhook notifications sa mga paid plan.

📈

Analytics Dashboards

Gumawa ng price history charts, pagsusuri ng trend para sa buong set, at pagtatantya ng market cap ng set. Ang price history endpoint ay nagbibigay ng daily snapshots bawat buwan.

Isang TCG API para sa Lahat ng Laro

Isang API key para sa 8 laro. Pokémon TCG API, MTG API, Yu-Gi-Oh! API, Lorcana, One Piece, at iba pa — lahat sa iisang unified na interface.

Pokemon

30,000+ cards

Access real-time pricing for over 30,000 Pokemon TCG cards. Search by name, set, or card number. Get per-condition pricing from Near Mint to Damaged, plus PSA, BGS, and CGC graded values.

Tingnan ang Pokemon API docs →
Pokemon API example JavaScript
const results = await tcg.search('charizard', { game: 'pokemon' });
// Returns: prices for all Charizard cards across all sets

Magic: The Gathering

100,000+ cards

Access real-time pricing for over 100,000 Magic: The Gathering cards. Complete coverage of all sets from Alpha to the latest release. Per-condition and graded pricing.

Tingnan ang Magic: The Gathering API docs →
Magic: The Gathering API example JavaScript
const results = await tcg.search('black lotus', { game: 'mtg' });
// Returns: prices for Black Lotus across all editions

Yu-Gi-Oh!

40,000+ cards

Access real-time pricing for over 40,000 Yu-Gi-Oh! cards. Coverage spans all sets and rarities with per-condition and graded card values.

Tingnan ang Yu-Gi-Oh! API docs →
Yu-Gi-Oh! API example JavaScript
const results = await tcg.search('blue-eyes white dragon', { game: 'yugioh' });
// Returns: prices for Blue-Eyes White Dragon across all sets

Disney Lorcana

3,000+ cards

Access real-time pricing for over 3,000 Disney Lorcana cards. Full coverage since launch with per-condition pricing and graded values.

Tingnan ang Disney Lorcana API docs →
Disney Lorcana API example JavaScript
const results = await tcg.search('elsa', { game: 'lorcana' });
// Returns: prices for all Elsa cards

One Piece

6,000+ cards

Access real-time pricing for over 6,000 One Piece TCG cards. Complete set coverage with per-condition pricing and graded values.

Tingnan ang One Piece API docs →
One Piece API example JavaScript
const results = await tcg.search('luffy', { game: 'onepiece' });
// Returns: prices for all Luffy cards

Pokemon Japan

20,000+ cards

Access real-time pricing for over 20,000 Japanese Pokemon TCG cards. Covers Japanese-exclusive sets, promos, and special releases.

Tingnan ang Pokemon Japan API docs →
Pokemon Japan API example JavaScript
const results = await tcg.search('pikachu', { game: 'pokemonjp' });
// Returns: prices for Japanese Pikachu cards

Star Wars: Unlimited

2,500+ cards

Access real-time pricing for over 2,500 Star Wars: Unlimited cards. Full coverage with per-condition pricing and graded values.

Tingnan ang Star Wars: Unlimited API docs →
Star Wars: Unlimited API example JavaScript
const results = await tcg.search('darth vader', { game: 'swu' });
// Returns: prices for all Darth Vader cards

Flesh and Blood

8,000+ cards

Access real-time pricing for over 8,000 Flesh and Blood cards. Complete coverage with per-condition pricing and graded values.

Tingnan ang Flesh and Blood API docs →
Flesh and Blood API example JavaScript
const results = await tcg.search('bravo', { game: 'fab' });
// Returns: prices for all Bravo cards

Paghahambing ng TCG API

Paano naghahambing ang TCG Price Lookup laban sa Scryfall, pokemontcg.io, TCGPlayer API, at sariling scraper.

Feature TCG Price Lookup Scryfall API pokemontcg.io TCGPlayer API Sariling Scraper
Bilang ng Laro 8 laro MTG lamang Pokémon lamang Marami (nagbabago) Ikaw ang magpapasya
Real-time na Presyo Bahagi (TCGP) ✓ (TCGP lamang) Depende
Condition-based na Presyo Manual
Graded Prices (PSA/BGS/CGC) Manual
Official SDKs 5 wika Community lamang 1 (JS)
Libreng Plan ✓ 200 req/araw Walang price data Walang price data Kailangan ng aplikasyon ✓ (sariling gastos)
Price History Limitado Sariling gawa

Developer Ecosystem

Bukod sa REST API, may 5 official SDKs sa iba't ibang wika, ready-to-use na tools, at komprehensibong developer documentation.

Official SDKs — 6 wika

CLI Tool

GitHub →

Live trading card prices in your terminal. Search, lookup, price history, JSON output for scripting. Also installable via npm.

$ brew tap TCG-Price-Lookup/tcg && brew install tcglookup
  • Search cards from terminal
  • Price history lookups
  • JSON output for scripting

Go SDK

GitHub →

Official Go SDK for the TCG Price Lookup API. Idiomatic Go, stdlib net/http, zero third-party deps, functional options, typed errors.

$ go get github.com/TCG-Price-Lookup/tcglookup-go
  • Zero third-party dependencies
  • Idiomatic Go design
  • Functional options pattern

JavaScript / TypeScript SDK

GitHub →

Official JavaScript/TypeScript SDK for the TCG Price Lookup API. Zero deps, ESM + CJS, works in Node 18+, browsers, Bun, Deno, Cloudflare Workers.

$ npm install tcglookup
  • Zero dependencies
  • ESM and CommonJS support
  • Full TypeScript types

PHP SDK

GitHub →

Official PHP SDK for the TCG Price Lookup API. PHP 8.1+, Guzzle, PSR-4, typed exception hierarchy.

$ composer require tcg-price-lookup/tcglookup
  • PHP 8.1+ support
  • Guzzle HTTP client
  • PSR-4 autoloading

Python SDK

GitHub →

Official Python SDK for the TCG Price Lookup API. Python 3.9+, built on httpx, typed exception hierarchy, context manager support.

$ pip install tcglookup
  • Python 3.9+ support
  • Built on httpx (async ready)
  • Typed exception hierarchy

Rust SDK

GitHub →

Official Rust SDK for the TCG Price Lookup API. Async with reqwest + tokio, typed Error enum, builder pattern.

$ cargo add tcglookup
  • Async with reqwest + tokio
  • Typed Error enum
  • Builder pattern

Mga Tool at Resources — 5 tools

Awesome TCG

list

Curated list of the TCG Price Lookup ecosystem — REST API, 5 SDKs, CLI, code examples in 8 languages, blog tutorials.

github.com/TCG-Price-Lookup/awesome-tcg#readme →

Discord Bot

bot

Self-hosted Discord bot for live trading card prices. Slash commands powered by the TCG Price Lookup API. Supports all 8 games.

github.com/TCG-Price-Lookup/tcg-discord-bot#readme →

Next.js Starter

starter

One-click deployable Next.js 16 starter for the TCG Price Lookup API. Search live trading card prices across 8 games out of the box.

$ npx create-next-app -e https://github.com/TCG-Price-Lookup/nextjs-tcg-starter

OpenAPI Specification

spec

OpenAPI 3.1 specification for the TCG Price Lookup API. Use with Swagger UI, Redoc, Postman, or any OpenAPI-compatible tool.

github.com/TCG-Price-Lookup/tcg-api-openapi#readme →

Postman Collection

collection

Ready-to-use Postman collection and environment for the TCG Price Lookup API. Import, set your API key, and start testing.

github.com/TCG-Price-Lookup/tcg-api-postman#readme →

Mga Madalas na Tanong

Mula sa pagsisimula gamit ang TCG Price Lookup API hanggang sa rate limits at graded card prices.

Ano ang TCG API?

+

Ang TCG API (Trading Card Game API) ay isang web service na nagbibigay ng programmatic na access sa card data. Kasama dito ang detalye ng card, impormasyon ng set, at real-time na presyo sa merkado. Ginagamit ng mga developer ang TCG API para gumawa ng price trackers, portfolio tools, Discord bots, at iba pa.

Libre ba ang TCG Price Lookup API?

+

Oo, nag-aalok ang TCG Price Lookup ng libreng plan na may 200 requests bawat araw para sa hobby projects at prototypes (non-commercial). Ang mga paid plan ay may mas mataas na rate limits, price history endpoints, eBay prices, graded card prices, at karapatang pangkomersyo. Hindi kailangan ng credit card para magsimula.

Anong mga trading card game ang sinusuportahan?

+

Kasalukuyang sumusuporta ng 8 laro: Pokémon TCG (English), Pokémon Japan, Magic: The Gathering, Yu-Gi-Oh!, Disney Lorcana, One Piece Card Game, Star Wars: Unlimited, at Flesh and Blood. Ginagamit ng lahat ng laro ang parehong unified na search at card endpoints.

Paano makakakuha ng Pokémon TCG API key?

+

Mag-sign up sa tcgpricelookup.com at i-verify ang iyong email address — agad na ibibigay ang API key. Walang approval process — maaari kang magsimulang mag-request sa Pokémon TCG API (at lahat ng iba pang laro) kaagad.

Sinusuportahan ba ang graded card prices (PSA, BGS, CGC)?

+

Oo. Available ang graded card prices para sa PSA (grades 1–10), Beckett (BGS 7–10, kasama ang 9.5 at 10 Black Label), at CGC (grades 1–10). Ang graded prices ay kinukuha mula sa eBay sales data. Kailangan ng Trader plan o mas mataas.

Ano ang rate limits ng API?

+

Ang libreng plan ay may maximum na 200 requests bawat araw (burst: 1 request/3 segundo). Ang Trader plan ($14.99/buwan) ay may 10,000 requests bawat araw (burst: 1 request/segundo). Ang Business plan ($89.99/buwan) ay may 100,000 requests bawat araw (burst: 3 requests/segundo). Ang daily limits ay nire-reset sa UTC midnight.

Anong mga SDK ang available?

+

May 5 official SDKs: JavaScript/TypeScript (npm install tcglookup), Python (pip install tcglookup), Go (go get github.com/TCG-Price-Lookup/tcglookup-go), Rust (cargo add tcglookup), at PHP (composer require tcg-price-lookup/tcglookup). Available din ang CLI tool para sa terminal access.

Gaano kadalas na-update ang mga presyo ng card?

+

Patuloy na nina-update ang mga presyo ng card. Ang TCGPlayer market prices ay ina-update bawat ilang oras habang dumarating ang bagong sales data. Ang eBay sold listings ay ina-update araw-araw. Para sa pinaka-time-sensitive na applications, maaari kang mag-track ng trends sa pamamagitan ng price history endpoint.

Magsimulang Mag-develop gamit ang TCG API Ngayon

Kasama ang libreng plan. Hindi kailangan ng credit card. Agad na access sa mahigit 300,000 cards mula sa 8 laro.