AimRank Official Rankings API

The Official Rankings API from AimRank — 4 operation(s) for official rankings.

Operations 4

GET /api/v1/official/divisions List Official Divisions #
GET /api/v1/official/{ranking_id} Get Official Ranking #
GET /api/v1/official/{ranking_id}/stats Get Ranking Stats #
GET /api/v1/official/{ranking_id}/predictions Get Prediction #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/aimrank-io:aimrank-io-official-rankings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aimrank-io-official-rankings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AimRank Official Rankings API
  description: Ranking-as-a-Service API — Turn binary comparisons into calibrated rankings with Glicko-2, Bradley-Terry, TrueSkill, and cross-domain transfer learning. Includes webhooks, API keys, RLHF exports, and embeddable widgets.
  version: 4.12.0
tags:
- name: Official Rankings
paths:
  /api/v1/official/divisions:
    get:
      tags:
      - Official Rankings
      summary: List Official Divisions
      description: List all official ranking divisions.
      operationId: list_official_divisions_api_v1_official_divisions_get
      parameters:
      - name: sport
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by sport (e.g., 'MMA')
          title: Sport
        description: Filter by sport (e.g., 'MMA')
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OfficialRankingListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/official/{ranking_id}:
    get:
      tags:
      - Official Rankings
      summary: Get Official Ranking
      description: Get detailed official ranking with all entities.
      operationId: get_official_ranking_api_v1_official__ranking_id__get
      parameters:
      - name: ranking_id
        in: path
        required: true
        schema:
          type: string
          title: Ranking Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OfficialRankingResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/official/{ranking_id}/stats:
    get:
      tags:
      - Official Rankings
      summary: Get Ranking Stats
      description: 'Get REAL calculated stats for a ranking.


        Unlike the main ranking endpoint which uses demo data,

        this endpoint calculates accuracy from actual vote history.


        Returns:

        - vote_count: Total votes in the database

        - accuracy_percent: Real calculated accuracy (or null if <10 predictions)

        - total_predictions: Number of votes with prediction outcomes

        - correct_predictions: Number of correct predictions

        - has_sufficient_data: Whether there''s enough data for reliable accuracy'
      operationId: get_ranking_stats_api_v1_official__ranking_id__stats_get
      parameters:
      - name: ranking_id
        in: path
        required: true
        schema:
          type: string
          title: Ranking Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/official/{ranking_id}/predictions:
    get:
      tags:
      - Official Rankings
      summary: Get Prediction
      description: Get win probability prediction between two fighters.
      operationId: get_prediction_api_v1_official__ranking_id__predictions_get
      parameters:
      - name: ranking_id
        in: path
        required: true
        schema:
          type: string
          title: Ranking Id
      - name: fighter1
        in: query
        required: true
        schema:
          type: string
          description: First fighter ID
          title: Fighter1
        description: First fighter ID
      - name: fighter2
        in: query
        required: true
        schema:
          type: string
          description: Second fighter ID
          title: Fighter2
        description: Second fighter ID
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    OfficialRankingResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        description:
          type: string
          title: Description
        sport:
          type: string
          title: Sport
        division:
          type: string
          title: Division
        entity_count:
          type: integer
          title: Entity Count
        vote_count:
          type: integer
          title: Vote Count
        accuracy:
          type: number
          title: Accuracy
        last_updated:
          type: string
          title: Last Updated
        entities:
          items:
            $ref: '#/components/schemas/FighterResponse'
          type: array
          title: Entities
      type: object
      required:
      - id
      - name
      - description
      - sport
      - division
      - entity_count
      - vote_count
      - accuracy
      - last_updated
      - entities
      title: OfficialRankingResponse
    OfficialRankingListResponse:
      properties:
        rankings:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Rankings
        total:
          type: integer
          title: Total
      type: object
      required:
      - rankings
      - total
      title: OfficialRankingListResponse
    FighterResponse:
      properties:
        rank:
          type: integer
          title: Rank
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        nickname:
          anyOf:
          - type: string
          - type: 'null'
          title: Nickname
        country:
          type: string
          title: Country
        flag:
          type: string
          title: Flag
        record:
          type: string
          title: Record
        rating:
          type: integer
          title: Rating
        rd:
          type: integer
          title: Rd
        change:
          type: integer
          title: Change
        streak:
          type: string
          title: Streak
        image_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Image Url
      type: object
      required:
      - rank
      - id
      - name
      - country
      - flag
      - record
      - rating
      - rd
      - change
      - streak
      title: FighterResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key