Web Playground

MLBB Endpoint

Interactive request form for this API endpoint.

Each card below maps directly to an API endpoint. Query, path, and request body fields are generated from OpenAPI.

GET List Heroes

/web/mlbb/heroes

Open Only This

Retrieve a paginated list of all heroes with basic information. Supports query parameters for pagination (size, index), sorting (order), and localization (lang).

Query parameters:

  • size: Number of items per page (minimum: 1).
  • index: Page index (starting from 1).
  • order: Sort order for results. Allowed values: asc, desc.
  • lang: Language code for localized content (default: en).

The response includes hero records:

  • records: Array of hero entries, each containing:
      • data:
          • hero:
              • data:
                  • head: Hero head image URL.
                  • name: Hero name.
                  • smallmap: Hero smallmap image URL.
          • hero_id: Unique hero identifier.
          • relation:
              • assist:
                  • target_hero_id: Array of hero IDs assisted.
              • strong:
                  • target_hero_id: Array of hero IDs this hero is strong against.
              • weak:
                  • target_hero_id: Array of hero IDs this hero is weak against.

This endpoint is useful for:

  • Displaying hero collections.
  • Browsing hero details.
  • Analyzing hero relationships (assist, strong, weak).
size query

Number of items per page. Minimum: 1.

index query

Page index for pagination. Minimum: 1.

order query

Sort order by hero ID.

lang query

Language code for localized content.

GET /api/heroes