$ curl https://api.tcgpricelookup.com/v1/search
TCG Price API
ที่เร็วที่สุด
สำหรับนักพัฒนา
API ราคาการ์ดแบบเรียลไทม์สำหรับ Pokemon, Magic: The Gathering, Yu-Gi-Oh!, Lorcana, One Piece และอีก 3 เกม การ์ดกว่า 300,000 ใบ SDK อย่างเป็นทางการ 5 รายการ รวมระดับฟรี
// 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 วิธีการทำงานของ TCG API
จากศูนย์สู่การดึงข้อมูลราคาการ์ดภายใน 5 นาที ตั้งค่า 3 ขั้นตอน ไม่ซับซ้อน
รับ API key ฟรี
สมัครที่ tcgpricelookup.com — ไม่ต้องใช้บัตรเครดิต API key ออกให้ทันที ใช้ได้กับทั้ง 8 เกมที่รองรับ แพ็กเกจฟรีให้ 200 requests/วัน เริ่มพัฒนาได้เลย
ติดตั้ง SDK
เลือกภาษาที่คุณต้องการ SDK อย่างเป็นทางการรองรับ JavaScript, Python, Go, Rust และ PHP ดูแลและอัปเดตโดยทีม TCG Price Lookup พร้อม type definition ครบถ้วน
ดึงราคาการ์ด
ค้นหาด้วยชื่อการ์ด ชุด หรือ ID ดึงราคาตลาดแบบ real-time จาก TCGPlayer และ eBay ราคาตามสภาพ ราคา graded และประวัติราคาในหนึ่ง API เดียว
สร้างอะไรได้บ้าง
TCG card price API ใช้ได้ตั้งแต่สคริปต์งานอดิเรกไปจนถึงแอป trading ระดับ production
เครื่องมือเปรียบเทียบราคา
แสดงราคาตลาดจาก TCGPlayer และ eBay แบบเคียงข้างกัน ผู้ซื้อหาราคาต่ำสุด ผู้ขายตั้งราคาแข่งขันได้
Portfolio Tracker
ให้นักสะสมบันทึกการ์ดและติดตามมูลค่าคอลเลกชันตามเวลา สร้างกราฟกำไร-ขาดทุนด้วย price history endpoint
Discord Bot
เพิ่ม slash command ใน TCG Discord server เพื่อให้สมาชิกค้นหาราคาการ์ดโดยไม่ต้องออกจาก chat รองรับทั้ง 8 เกม
แอป Trading
เพิ่มข้อมูลราคาแบบ real-time ให้อินเทอร์เฟซซื้อขายและแลกเปลี่ยน แสดงราคาแลกที่เป็นธรรม ตรวจจับรายการราคาต่ำ และดึงราคา deck list ทั้งชุด
การแจ้งเตือนราคา
ติดตามการ์ดที่ต้องการและแจ้งเตือนผู้ใช้เมื่อราคาถึงเกณฑ์ที่กำหนด ใช้ scheduled polling หรือ webhook ในแพ็กเกจชำระเงิน
แดชบอร์ดวิเคราะห์
สร้างกราฟประวัติราคา วิเคราะห์แนวโน้มทั้งชุด และประมาณ market cap ของชุดการ์ด price history endpoint ให้ snapshot รายวันย้อนหลัง
TCG API รองรับทุกเกม
1 API key รองรับ 8 เกม ทั้ง Pokémon TCG API, MTG API, Yu-Gi-Oh! API, Lorcana, One Piece และอื่น ๆ ในอินเทอร์เฟซเดียว
Pokemon
30,000+ cardsAccess 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.
ดู Pokemon API documentation →const results = await tcg.search('charizard', { game: 'pokemon' });
// Returns: prices for all Charizard cards across all sets Magic: The Gathering
100,000+ cardsAccess 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.
ดู Magic: The Gathering API documentation →const results = await tcg.search('black lotus', { game: 'mtg' });
// Returns: prices for Black Lotus across all editions Yu-Gi-Oh!
40,000+ cardsAccess real-time pricing for over 40,000 Yu-Gi-Oh! cards. Coverage spans all sets and rarities with per-condition and graded card values.
ดู Yu-Gi-Oh! API documentation →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+ cardsAccess real-time pricing for over 3,000 Disney Lorcana cards. Full coverage since launch with per-condition pricing and graded values.
ดู Disney Lorcana API documentation →const results = await tcg.search('elsa', { game: 'lorcana' });
// Returns: prices for all Elsa cards One Piece
6,000+ cardsAccess real-time pricing for over 6,000 One Piece TCG cards. Complete set coverage with per-condition pricing and graded values.
ดู One Piece API documentation →const results = await tcg.search('luffy', { game: 'onepiece' });
// Returns: prices for all Luffy cards Pokemon Japan
20,000+ cardsAccess real-time pricing for over 20,000 Japanese Pokemon TCG cards. Covers Japanese-exclusive sets, promos, and special releases.
ดู Pokemon Japan API documentation →const results = await tcg.search('pikachu', { game: 'pokemonjp' });
// Returns: prices for Japanese Pikachu cards Star Wars: Unlimited
2,500+ cardsAccess real-time pricing for over 2,500 Star Wars: Unlimited cards. Full coverage with per-condition pricing and graded values.
ดู Star Wars: Unlimited API documentation →const results = await tcg.search('darth vader', { game: 'swu' });
// Returns: prices for all Darth Vader cards Flesh and Blood
8,000+ cardsAccess real-time pricing for over 8,000 Flesh and Blood cards. Complete coverage with per-condition pricing and graded values.
ดู Flesh and Blood API documentation →const results = await tcg.search('bravo', { game: 'fab' });
// Returns: prices for all Bravo cards เปรียบเทียบ TCG API
เปรียบเทียบ TCG Price Lookup กับ Scryfall, pokemontcg.io, TCGPlayer API และ scraper ที่สร้างเอง
| ฟีเจอร์ | TCG Price Lookup | Scryfall API | pokemontcg.io | TCGPlayer API | Scraper ของตัวเอง |
|---|---|---|---|---|---|
| จำนวนเกมที่รองรับ | 8 เกม | MTG เท่านั้น | Pokémon เท่านั้น | หลายเกม (ผันแปร) | ตามที่สร้าง |
| ราคา real-time | ✓ | บางส่วน (TCGP) | ✗ | ✓ (TCGP เท่านั้น) | แล้วแต่กรณี |
| ราคาตามสภาพ | ✓ | ✗ | ✗ | ✓ | ทำเอง |
| ราคา graded (PSA/BGS/CGC) | ✓ | ✗ | ✗ | ✗ | ทำเอง |
| SDK อย่างเป็นทางการ | 5 ภาษา | Community เท่านั้น | 1 (JS) | ✗ | ✗ |
| แพ็กเกจฟรี | ✓ 200 requests/วัน | ไม่มีข้อมูลราคา | ไม่มีข้อมูลราคา | ต้องสมัคร | ✓ (ลงทุนเอง) |
| ประวัติราคา | ✓ | ✗ | ✗ | จำกัด | สร้างเอง |
Developer Ecosystem
นอกจาก REST API ยังมี SDK อย่างเป็นทางการ 5 ภาษา เครื่องมือพร้อมใช้ และเอกสารสำหรับนักพัฒนาที่ครบถ้วน
SDK อย่างเป็นทางการ — 6 ภาษา
CLI Tool
GitHub →Live trading card prices in your terminal. Search, lookup, price history, JSON output for scripting. Also installable via npm.
- ✓ 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.
- ✓ 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.
- ✓ 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.
- ✓ 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.
- ✓ 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.
- ✓ Async with reqwest + tokio
- ✓ Typed Error enum
- ✓ Builder pattern
เครื่องมือและทรัพยากร — 5 รายการ
Awesome TCG
listCurated 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
botSelf-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
starterOne-click deployable Next.js 16 starter for the TCG Price Lookup API. Search live trading card prices across 8 games out of the box.
OpenAPI Specification
specOpenAPI 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
collectionReady-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 →คำถามที่พบบ่อย
ตั้งแต่การเริ่มต้นใช้งาน TCG Price Lookup API ไปจนถึง rate limit และราคาการ์ด graded
TCG API คืออะไร?
+
TCG API (Trading Card Game API) คือบริการเว็บที่ให้การเข้าถึงข้อมูลการ์ดแบบ programmatic ได้แก่ รายละเอียดการ์ด ข้อมูลชุด และราคาตลาดแบบ real-time นักพัฒนาใช้ TCG API เพื่อสร้างเครื่องมือติดตามราคา portfolio tool และ Discord bot
TCG Price Lookup API ใช้งานฟรีได้ไหม?
+
ใช่ TCG Price Lookup มีแพ็กเกจฟรี 200 requests/วันสำหรับโปรเจ็กต์งานอดิเรกและ prototype (ใช้งานไม่ใช่เชิงพาณิชย์) แพ็กเกจชำระเงินให้ rate limit ที่สูงกว่า ประวัติราคา endpoint ราคา eBay ราคาการ์ด graded และสิทธิ์ใช้งานเชิงพาณิชย์ ไม่ต้องใช้บัตรเครดิต
รองรับการ์ดสะสมประเภทไหนบ้าง?
+
รองรับ 8 เกม ได้แก่ Pokémon TCG (ภาษาอังกฤษ), Pokémon ภาษาญี่ปุ่น, Magic: The Gathering, Yu-Gi-Oh!, Disney Lorcana, One Piece Card Game, Star Wars: Unlimited และ Flesh and Blood ทุกเกมใช้ search และ card endpoint เดียวกัน
จะขอ API key สำหรับ Pokémon TCG API ได้อย่างไร?
+
สมัครที่ tcgpricelookup.com และยืนยันอีเมล จากนั้น API key จะออกให้ทันที ไม่ต้องรอการอนุมัติ เริ่ม request ไปยัง Pokémon TCG API (และเกมอื่น ๆ ทั้งหมด) ได้เลย
รองรับราคาการ์ด graded (PSA, BGS, CGC) ไหม?
+
ใช่ คุณสามารถดึงราคาการ์ด graded ของ PSA (เกรด 1–10), Beckett (BGS 7–10, 9.5 และ 10 Black Label) และ CGC (เกรด 1–10) ข้อมูลราคา graded มาจากข้อมูลการขายบน eBay ต้องการแพ็กเกจ Trader ขึ้นไป
Rate limit ของ API เป็นอย่างไร?
+
แพ็กเกจฟรี: สูงสุด 200 requests/วัน (burst: 1 request/3 วินาที) แพ็กเกจ Trader ($14.99/เดือน): 10,000 requests/วัน (burst: 1 request/วินาที) แพ็กเกจ Business ($89.99/เดือน): 100,000 requests/วัน (burst: 3 requests/วินาที) limit รายวันรีเซ็ตทุกเที่ยงคืน UTC
มี SDK อะไรให้ใช้บ้าง?
+
มี SDK อย่างเป็นทางการ 5 ภาษา ได้แก่ JavaScript/TypeScript (npm install tcglookup), Python (pip install tcglookup), Go (go get github.com/TCG-Price-Lookup/tcglookup-go), Rust (cargo add tcglookup) และ PHP (composer require tcg-price-lookup/tcglookup) มีเครื่องมือ CLI ด้วย
ราคาการ์ดอัปเดตบ่อยแค่ไหน?
+
ราคาการ์ดอัปเดตอย่างต่อเนื่อง ราคาตลาดจาก TCGPlayer อัปเดตทุกไม่กี่ชั่วโมงเมื่อมีข้อมูลการขายใหม่ รายการ eBay ที่ขายแล้วอัปเดตทุกวัน คุณสามารถติดตามแนวโน้มผ่าน price history endpoint สำหรับแอปที่ต้องการความแม่นยำสูง
เริ่มต้นพัฒนาด้วย TCG API วันนี้
มีแพ็กเกจฟรี ไม่ต้องใช้บัตรเครดิต เข้าถึงการ์ดมากกว่า 300,000 ใบจาก 8 เกมได้ทันที