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 |
| 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, random, level, playcost, type, new, views |
| 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 |
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.
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, random, 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"
}
]
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."
}
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: If you continue to exceed limits, you may be temporarily blocked for up to 1 hour
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.