Public API Documentation
The DigimonCard.io Public API allows you to retrieve information for Digimon Cards from the Digimon TCG programmatically.
Rate Limiting: Requests are rate limited to 15 requests per 10 seconds. Exceeding this limit will result in being blocked from accessing the API for an hour.
Base URL
https://digimoncard-laravel-jgyftkqk.on-forge.com/api-public
Search Specific Cards
Search for specific cards using various parameters. If no parameters are set, an error is returned.
GET https://digimoncard-laravel-jgyftkqk.on-forge.com/api-public/search
Parameters
| Parameter | Type | Description |
|---|---|---|
| n | string | Search by Card Name. Supports exclude syntax: e:term to exclude terms. |
| desc | string | Search by Card Description (searches Source Effect, Main Effect, and Alt Effect) |
| color | string | Search by Card Color. Options: Black, Blue, Colorless, Green, Purple, Red, White, Yellow |
| type | string | Search by Card Type. Options: Digimon, Option, Tamer, Digi-Egg |
| supertype | string | Legacy alias for type |
| attribute | string | Search by Card Attribute |
| card | string | Search by Card Number (e.g., BT4-016). Supports comma-separated values for multiple cards. |
| pack | string | Search by Pack Name (e.g., BT-04: Booster Great Legend) |
| setname | string | Alternative parameter for Pack Name (same as pack) |
| sort | string | Sorting. Options: name, power, code, color, level, playcost, type, new |
| sortdirection | string | Sorting Direction. Options: asc, desc |
| series | string | Set the game type. Options: Digimon Card Game, Digimon Digi-Battle Card Game, Digimon Collectible Card Game |
| format | string | Alternative parameter for series (same as series) |
| digitype | string | Search by Card Digi-Type (e.g., Wizard, Dragon, etc.) |
| evocost | integer | Search by Card Evolution Cost |
| evocolor | string | Search by Card Evolution Color. Options: Black, Blue, Colorless, Green, Purple, Red, White, Yellow |
| level | integer | Search by Card Level |
| playcost | integer | Search by Play Cost |
| dp | integer | Search by DP (Power) |
| stage | string | Search by Stage |
| artist | string | Search by Artist Name |
| limit | integer | Limit the number of results returned (maximum: 1,000) |
Example Request
https://digimoncard-laravel-jgyftkqk.on-forge.com/api-public/search?n=Aldamon&desc=include%20a%20Digimon%20card&color=red&type=digimon&attribute=Variable&card=BT4-016&pack=BT-04%3A%20Booster%20Great%20Legend&sort=name&sortdirection=desc&series=Digimon%20Card%20Game&digitype=Wizard&evocost=3&evocolor=Red
Example Response
Get All Cards
Retrieve a simplified list of all cards (name and card number only). Useful for getting a complete list of cards.
The default catalogue is a prebuilt static response and supports gzip compression when the client sends
Accept-Encoding: gzip.
GET https://digimoncard-laravel-jgyftkqk.on-forge.com/api-public/getAllCards
Parameters
| Parameter | Type | Description |
|---|---|---|
| series | string | Filter by game series (optional) |
| sort | string | Sorting. Options: name, card_number (default: name) |
| sortdirection | string | Sorting Direction. Options: asc, desc (default: asc) |
Example Request
https://digimoncard-laravel-jgyftkqk.on-forge.com/api-public/getAllCards?series=Digimon%20Card%20Game&sort=name&sortdirection=asc
Example Response
[
{
"name": "Agumon",
"cardnumber": "BT1-010"
},
{
"name": "Aldamon",
"cardnumber": "BT4-016"
}
]
Acceptable Use
You may use the API to build applications, tools, bots, and other services for the Digimon TCG community, subject to the following conditions:
- Do not mirror, republish, sublicense, sell, resell, or offer the API dataset as a competing data service without prior written permission.
- Do not hotlink images hosted by DigimonCard.io. You must download any images you use and serve them from your own hosting or infrastructure.
- Do not bypass rate limits, caching, access controls, or other measures intended to protect the API and website.
- Do not use the API in a way that degrades service for other users or places unreasonable load on DigimonCard.io.
- Where practical, identify DigimonCard.io as the source and link to this API documentation.
Digimon and Digimon Card Game names, artwork, and related intellectual property belong to their respective owners. Access may be restricted for abusive use or violations of these terms.
CORS Support
The API supports Cross-Origin Resource Sharing (CORS) and can be accessed from any domain. All endpoints return appropriate CORS headers.
Error Handling
If no cards are found or no search parameters are provided, the API will return a 400 status code with an error message:
{
"error": "No cards found for this search."
}
Unsupported parameters, invalid values, and limits above 1,000 return a 422 response with field-level validation errors. Query parameter names are case-sensitive.
Rate Limiting
To ensure fair usage and maintain API performance, requests are rate limited:
- Limit: 15 requests per 10 seconds per IP address
- Penalty: Exceeding the limit will result in a 429 (Too Many Requests) response
- Block Duration: Exceeding the limit results in a 1-hour temporary block
We recommend implementing request throttling in your application to avoid hitting our rate limits.
Need Help?
If you have questions about the API or need assistance, please visit our forums or check the about page for more information.
Searching Search is temporarily unavailable