> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Get Players Top Yellow Cards

> <!-- aisa-pricing:start -->
Usage-based billing; Default request estimate: $0.000384 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ.
<!-- aisa-pricing:end -->

## Request contract

* **Method and path:** POST /apis/v1/api-sports/get-players-top-yellow-cards
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/api-sports/get-players-top-yellow-cards`
* **Runtime facts:** 79c3a316fdeba0e2a5966a14b3bd8b262de8099a119b3fcdb47de874db1aed3e

[Complete OpenAPI definition](https://aisa.one/docs/reference-contracts/api-sports.json)

Effective request and pricing declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "api-sports.get-players-top-yellow-cards",
  "method": "POST",
  "path": "/apis/v1/api-sports/get-players-top-yellow-cards",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "required": [
            "league",
            "season"
          ],
          "properties": {
            "league": {
              "type": "integer",
              "examples": [
                39
              ],
              "description": "League ID to retrieve top yellow card players for"
            },
            "season": {
              "type": "integer",
              "examples": [
                2023
              ],
              "description": "Season year (e.g., 2023)"
            }
          },
          "additionalProperties": false
        }
      }
    }
  },
  "x-aisa-status": "enabled",
  "x-aisa-pricing": {
    "cost_contract": "response_units",
    "customer_multiplier": 1.0,
    "customer_pricing": "provider_cost_multiplier",
    "default_request_estimate_usd": 0.000384,
    "estimate_source": "profile_seed",
    "evidence_source": "response_body",
    "maximum_units": 10000000,
    "unit": "provider_credit",
    "unit_rate_usd": 1e-06
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based billing; Default request estimate: \$0.000384 USD (not a fixed price). Declared unit rate: \$0.000001 USD per provider\_credit. Account-specific pricing and final settlement may differ.

Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.

* **Default request reference estimate (USD):** 0.000384
* **Declared unit rate (USD):** 1e-06
* **Billing unit:** provider\_credit
* **Cost contract:** response\_units
* **Published reference multiplier:** 1.0
* **Declared maximum count/units:** 10000000
* **Settlement evidence source:** response\_body


## OpenAPI

````yaml reference-contracts/api-sports.json POST /apis/v1/api-sports/get-players-top-yellow-cards
openapi: 3.1.0
info:
  description: ''
  title: API-Sports
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-configured-paths:
    - /apis/v1/api-sports/get-afl-games
    - /apis/v1/api-sports/get-afl-games-statistics-players
    - /apis/v1/api-sports/get-afl-seasons
    - /apis/v1/api-sports/get-afl-standings
    - /apis/v1/api-sports/get-baseball-games-h2h
    - /apis/v1/api-sports/get-basketball-bets
    - /apis/v1/api-sports/get-basketball-bookmakers
    - /apis/v1/api-sports/get-basketball-games
    - /apis/v1/api-sports/get-basketball-games-statistics-players
    - /apis/v1/api-sports/get-basketball-standings
    - /apis/v1/api-sports/get-basketball-statistics
    - /apis/v1/api-sports/get-coachs
    - /apis/v1/api-sports/get-countries
    - /apis/v1/api-sports/get-fighters-records
    - /apis/v1/api-sports/get-fixtures
    - /apis/v1/api-sports/get-fixtures-events
    - /apis/v1/api-sports/get-fixtures-headtohead
    - /apis/v1/api-sports/get-fixtures-lineups
    - /apis/v1/api-sports/get-fixtures-players
    - /apis/v1/api-sports/get-fixtures-rounds
    - /apis/v1/api-sports/get-fixtures-statistics
    - /apis/v1/api-sports/get-games-events
    - /apis/v1/api-sports/get-games-quarters
    - /apis/v1/api-sports/get-games-statistics-teams
    - /apis/v1/api-sports/get-injuries
    - /apis/v1/api-sports/get-leagues
    - /apis/v1/api-sports/get-leagues-seasons
    - /apis/v1/api-sports/get-mma-categories
    - /apis/v1/api-sports/get-mma-fighters
    - /apis/v1/api-sports/get-mma-fights
    - /apis/v1/api-sports/get-mma-fights-results
    - /apis/v1/api-sports/get-mma-fights-statistics-fighters
    - /apis/v1/api-sports/get-nba-games-statistics
    - /apis/v1/api-sports/get-nba-players-statistics
    - /apis/v1/api-sports/get-odds
    - /apis/v1/api-sports/get-odds-bets
    - /apis/v1/api-sports/get-odds-bookmakers
    - /apis/v1/api-sports/get-odds-live
    - /apis/v1/api-sports/get-odds-live-bets
    - /apis/v1/api-sports/get-odds-mapping
    - /apis/v1/api-sports/get-players
    - /apis/v1/api-sports/get-players-profiles
    - /apis/v1/api-sports/get-players-seasons
    - /apis/v1/api-sports/get-players-squads
    - /apis/v1/api-sports/get-players-statistics
    - /apis/v1/api-sports/get-players-teams
    - /apis/v1/api-sports/get-players-top-assists
    - /apis/v1/api-sports/get-players-top-red-cards
    - /apis/v1/api-sports/get-players-top-scorers
    - /apis/v1/api-sports/get-players-top-yellow-cards
    - /apis/v1/api-sports/get-predictions
    - /apis/v1/api-sports/get-sidelined
    - /apis/v1/api-sports/get-standings-stages
    - /apis/v1/api-sports/get-teams
    - /apis/v1/api-sports/get-teams-seasons
    - /apis/v1/api-sports/get-teams-statistics
    - /apis/v1/api-sports/get-timezone
    - /apis/v1/api-sports/get-transfers
    - /apis/v1/api-sports/get-trophies
    - /apis/v1/api-sports/get-venues
  x-aisa-document:
    facts_hash: 79c3a316fdeba0e2a5966a14b3bd8b262de8099a119b3fcdb47de874db1aed3e
    generator_version: '3'
    protocol_version: '1'
    schema_version: '1'
    composer_version: '28'
    response_pending: []
    document_hash: sha256:a4e4e82009d74c7c040fa84b8ce8bb4fc84da08a71d667c44c2f0988dc5f413c
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: api-sports
  x-aisa-catalogs:
    api-sports:
      title: API-Sports
      description: ''
      x-aisa-document:
        facts_hash: 79c3a316fdeba0e2a5966a14b3bd8b262de8099a119b3fcdb47de874db1aed3e
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/api-sports/get-players-top-yellow-cards:
    post:
      tags:
        - API-Sports
      summary: Get Players Top Yellow Cards
      description: >-
        <!-- aisa-pricing:start -->

        Usage-based billing; Default request estimate: $0.000384 USD (not a
        fixed price). Declared unit rate: $0.000001 USD per provider_credit.
        Account-specific pricing and final settlement may differ.

        <!-- aisa-pricing:end -->
      operationId: api-sports.get-players-top-yellow-cards
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - league
                - season
              properties:
                league:
                  type: integer
                  examples:
                    - 39
                  description: League ID to retrieve top yellow card players for
                season:
                  type: integer
                  examples:
                    - 2023
                  description: Season year (e.g., 2023)
              additionalProperties: false
      responses:
        '200':
          description: Tool result data
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__public_data
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__public_data:
      $ref: >-
        #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__a612f985b143d349
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__a612f985b143d349:
      type: object
      required:
        - get
        - parameters
        - errors
        - results
        - paging
        - response
      properties:
        get:
          type: string
        errors:
          anyOf:
            - type: array
              items:
                type: object
                additionalProperties:
                  type: string
            - type: object
              additionalProperties:
                type: string
        paging:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__f284f27db6478322
        results:
          type: integer
        response:
          type: array
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__da9f72508421fe8f
        parameters:
          type: object
          additionalProperties:
            anyOf:
              - type: integer
              - type: string
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__f284f27db6478322:
      type: object
      required:
        - current
        - total
      properties:
        total:
          type: integer
        current:
          type: integer
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__da9f72508421fe8f:
      type: object
      required:
        - player
        - statistics
      properties:
        player:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__eaeebb7f1956a51b
        statistics:
          type: array
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__4781286dbcca3263
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__eaeebb7f1956a51b:
      type: object
      required:
        - id
        - name
        - firstname
        - lastname
        - age
        - birth
        - nationality
        - injured
        - photo
      properties:
        id:
          type: integer
        age:
          type: integer
        name:
          type: string
        birth:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__82cd5d1f38dbaf47
        photo:
          type: string
        height:
          type: string
        weight:
          type: string
        injured:
          type: boolean
        lastname:
          type: string
        firstname:
          type: string
        nationality:
          type: string
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__4781286dbcca3263:
      type: object
      required:
        - team
        - league
        - games
        - shots
        - goals
        - passes
        - tackles
        - duels
        - dribbles
        - fouls
        - cards
        - penalty
      properties:
        team:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__5a5d75cf7df8e8e1
        cards:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__8d15b89e143c90a8
        duels:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__ad578089d751c16a
        fouls:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__9552fc51c61fda52
        games:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__15bf1028270ef797
        goals:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__fc9ba4af3cc4a902
        shots:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__8c7a06c6ba8a8a3a
        league:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__1436244e0b001a4f
        passes:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__4e0555a2a6b3395e
        penalty:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__c20889bb2010afb5
        tackles:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__c416dcc8d3bf9c8e
        dribbles:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__e5809e5b367efa7c
        substitutes:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__8cef23f75509c492
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__82cd5d1f38dbaf47:
      type: object
      required:
        - date
        - country
      properties:
        date:
          type: string
        place:
          type: string
        country:
          type: string
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__5a5d75cf7df8e8e1:
      type: object
      required:
        - id
        - name
      properties:
        id:
          type: integer
        logo:
          type: string
        name:
          type: string
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__8d15b89e143c90a8:
      type: object
      properties:
        red:
          type: integer
        yellow:
          type: integer
        yellowred:
          type: integer
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__ad578089d751c16a:
      type: object
      properties:
        won:
          type: integer
        total:
          type: integer
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__9552fc51c61fda52:
      type: object
      properties:
        drawn:
          type: integer
        committed:
          type: integer
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__15bf1028270ef797:
      type: object
      properties:
        number:
          type: integer
        rating:
          type: string
        captain:
          type: boolean
        lineups:
          type: integer
        minutes:
          type: integer
        position:
          type: string
        appearances:
          type: integer
        appearences:
          type: integer
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__fc9ba4af3cc4a902:
      type: object
      properties:
        saves:
          type: integer
        total:
          type: integer
        assists:
          type: integer
        conceded:
          type: integer
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__8c7a06c6ba8a8a3a:
      type: object
      properties:
        'on':
          type: integer
        total:
          type: integer
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__1436244e0b001a4f:
      type: object
      required:
        - name
        - season
      properties:
        id:
          type: integer
        flag:
          type: string
        logo:
          type: string
        name:
          type: string
        season:
          type: integer
        country:
          type: string
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__4e0555a2a6b3395e:
      type: object
      properties:
        key:
          type: integer
        total:
          type: integer
        accuracy:
          type: integer
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__c20889bb2010afb5:
      type: object
      properties:
        won:
          type: integer
        saved:
          type: integer
        missed:
          type: integer
        scored:
          type: integer
        commited:
          type: integer
        committed:
          type: integer
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__c416dcc8d3bf9c8e:
      type: object
      properties:
        total:
          type: integer
        blocks:
          type: integer
        interceptions:
          type: integer
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__e5809e5b367efa7c:
      type: object
      properties:
        past:
          type: integer
        success:
          type: integer
        attempts:
          type: integer
    Response576A0Ea506F3_connect_API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS__output__8cef23f75509c492:
      type: object
      properties:
        in:
          type: integer
        out:
          type: integer
        bench:
          type: integer
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.