$ curl https://api.tcgpricelookup.com/v1/search
TCG Price API
tercepat
untuk pengembang
API harga kartu real-time untuk Pokemon, Magic: The Gathering, Yu-Gi-Oh!, Lorcana, One Piece, dan 3 game lainnya. Lebih dari 300.000 kartu, 5 SDK resmi, tier gratis tersedia.
// 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 Cara Kerja TCG API
Dari nol hingga mengambil data harga kartu dalam 5 menit. 3 langkah, tanpa konfigurasi.
Dapatkan API Key Gratis
Daftar di tcgpricelookup.com — tidak perlu kartu kredit. API key diterbitkan langsung dan berfungsi untuk semua 8 game yang didukung. Paket gratis memberikan 200 permintaan per hari, cukup untuk memulai pengembangan segera.
Instal SDK
Pilih bahasa pilihan Anda. SDK resmi tersedia untuk JavaScript, Python, Go, Rust, dan PHP. Setiap SDK dikelola oleh tim TCG Price Lookup dengan definisi tipe lengkap.
Ambil Harga Kartu
Cari berdasarkan nama kartu, set, atau ID. Dapatkan harga real-time dari TCGPlayer dan eBay, harga per kondisi, harga graded, dan riwayat harga semuanya dari satu API.
Apa yang Bisa Dibangun
API harga kartu koleksi TCG digunakan untuk berbagai keperluan, dari skrip hobi hingga aplikasi trading produksi.
Alat Perbandingan Harga
Tampilkan harga pasar TCGPlayer dan harga terjual eBay secara berdampingan. Pembeli menemukan harga terbaik, penjual menetapkan harga kompetitif.
Pelacak Portofolio
Kolekter memasukkan kartu mereka dan melacak nilai koleksi dari waktu ke waktu. Buat grafik keuntungan/kerugian dengan endpoint riwayat harga.
Bot Discord
Tambahkan slash command ke server Discord TCG sehingga anggota bisa memeriksa harga kartu tanpa meninggalkan chat. Bot Discord open source siap deploy dalam hitungan menit.
Aplikasi Trading
Perkuat antarmuka jual/beli/tukar dengan data harga real-time. Tampilkan nilai tukar yang adil, deteksi listing murah, dan ambil harga seluruh deck list sekaligus.
Peringatan Harga
Pantau kartu tertentu dan beri tahu pengguna ketika harga melampaui ambang batas. Gunakan polling terjadwal atau notifikasi webhook untuk paket berbayar.
Dashboard Analitik
Buat grafik riwayat harga, analisis tren seluruh set, dan estimasi kapitalisasi pasar set. Endpoint riwayat harga menyediakan snapshot harian per bulan.
TCG API untuk Semua Game
Satu API key untuk 8 game. Pokemon TCG API, MTG API, Yu-Gi-Oh! API, Lorcana, One Piece, dan banyak lagi semuanya dalam satu antarmuka terpadu.
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.
Lihat dokumentasi API Pokemon →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.
Lihat dokumentasi API Magic: The Gathering →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.
Lihat dokumentasi API Yu-Gi-Oh! →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.
Lihat dokumentasi API Disney Lorcana →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.
Lihat dokumentasi API One Piece →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.
Lihat dokumentasi API Pokemon Japan →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.
Lihat dokumentasi API Star Wars: Unlimited →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.
Lihat dokumentasi API Flesh and Blood →const results = await tcg.search('bravo', { game: 'fab' });
// Returns: prices for all Bravo cards Perbandingan TCG API
Perbandingan TCG Price Lookup dengan Scryfall, pokemontcg.io, TCGPlayer API, dan scraper buatan sendiri.
| Fitur | TCG Price Lookup | Scryfall API | pokemontcg.io | TCGPlayer API | Scraper Sendiri |
|---|---|---|---|---|---|
| Jumlah game | 8 game | MTG saja | Pokemon saja | Banyak (bervariasi) | Bebas |
| Harga real-time | ✓ | Sebagian (TCGP) | ✗ | ✓ (hanya TCGP) | Tergantung |
| Harga per kondisi | ✓ | ✗ | ✗ | ✓ | Manual |
| Harga graded (PSA/BGS/CGC) | ✓ | ✗ | ✗ | ✗ | Manual |
| SDK resmi | 5 bahasa | Komunitas saja | 1 (JS) | ✗ | ✗ |
| Paket gratis | ✓ 200 req/hari | Tanpa data harga | Tanpa data harga | Perlu persetujuan | ✓ (biaya sendiri) |
| Riwayat harga | ✓ | ✗ | ✗ | Terbatas | Buat sendiri |
Ekosistem Pengembang
Selain REST API, tersedia 5 SDK resmi untuk berbagai bahasa, alat siap pakai, dan dokumentasi pengembang yang komprehensif.
SDK Resmi — 6 bahasa
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
Alat & Sumber Daya — 5 alat
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 →Pertanyaan Umum
Dari cara memulai TCG Price Lookup API hingga rate limit dan harga kartu graded.
Apa itu TCG API?
+
TCG API (Trading Card Game API) adalah layanan web yang menyediakan akses terprogram ke data kartu koleksi. Anda bisa mendapatkan detail kartu, informasi set, dan harga pasar real-time. Para pengembang menggunakan TCG API untuk membangun pelacak harga, alat portofolio, bot Discord, dan banyak lagi.
Apakah TCG Price Lookup API gratis?
+
Ya, TCG Price Lookup menawarkan paket gratis dengan 200 permintaan per hari untuk proyek hobi dan prototipe (penggunaan non-komersial). Paket berbayar memberikan batas rate yang lebih tinggi, endpoint riwayat harga, harga eBay, harga kartu graded, dan hak penggunaan komersial. Tidak perlu kartu kredit untuk memulai.
Game kartu koleksi apa saja yang didukung?
+
Saat ini mendukung 8 game: Pokemon TCG (bahasa Inggris), Pokemon versi Jepang, Magic: The Gathering, Yu-Gi-Oh!, Disney Lorcana, One Piece Card Game, Star Wars: Unlimited, dan Flesh and Blood. Semua game menggunakan endpoint pencarian dan kartu yang sama dan terpadu.
Bagaimana cara mendapatkan API key Pokemon TCG?
+
Daftar di tcgpricelookup.com dan konfirmasi email Anda — API key langsung diterbitkan. Tanpa proses persetujuan, Anda bisa langsung mulai mengirim permintaan ke Pokemon TCG API (dan semua game lainnya).
Apakah harga kartu graded (PSA, BGS, CGC) didukung?
+
Ya. Anda bisa mendapatkan harga kartu graded PSA (grade 1–10), Beckett (BGS 7–10, termasuk 9.5 dan 10 Black Label), dan CGC (grade 1–10). Harga graded diambil dari data penjualan eBay. Memerlukan paket Trader atau lebih tinggi.
Bagaimana rate limit API-nya?
+
Paket gratis: maksimum 200 permintaan/hari (burst: 1 req/3 detik). Paket Trader ($14,99/bulan): 10.000 permintaan/hari (burst: 1 req/detik). Paket Business ($89,99/bulan): 100.000 permintaan/hari (burst: 3 req/detik). Batas harian direset tengah malam UTC.
SDK apa saja yang tersedia?
+
Ada 5 SDK resmi: 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). Tersedia juga CLI untuk akses dari terminal.
Seberapa sering harga kartu diperbarui?
+
Harga kartu diperbarui secara berkelanjutan. Harga pasar TCGPlayer diperbarui setiap beberapa jam saat data penjualan baru masuk. Listing terjual eBay diperbarui setiap hari. Untuk aplikasi yang sangat sensitif waktu, lacak tren dengan endpoint riwayat harga.
Mulai Membangun dengan TCG API Hari Ini
Termasuk paket gratis. Tidak perlu kartu kredit. Akses langsung ke lebih dari 300.000 kartu dari 8 game.