Discover/Leagueoflegends API
live

Leagueoflegends APIriftbound.leagueoflegends.com

Access all Riftbound TCG cards with stats including energy cost, power, might, effect text, and collector number. Filter by set or card name.

Endpoint health
verified 2d ago
get_cards
1/1 passing latest checkself-healing
Endpoints
1
Updated
21d ago

What is the Leagueoflegends API?

The Riftbound card gallery API exposes 8 fields per card — name, set, effect text, energy cost, power, might, collector number, and public code — across the full Riftbound TCG card catalog from the official League of Legends card game. The single get_cards endpoint supports filtering by set name (e.g. Unleashed, Origins, Spiritforged, Proving Grounds) and partial card name matching, making it straightforward to query subsets of the collection.

Try it
Filter by set name using partial match (case-insensitive). Known sets: 'Unleashed', 'Origins', 'Spiritforged', 'Proving Grounds'.
Filter by card name using partial match (case-insensitive).
Maximum number of cards to return. 0 returns all matching cards.
api.parse.bot/scraper/54a64552-51ed-4c8d-8e7e-90c48842cfce/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/54a64552-51ed-4c8d-8e7e-90c48842cfce/get_cards?set=Origins&name=Adaptatron&limit=5' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace riftbound-leagueoflegends-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Riftbound Card Gallery SDK — browse and filter TCG cards."""
from parse_apis.riftbound_card_gallery_api import Riftbound, Set, CardNotFound

client = Riftbound()

# List cards from a specific set, capped at 5 total items.
for card in client.cards.list(set_name=Set.ORIGINS, limit=5):
    print(card.name, card.energy_cost, card.collector_number)

# Search by card name substring and take the first match.
card = client.cards.list(card_name="Adaptatron", limit=1).first()
if card:
    print(card.name, card.set, card.effect[:60], card.power, card.might)

# Typed error handling around a filtered list call.
try:
    result = client.cards.list(set_name=Set.SPIRITFORGED, limit=3).first()
    if result:
        print(result.name, result.public_code)
except CardNotFound as exc:
    print(f"No cards found: {exc}")

print("exercised: cards.list (by set, by name, with limit, first())")
All endpoints · 1 totalmissing one? ·

Get all Riftbound TCG cards with their stats. Returns card name, set, effect text, energy cost, power, might, and collector number. Supports filtering by set name and card name with partial matching, and limiting the number of results returned. When no filters are provided, returns all cards in the gallery. Pagination is not supported — the full matching set is returned in one response.

Input
ParamTypeDescription
setstringFilter by set name using partial match (case-insensitive). Known sets: 'Unleashed', 'Origins', 'Spiritforged', 'Proving Grounds'.
namestringFilter by card name using partial match (case-insensitive).
limitintegerMaximum number of cards to return. 0 returns all matching cards.
Response
{
  "type": "object",
  "fields": {
    "cards": "array of card objects with name, set, effect, energy_cost, power, might, collector_number, and public_code",
    "total": "integer - number of cards returned in this response"
  },
  "sample": {
    "data": {
      "cards": [
        {
          "set": "Origins",
          "name": "Adaptatron",
          "might": 3,
          "power": null,
          "effect": "When I conquer, you may kill a gear. If you do, buff me. (If I don't have a buff, I get a +1 :rb_might: buff.)",
          "energy_cost": 4,
          "public_code": "OGN-056/298",
          "collector_number": 56
        }
      ],
      "total": 1
    },
    "status": "success"
  }
}

About the Leagueoflegends API

What the API Returns

