Discover/MLBB API
live

MLBB APImlbb.gg

Access Mobile Legends: Bang Bang hero tier ratings, win/ban/pick rates, roles, lanes, specialties, and synergy data for every hero via the MLBB.GG API.

This API takes change requests — .
Endpoint health
verified 2h ago
get_hero_synergies
get_hero_attributes
get_all_hero_attributes
get_all_hero_synergies
4/4 passing latest checkself-healing
Endpoints
4
Updated
2h ago

What is the MLBB API?

The MLBB.GG API exposes hero performance data for Mobile Legends: Bang Bang across 4 endpoints, covering tier ratings, win/ban/pick rates, roles, lanes, specialties, and synergy partnerships. Use get_hero_attributes to pull stats for a single named hero, or get_all_hero_attributes to retrieve the full roster in one call. Each response includes up to 10 structured fields per hero, giving you everything needed to build tier lists, draft tools, or team composition analyzers.

This call costs1 credit / call— charged only on success
Try it
Hero name (case-insensitive), e.g. 'Miya', 'Aamon', 'Lapu-Lapu'.
api.parse.bot/scraper/2afbecad-7167-4362-9936-663d8553c8c1/<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/2afbecad-7167-4362-9936-663d8553c8c1/get_hero_attributes?hero_name=Miya' \
  -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 mlbb-gg-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: mlbb_gg SDK — bounded, re-runnable; every call capped."""
from parse_apis.MLBB_GG_Hero_Attributes_API import MlbbGg, HeroNotFound

client = MlbbGg()

# List all heroes, capped at 3 for the walkthrough
for hero in client.heros.list(limit=3):
    print(hero.hero_name, hero.tier, hero.win_rate, hero.specialties)

# Fetch a specific hero by name
miya = client.heros.get(hero_name="Miya")
print(miya.hero_name, miya.tier, miya.points, miya.roles)

# Walk synergy partners for a hero
for partner in miya.synergies.list(limit=3):
    print(partner.hero_name, partner.strength, partner.roles)

# List all hero synergies (bulk), capped at 2
for hs in client.hero_synergies.list(limit=2):
    print(hs.hero_name, len(hs.synergy))

# Typed error handling for a non-existent hero
try:
    client.heros.get(hero_name="FakeHero123")
except HeroNotFound as e:
    print("not found:", e.hero_name)

print("exercised: heros.list, heros.get, hero.synergies.list, hero_synergies.list")
All endpoints · 4 totalmissing one? ·

Retrieve attributes for a specific hero by name. Returns performance metrics including tier, points score, win/ban/pick rates, roles, lanes, and specialties. Hero name matching is case-insensitive.

Input
ParamTypeDescription
hero_namerequiredstringHero name (case-insensitive), e.g. 'Miya', 'Aamon', 'Lapu-Lapu'.
Response
{
  "type": "object",
  "fields": {
    "tier": "string — current tier rating (SS, S, A, B, C, D)",
    "lanes": "string — primary lane assignment",
    "roles": "array of role name strings",
    "points": "number — numeric tier score",
    "hero_id": "integer — internal hero ID",
    "ban_rate": "number — ban rate percentage",
    "win_rate": "number — win rate percentage",
    "hero_name": "string — hero display name",
    "pick_rate": "number — pick rate percentage",
    "specialties": "array of specialty name strings"
  },
  "sample": {
    "data": {
      "tier": "S",
      "lanes": "Gold Lane",
      "roles": [
        "Marksman"
      ],
      "points": 3521.34,
      "hero_id": 1,
      "ban_rate": 13.32,
      "win_rate": 53.47,
      "hero_name": "Miya",
      "pick_rate": 3.1,
      "specialties": [
        "Finisher"
      ]
    },
    "status": "success"
  }
}

About the MLBB API

Hero Attributes

get_hero_attributes accepts a hero_name string (case-insensitive) and returns a single hero's current competitive data: tier (SS through D), a numeric points score, win_rate, ban_rate, pick_rate, primary lanes, an array of roles, and an array of specialties. The internal hero_id is also returned, which maps consistently across endpoints. get_all_hero_attributes takes no inputs and returns the same field set for every hero in the roster, along with a total count.

Hero Synergies

get_hero_synergies accepts a hero_name and returns a synergy array listing heroes that pair well with the queried hero. Each partner object includes hero_id, hero_name, a strength rating, and a roles array. This makes it straightforward to build "best duo" features or draft-assist tools. get_all_hero_synergies returns the same structure for the entire roster in a single request, with a total field indicating how many heroes were returned.

