Discover/onepiece.gg API
live

onepiece.gg APIonepiece.gg

Access One Piece TCG deck lists, card details, and archetype statistics from onepiece.gg via 2 structured API endpoints.

Endpoints
2
Updated
3mo ago
Try it
Page number for pagination.
Number of decks per page.
Filter by game format (e.g. OP13, OP12).
Search keyword to filter decks by name or content.
api.parse.bot/scraper/c9ab612d-c41d-458f-ba72-b63c9c1ba898/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/c9ab612d-c41d-458f-ba72-b63c9c1ba898/get_decks?page=1&limit=3&format=OP13' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 2 totalclick to expand

Get a paginated list of decks with resolved card names and statistics. Results are sorted by date descending.

Input
ParamTypeDescription
pageintegerPage number for pagination.
limitintegerNumber of decks per page.
formatstringFilter by game format (e.g. OP13, OP12).
searchstringSearch keyword to filter decks by name or content.
Response
{
  "type": "object",
  "fields": {
    "page": "current page number",
    "decks": "array of deck objects with card lists, colors, archetype info, and metadata",
    "limit": "number of decks requested per page",
    "total": "total number of matching decks (may be null)",
    "has_more": "boolean indicating if more pages are available"
  },
  "sample": {
    "data": {
      "page": 1,
      "decks": [
        {
          "date": "1778778494",
          "slug": "uta-deck-f2eu2",
          "cards": [
            {
              "card_id": "EB01-014",
              "quantity": 4,
              "card_name": "Sanji"
            },
            {
              "card_id": "OP13-027",
              "quantity": 4,
              "card_name": "Sanji"
            }
          ],
          "price": 74.15,
          "views": 0,
          "author": "What'sYourName",
          "colors": [
            "green"
          ],
          "format": "OP13",
          "archetype": {
            "name": null,
            "wins": null,
            "points": null,
            "placings": null
          },
          "deck_name": "Uta Deck",
          "is_tournament": false
        }
      ],
      "limit": 3,
      "total": null,
      "has_more": true
    },
    "status": "success"
  }
}

About the onepiece.gg API

The onepiece.gg API provides access to One Piece Trading Card Game deck data across 2 endpoints, returning card lists, archetype win/placing statistics, deck pricing, and format metadata. The get_decks endpoint lets you paginate and search the full deck catalog filtered by game format, while get_deck_detail returns a complete breakdown of any individual deck including its card quantities, author, view count, and tournament context.

Deck Catalog via get_decks

The get_decks endpoint returns a paginated list of decks sorted by date descending. Each deck object in the decks array includes card lists with resolved names, color and archetype information, and metadata fields like format and slug. You can filter results using the format parameter (e.g. OP13, OP12) to scope results to a specific card set release, or use the search parameter to find decks by name or content. Pagination is controlled by page and limit, and the response includes a has_more boolean so you can walk through all results programmatically. Note that total may be null depending on the query.

Individual Deck Detail via get_deck_detail

Passing a deck's slug (obtained from get_decks results) to get_deck_detail returns the full card list with card_id, card_name, and quantity for every card in the deck. Additional fields include deck_name, description (which may contain tournament placement notes), format, author, views, date, and an estimated price in USD. The archetype object exposes aggregate competitive data: name, wins, points, and placings, though any of these may be null for non-competitive or community decks.

Coverage and Format Filtering

Decks span multiple One Piece TCG formats identifiable by set codes like OP12 or OP13. Filtering by format in get_decks is the primary way to isolate results from a specific meta period. Because total can be null, clients should rely on has_more to detect end-of-results rather than calculating page count from total records.

Common use cases
  • Track which archetypes are placing in tournaments by reading archetype.wins and archetype.placings fields
  • Compare card choices across decks in the same format using get_decks with the format filter and card list data
  • Monitor deck price trends by collecting price fields from get_deck_detail over time
  • Build a deck search tool using the search parameter to surface decks by card name or strategy keyword
  • Identify the most-viewed competitive builds by sorting on views from get_deck_detail responses
  • Aggregate card frequency across a format by iterating paginated get_decks results and counting card quantities
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does onepiece.gg have an official developer API?+
onepiece.gg does not publish a documented public developer API. This Parse API is the structured way to access its deck and card data programmatically.
What does the archetype object in get_deck_detail actually contain?+
The archetype object has four fields: name (the archetype label), wins, points, and placings. These reflect aggregate competitive performance associated with the deck's archetype. All four values may be null for casual or community-submitted decks that lack tournament data.
Can I filter decks by color, card ID, or leader card?+
The current get_decks endpoint supports filtering by format and search keyword only. Color, specific card ID, and leader card filtering are not current parameters. You can fork this API on Parse and revise it to add those filter options.
How should I handle pagination when total is null?+
The total field in get_decks responses may be null, so you cannot always calculate the total page count upfront. Use the has_more boolean to determine whether additional pages exist and increment page until has_more returns false.
Does the API return individual card rulings or card text?+
No card rulings or card text fields are exposed. The cards array in get_deck_detail returns card_id, card_name, and quantity per card — deck composition data only. You can fork this API on Parse and revise it to add an endpoint that retrieves full card text and rulings if onepiece.gg exposes that data.
Page content last updated . Spec covers 2 endpoints from onepiece.gg.
Related APIs in EntertainmentSee all →
noor-book.com API
Search and discover books across 1,800+ categories in the Noor Book library, retrieving detailed information about titles, authors, biographies, and book metadata. Access comprehensive author profiles and browse one of the largest Arabic and English digital book collections with over 289,000 authors.
vg.no API
Access VG.no's latest news, articles, sports scores, and TV guides through a single interface where you can browse the front page, search articles by topic, view category-specific content, and find related stories. Get real-time sports scores and television schedules alongside comprehensive news coverage from Norway's leading news outlet.
vegasinsider.com API
Retrieve MLB betting odds from major sportsbooks including bet365, FanDuel, and DraftKings, covering Moneyline, Total, and Runline markets for any supported date. Easily compare odds across books to identify the best available lines.
novelbin.me API
Search and browse novels by title, genre, or popularity, and explore trending, completed, or recently updated works. Access full novel details, chapter listings, chapter content, author information, related titles, and reader comments. Authenticated users can manage bookmarks with reading-status tracking and subscribe to novels for update notifications.
quizbowlpackets.com API
Search and browse thousands of quizbowl question sets across all competition levels, then access detailed metadata like difficulty, subjects, and download links for each packet. Find the perfect practice materials for High School, Collegiate, Middle School, or Pop Culture quizbowl competitions.
glastonburyfestivals.co.uk API
Discover historical and current Glastonbury Festival line-ups, find artist set times and stage locations, and search for specific performers across all festival years. Stay updated with the latest festival news and explore detailed information about festival areas and stages.
puntoticket.com API
Browse and search events happening in Chile with PuntoTicket, viewing featured shows, filtering by category, and checking detailed pricing and availability for concerts, theater, sports, and more. Find the perfect event by exploring all listings or discovering what's trending right now.
wynncraft.com API
Access detailed Wynncraft game information to look up item metadata and search across the complete item database, retrieve player statistics and character inventories, and browse guild information and global search results. Use this data to compare gear, track player progress, analyze guild rosters, or build tools for the Wynncraft community.