The get_cards endpoint returns an array of card objects, each containing: name, set, effect (the card's rule or flavor text), energy_cost, power, might, collector_number, and public_code. The total field in the response indicates how many cards matched the query. All four known Riftbound sets — Unleashed, Origins, Spiritforged, and Proving Grounds — are covered.

Filtering and Pagination

The set parameter accepts a partial string match against the set name, so passing "Origin" will match the Origins set. The name parameter performs a case-insensitive partial match against card names, useful for finding all cards sharing a champion name or keyword. The limit parameter controls how many results are returned; passing 0 returns the full matching set with no cap. There is no offset or cursor parameter, so pagination beyond a single capped response requires client-side handling.

Card Stats Explained

Each card object exposes three numeric gameplay stats: energy_cost (the resource required to play the card), power (the card's attack or base strength value), and might (a secondary stat likely tied to toughness or special ability scaling). The collector_number and public_code fields are useful for referencing specific printings or linking to card imagery in external tools.

Reliability & maintenanceVerified

The Leagueoflegends API is a managed, monitored endpoint for riftbound.leagueoflegends.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when riftbound.leagueoflegends.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official riftbound.leagueoflegends.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2d ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a searchable Riftbound deck-builder app using energy_cost, power, and might to filter playable cards
  • Generate set-by-set card checklists using the set and collector_number fields
  • Track card effect text to identify keyword synergies across a given set
  • Populate a card database for a Riftbound fan site or wiki with complete stats
  • Analyze energy cost distribution across sets to study the TCG's power curve
  • Cross-reference public_code values to fetch card art or thumbnails from the official gallery
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 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 Riftbound or Riot Games offer an official developer API for the card gallery?+
Riot Games provides the Riot Developer Portal (developer.riotgames.com) for games like League of Legends and Valorant, but as of now there is no official public API documented for the Riftbound TCG card gallery specifically.
What does the get_cards endpoint return when I filter by set?+
When you pass a value to the set parameter, the endpoint returns all card objects whose set name partially matches that string. Each card object includes name, set, effect, energy_cost, power, might, collector_number, and public_code, along with a total count of matched cards.
Does the API expose card rarity or card type (unit, spell, etc.)?+
Not currently. The API covers name, set, effect text, energy_cost, power, might, collector_number, and public_code. Rarity and card type classification are not present in the response. You can fork this API on Parse and revise it to add those fields if they become available in the source.
Can I retrieve card image URLs through this API?+
Not currently. The API returns a public_code field that may be useful for constructing image references externally, but image URLs are not a returned field. You can fork this API on Parse and revise it to include an image URL field if the data is accessible.
Are all four Riftbound sets included, and how current is the data?+
The API covers the four currently known sets: Unleashed, Origins, Spiritforged, and Proving Grounds. Data freshness depends on when the API was last updated; newly released cards or sets added after the last update will not appear until the API is refreshed.
Page content last updated . Spec covers 1 endpoint from riftbound.leagueoflegends.com.
Related APIs in EntertainmentSee all →
bazaardb.gg API
Search and retrieve comprehensive data about The Bazaar game cards, including items, skills, merchants, trainers, monsters, and events with full details like tiers, attributes, enchantments, and tooltips. Quickly find the specific card information you need to optimize your gameplay strategy and deck building.
pokemontcg.com API
Search and browse detailed information about Pokémon Trading Card Game cards and sets, including card types, rarities, and supertypes. Filter cards by set, rarity, and attributes to find exactly what you're looking for in the TCG database.
pokemontcg.io API
Search and retrieve detailed information about Pokémon Trading Card Game cards, including card stats, types, attacks, abilities, rarity, set information, images, and pricing data.
rip.fun API
Browse and search trading cards, packs, and sets while tracking real-time market prices and price history on the rip.fun marketplace. Monitor trending cards, view detailed card and pack information, check recent mystery pack pulls, and analyze price changes to stay informed on the trading card market.
ygoprodeck.com API
Search and retrieve detailed Yu-Gi-Oh! card information including attributes, effects, and images from the comprehensive YGOProDeck database. Browse the complete card catalog or look up specific cards to find everything you need about their stats and abilities.
tcgplayer.com API
Search for trading cards across all games and sets on TCGPlayer, and instantly access detailed pricing information by condition plus current seller listings with prices, shipping costs, and seller ratings. Compare card values and find the best deals from multiple sellers all in one place.
grandarchive.com API
Access official Grand Archive TCG news, articles, and comprehensive card database to stay updated on the latest announcements, ban & restricted updates, and guides. Search cards, browse champions, and retrieve detailed card metadata all in one place.
cardkingdom.com API
Search and browse Magic: The Gathering cards with real-time pricing and availability from Card Kingdom, including buylist prices and current deals. Find card details across all editions and filter by format to discover the best prices across the full catalog.