Coverage and Freshness

Data reflects the statistics and tier ratings published on mlbb.gg, which tracks the current competitive meta. Tier placements and rates shift with game patches and meta changes, so values reflect the state of the source at retrieval time. Hero name matching is case-insensitive across all endpoints that accept hero_name, so inputs like 'miya', 'Miya', and 'MIYA' all resolve correctly.

Reliability & maintenanceVerified

The MLBB API is a managed, monitored endpoint for mlbb.gg — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when mlbb.gg 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 mlbb.gg 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
2h ago
Latest check
4/4 endpoints 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 tier list display showing each hero's SS–D rating alongside win and ban rates
  • Power a draft assistant that suggests synergy partners using the synergy array and strength field
  • Track meta shifts over time by logging win_rate, pick_rate, and points across patch cycles
  • Filter heroes by roles or specialties to recommend picks for a specific playstyle
  • Compare lane coverage across the full roster using get_all_hero_attributes and the lanes field
  • Identify ban priorities by sorting all heroes by ban_rate from the full-roster endpoint
  • Populate hero selection screens in MLBB companion apps with live tier and rate data
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 MLBB.GG have an official developer API?+
MLBB.GG does not publish an official public developer API or documented data endpoints for third-party use. This Parse API provides structured access to the hero statistics and tier data the site publishes.
What does the `get_hero_synergies` endpoint return, and how is `strength` defined?+
get_hero_synergies returns a synergy array where each entry represents a hero that pairs well with the queried hero. Each partner object includes hero_id, hero_name, a strength value (a numeric rating indicating how strong the pairing is according to mlbb.gg's compatibility analysis), and a roles array for that partner.
Does the API include match history, individual player stats, or ranked ladder data?+
Not currently. The API covers hero-level attributes (tier, win/ban/pick rates, roles, lanes, specialties) and hero synergy pairings. Player profiles, match history, and leaderboard data are not included. You can fork this API on Parse and revise it to add endpoints targeting those data surfaces.
Are stats broken down by rank tier, region, or game mode?+
Not currently. The returned win_rate, ban_rate, pick_rate, and tier fields reflect aggregate statistics as published on mlbb.gg without segmentation by rank bracket, server region, or game mode. You can fork this API on Parse and revise it to target rank- or region-specific breakdowns if mlbb.gg exposes them.
How do hero names with special characters work in the `hero_name` parameter?+
Hero name matching is case-insensitive, so inputs like 'lapu-lapu' or 'Lapu-Lapu' both resolve correctly. Use the canonical hero display name including hyphens or apostrophes as they appear in the game. The hero_name field in any response always returns the canonical display name you can use as a reference.
Page content last updated . Spec covers 4 endpoints from mlbb.gg.
Related APIs in SportsSee all →
mlbb.io API
Access real-time Mobile Legends hero statistics, tier rankings, optimal builds, and emblem recommendations to make informed gameplay decisions. Search for specific heroes and view comprehensive data including item lists and competitive tier placements to optimize your strategy.
dotabuff.com API
Access Dota 2 hero performance metrics from Dotabuff, including win rates, pick rates, ban rates, item builds, and lane statistics. Retrieve meta trend data and detailed per-hero attributes, roles, and ability information to support hero analysis and draft research.
h2hggl.com API
Access live e-sports match data, daily schedules, upcoming games, and final results across H2H GG League eBasketball competitions. Retrieve real-time scores, player statistics, head-to-head comparisons, and detailed match timelines.
op.gg API
Look up detailed League of Legends and TFT player statistics, match history, and champion performance data to analyze gameplay and track competitive standings. Search summoner profiles, review leaderboards, and monitor how specific champions perform across different skill levels.
leagueofgraphs.com API
Access League of Legends and Teamfight Tactics player statistics, rankings, and match histories. Look up summoner profiles, champion performance data, live game status, and competitive standings across both game modes and all supported regions.
dota2protracker.com API
Track high-level Dota 2 gameplay by accessing real-time hero winrates, professional player match history, and facet performance data. Search the hero database and analyze current meta trends to inform your draft strategy and competitive play.
pred.gg API
Access all gaming assets from the Pred.gg platform including hero icons, ability icons, skin portraits, item icons, perk icons, and rank icons. Use these images to build gaming apps, guides, or community tools with official Pred.gg graphics.
rib.gg API
Access comprehensive Valorant competitive data including match results, player statistics, team information, and tournament details with powerful search and filtering capabilities. Track player performance history, view rankings, discover free agents, and analyze in-depth match rounds and analytics all in one place.