Developer Documentation

API v1.0 is online and stable

Build the next great TCG application.

The most powerful, developer-friendly REST API for trading card data. Access comprehensive datasets, market pricing, and cutting-edge AI card identification in milliseconds.

Over 40,000+ Cards.
Updated daily.

Our custom-built RESTful API is designed to help developers, collectors, and players instantly build trading card-related services. We provide niche resources across Pokémon, Yu-Gi-Oh!, Magic: The Gathering, Digimon, Vanguard, and Arcana.

Total Indexed

40K+

Latency

45ms

Card Asset Condition Market
Card Mega Rayquaza EX
NM $1.22
Card Charizard EX
LP $3.99
Card Venusaur EX
NM $12.99
Computer Vision

Identify Card

Upload an image to our Vision AI to instantly identify the card's set, name, and variation. It also detects if the card is housed in a graded slab (e.g., PSA, Beckett).

Try the visual demo →

Parameters

key Required

Your unique secret API key for authentication.

file Optional

The image file payload to be analyzed.

image_url Optional

A direct URL to an image if not uploading a file.

POST https://gibltcg.com/api/v1/predict-card?key=[YOUR-API-KEY]
<!-- Example JSON Response -->
{
  "is_card": "card",
  "card_type": "pokemon",
  "card_side": "front",
  "card_state": "graded",
  "authenticator_type": "PSA",
  "identity": [
    {
      "card_identity": "1",
      "card_identity_confidence": 99.76
    },
    {
      "card_identity": "8175",
      "card_identity_confidence": 2.76
    }
  ]
}

Frontend

Backend

api_request.
// Example React Component

import React, { useState, useEffect } from 'react';
import axios from 'axios';

function App() {
    const [data, setData] = useState(null);

    useEffect(() => {
        async function fetchData() {
            try {
                const response = await axios.post(`https://gibltcg.com/api/v1/predict-card?key=[YOUR-API-KEY]`);
                setData(response.data);
            } catch (error) {
                console.error("Error fetching data:", error);
            }
        }
        
        fetchData();
    }, []);

    return (
        <div>
            <h1>API Data</h1>
            <pre>{JSON.stringify(data, null, 2)}</pre>
        </div>
    );
}

export default App;

Database Request

Search Cards

Retrieve a paginated list of trading cards from our database. Filter by keywords to quickly find names, specific sets, or card types.

Parameters

key Required

Your unique secret API key for authentication.

page Integer

The page number of the results to retrieve. Default is 1.

q String

Search query/keyword to filter results (e.g., rayquaza).

order String

Alphabetical order direction.

asc desc
GET https://gibltcg.com/api/v1/card-list?key=lw-3499972848-0
<!-- Example JSON Response -->
{
  "data": [
    {
      "id": "1-hgss4-1",
      "type": "pokemon",
      "name": "Aggron",
      "image": "https://gibltcg.com/images/etc/aggron.jpg"
    },
    {
      "id": "2-xy5-1",
      "type": "pokemon",
      "name": "Weedle",
      "image": "https://gibltcg.com/images/etc/weedle.jpg"
    }
  ],
  "to": 30,
  "per_page": 30,
  "current_page": 1,
  "total": 10104
}

Frontend

Backend

api_request.
// Example React Component

import React, { useState, useEffect } from 'react';
import axios from 'axios';

function App() {
    const [data, setData] = useState(null);

    useEffect(() => {
        async function fetchData() {
            try {
                const response = await axios.get(`https://gibltcg.com/api/v1/card-list?key=lw-3499972848-0`);
                setData(response.data);
            } catch (error) {
                console.error("Error fetching data:", error);
            }
        }
        
        fetchData();
    }, []);

    return (
        <div>
            <h1>API Data</h1>
            <pre>{JSON.stringify(data, null, 2)}</pre>
        </div>
    );
}

export default App;

Need help getting started?

Join our Discord community of developers & collectors! 😄

If you have any questions or need technical support, feel free to contact us. Ready to build something amazing? Click below to get your access key.

Get API Key & Access