# Transfermarkt competition and table API

Get Transfermarkt competition tables by season start year via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as competition_id, output, raw, and retrieve structured data including source competition identifier, source club reference, and source table points for football reference, and value comparison, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/transfermarkt/transfermarkt-competition-and-table-api/?offering=e8ad8d5c-add0-41be-a189-7db7df292a33
API ID: e8ad8d5c-add0-41be-a189-7db7df292a33
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/transfermarkt/v1/competition
Page update time: 2026-12-03T02:47:47.774Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:47:45.323Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Transfermarkt competition and table API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "competition_id": {
          "type": "string",
          "description": "Transfermarkt competition id (GB1 Premier League, ES1 LaLiga, IT1 Serie A, L1 Bundesliga, FR1 Ligue 1)."
        },
        "season": {
          "type": "integer",
          "description": "Season start year (default: current)."
        },
        "include": {
          "type": "string",
          "description": "`fixtures`: also return the season's fixtures and results by matchday (date, home and away club, score, finished or live, attendance, stadium and referee ids, link). Costs one more upstream request. `clubs`: every club with squad values and stadium, sorted by market value. `stadiums`: each club's stadium with city, capacity, boxes, seats and standing room (leagues; cup competitions have no stadium list, so their stadiums are null). Comma-separate several.",
          "enum": [
            "fixtures"
          ]
        },
        "matchday": {
          "type": "integer",
          "description": "Only this matchday's fixtures (implies include=fixtures)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      },
      "required": [
        "competition_id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "closest_game_day": {
      "type": "integer"
    },
    "competition_id": {
      "type": "string"
    },
    "country_id": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "current_season_id": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "game_days": {
      "type": "integer"
    },
    "logo": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "ongoing": {
      "type": "boolean"
    },
    "season": {
      "type": "integer"
    },
    "short_name": {
      "type": "string"
    },
    "table": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "club": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "logo": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "short_name": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          },
          "draws": {
            "type": "integer"
          },
          "goal_difference": {
            "type": "integer"
          },
          "goals_against": {
            "type": "integer"
          },
          "goals_for": {
            "type": "integer"
          },
          "group": {
            "type": "null"
          },
          "losses": {
            "type": "integer"
          },
          "played": {
            "type": "integer"
          },
          "playing_now": {
            "type": "boolean"
          },
          "points": {
            "type": "integer"
          },
          "position": {
            "type": "integer"
          },
          "previous_position": {
            "type": "integer"
          },
          "wins": {
            "type": "integer"
          },
          "zone": {
            "type": "string"
          }
        }
      }
    },
    "total_market_value": {
      "type": "object",
      "properties": {
        "currency": {
          "type": "string"
        },
        "display": {
          "type": "string"
        },
        "value": {
          "type": "integer"
        }
      }
    },
    "tournament": {
      "type": "boolean"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/transfermarkt/v1/competition?competition_id=GB1&output=json&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "closest_game_day": 11,
  "competition_id": "GB1",
  "country_id": 189,
  "credits_used": 1,
  "current_season_id": 2026,
  "fetched_at": "2026-11-19T12:23:35.578Z",
  "game_days": 38,
  "logo": "https://img.a.transfermarkt.technology/logo/medium/gb1.png?lm=1789377131",
  "name": "Premier League",
  "ongoing": true,
  "season": 2026,
  "short_name": "Premier League",
  "table": [
    {
      "club": {
        "id": "11",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/11.png",
        "name": "Arsenal FC",
        "short_name": "Arsenal",
        "url": "https://www.transfermarkt.com/arsenal-fc/startseite/verein/11"
      },
      "draws": 0,
      "goal_difference": 10,
      "goals_against": 5,
      "goals_for": 15,
      "group": null,
      "losses": 1,
      "played": 10,
      "playing_now": false,
      "points": 27,
      "position": 1,
      "previous_position": 1,
      "wins": 9,
      "zone": "Champions & UEFA Champions League"
    },
    {
      "club": {
        "id": "1237",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/1237.png",
        "name": "Brighton & Hove Albion",
        "short_name": "Brighton",
        "url": "https://www.transfermarkt.com/brighton-hove-albion/startseite/verein/1237"
      },
      "draws": 1,
      "goal_difference": 19,
      "goals_against": 7,
      "goals_for": 26,
      "group": null,
      "losses": 2,
      "played": 10,
      "playing_now": false,
      "points": 22,
      "position": 2,
      "previous_position": 2,
      "wins": 7,
      "zone": "UEFA Champions League"
    },
    {
      "club": {
        "id": "281",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/281.png",
        "name": "Manchester City",
        "short_name": "Man City",
        "url": "https://www.transfermarkt.com/manchester-city/startseite/verein/281"
      },
      "draws": 0,
      "goal_difference": 8,
      "goals_against": 13,
      "goals_for": 21,
      "group": null,
      "losses": 3,
      "played": 10,
      "playing_now": false,
      "points": 21,
      "position": 3,
      "previous_position": 3,
      "wins": 7,
      "zone": "UEFA Champions League"
    },
    {
      "club": {
        "id": "31",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/31.png",
        "name": "Liverpool FC",
        "short_name": "Liverpool",
        "url": "https://www.transfermarkt.com/liverpool-fc/startseite/verein/31"
      },
      "draws": 3,
      "goal_difference": 4,
      "goals_against": 10,
      "goals_for": 14,
      "group": null,
      "losses": 2,
      "played": 10,
      "playing_now": false,
      "points": 18,
      "position": 4,
      "previous_position": 4,
      "wins": 5,
      "zone": "UEFA Champions League"
    },
    {
      "club": {
        "id": "631",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/631.png",
        "name": "Chelsea FC",
        "short_name": "Chelsea",
        "url": "https://www.transfermarkt.com/chelsea-fc/startseite/verein/631"
      },
      "draws": 1,
      "goal_difference": 3,
      "goals_against": 16,
      "goals_for": 19,
      "group": null,
      "losses": 4,
      "played": 10,
      "playing_now": false,
      "points": 16,
      "position": 5,
      "previous_position": 5,
      "wins": 5,
      "zone": "UEFA Europa League"
    },
    {
      "club": {
        "id": "29",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/29.png",
        "name": "Everton FC",
        "short_name": "Everton",
        "url": "https://www.transfermarkt.com/everton-fc/startseite/verein/29"
      },
      "draws": 4,
      "goal_difference": 2,
      "goals_against": 10,
      "goals_for": 12,
      "group": null,
      "losses": 2,
      "played": 10,
      "playing_now": false,
      "points": 16,
      "position": 6,
      "previous_position": 6,
      "wins": 4,
      "zone": "UEFA Europa League"
    },
    {
      "club": {
        "id": "989",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/989.png",
        "name": "AFC Bournemouth",
        "short_name": "Bournemouth",
        "url": "https://www.transfermarkt.com/afc-bournemouth/startseite/verein/989"
      },
      "draws": 3,
      "goal_difference": 2,
      "goals_against": 14,
      "goals_for": 16,
      "group": null,
      "losses": 3,
      "played": 10,
      "playing_now": false,
      "points": 15,
      "position": 7,
      "previous_position": 7,
      "wins": 4,
      "zone": "UEFA Europa Conference League"
    },
    {
      "club": {
        "id": "1148",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/1148.png",
        "name": "Brentford FC",
        "short_name": "Brentford",
        "url": "https://www.transfermarkt.com/brentford-fc/startseite/verein/1148"
      },
      "draws": 5,
      "goal_difference": 5,
      "goals_against": 11,
      "goals_for": 16,
      "group": null,
      "losses": 2,
      "played": 10,
      "playing_now": false,
      "points": 14,
      "position": 8,
      "previous_position": 8,
      "wins": 3,
      "zone": ""
    },
    {
      "club": {
        "id": "399",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/399.png",
        "name": "Leeds United",
        "short_name": "Leeds",
        "url": "https://www.transfermarkt.com/leeds-united/startseite/verein/399"
      },
      "draws": 5,
      "goal_difference": 2,
      "goals_against": 8,
      "goals_for": 10,
      "group": null,
      "losses": 2,
      "played": 10,
      "playing_now": false,
      "points": 14,
      "position": 9,
      "previous_position": 9,
      "wins": 3,
      "zone": ""
    },
    {
      "club": {
        "id": "405",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/405.png",
        "name": "Aston Villa",
        "short_name": "Aston Villa",
        "url": "https://www.transfermarkt.com/aston-villa/startseite/verein/405"
      },
      "draws": 4,
      "goal_difference": -3,
      "goals_against": 17,
      "goals_for": 14,
      "group": null,
      "losses": 3,
      "played": 10,
      "playing_now": false,
      "points": 13,
      "position": 10,
      "previous_position": 10,
      "wins": 3,
      "zone": ""
    },
    {
      "club": {
        "id": "148",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/148.png",
        "name": "Tottenham Hotspur",
        "short_name": "Tottenham",
        "url": "https://www.transfermarkt.com/tottenham-hotspur/startseite/verein/148"
      },
      "draws": 3,
      "goal_difference": -1,
      "goals_against": 11,
      "goals_for": 10,
      "group": null,
      "losses": 4,
      "played": 10,
      "playing_now": false,
      "points": 12,
      "position": 11,
      "previous_position": 11,
      "wins": 3,
      "zone": ""
    },
    {
      "club": {
        "id": "762",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/762.png",
        "name": "Newcastle United",
        "short_name": "Newcastle",
        "url": "https://www.transfermarkt.com/newcastle-united/startseite/verein/762"
      },
      "draws": 3,
      "goal_difference": -3,
      "goals_against": 16,
      "goals_for": 13,
      "group": null,
      "losses": 4,
      "played": 10,
      "playing_now": false,
      "points": 12,
      "position": 12,
      "previous_position": 12,
      "wins": 3,
      "zone": ""
    },
    {
      "club": {
        "id": "3008",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/3008.png",
        "name": "Hull City",
        "short_name": "Hull City",
        "url": "https://www.transfermarkt.com/hull-city/startseite/verein/3008"
      },
      "draws": 5,
      "goal_difference": 0,
      "goals_against": 11,
      "goals_for": 11,
      "group": null,
      "losses": 3,
      "played": 10,
      "playing_now": false,
      "points": 11,
      "position": 13,
      "previous_position": 13,
      "wins": 2,
      "zone": ""
    },
    {
      "club": {
        "id": "677",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/677.png",
        "name": "Ipswich Town",
        "short_name": "Ipswich",
        "url": "https://www.transfermarkt.com/ipswich-town/startseite/verein/677"
      },
      "draws": 2,
      "goal_difference": -5,
      "goals_against": 20,
      "goals_for": 15,
      "group": null,
      "losses": 5,
      "played": 10,
      "playing_now": false,
      "points": 11,
      "position": 14,
      "previous_position": 14,
      "wins": 3,
      "zone": ""
    },
    {
      "club": {
        "id": "931",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/931.png",
        "name": "Fulham FC",
        "short_name": "Fulham",
        "url": "https://www.transfermarkt.com/fulham-fc/startseite/verein/931"
      },
      "draws": 4,
      "goal_difference": -2,
      "goals_against": 12,
      "goals_for": 10,
      "group": null,
      "losses": 4,
      "played": 10,
      "playing_now": false,
      "points": 10,
      "position": 15,
      "previous_position": 15,
      "wins": 2,
      "zone": ""
    },
    {
      "club": {
        "id": "703",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/703.png",
        "name": "Nottingham Forest",
        "short_name": "Nott'm Forest",
        "url": "https://www.transfermarkt.com/nottingham-forest/startseite/verein/703"
      },
      "draws": 3,
      "goal_difference": -4,
      "goals_against": 13,
      "goals_for": 9,
      "group": null,
      "losses": 5,
      "played": 10,
      "playing_now": false,
      "points": 9,
      "position": 16,
      "previous_position": 16,
      "wins": 2,
      "zone": ""
    },
    {
      "club": {
        "id": "990",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/990.png",
        "name": "Coventry City",
        "short_name": "Coventry",
        "url": "https://www.transfermarkt.com/coventry-city/startseite/verein/990"
      },
      "draws": 0,
      "goal_difference": -9,
      "goals_against": 19,
      "goals_for": 10,
      "group": null,
      "losses": 7,
      "played": 10,
      "playing_now": false,
      "points": 9,
      "position": 17,
      "previous_position": 17,
      "wins": 3,
      "zone": ""
    },
    {
      "club": {
        "id": "985",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/985.png",
        "name": "Manchester United",
        "short_name": "Man United",
        "url": "https://www.transfermarkt.com/manchester-united/startseite/verein/985"
      },
      "draws": 5,
      "goal_difference": -5,
      "goals_against": 19,
      "goals_for": 14,
      "group": null,
      "losses": 4,
      "played": 10,
      "playing_now": false,
      "points": 8,
      "position": 18,
      "previous_position": 18,
      "wins": 1,
      "zone": "Relegated"
    },
    {
      "club": {
        "id": "289",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/289.png",
        "name": "Sunderland AFC",
        "short_name": "Sunderland",
        "url": "https://www.transfermarkt.com/sunderland-afc/startseite/verein/289"
      },
      "draws": 2,
      "goal_difference": -9,
      "goals_against": 17,
      "goals_for": 8,
      "group": null,
      "losses": 6,
      "played": 10,
      "playing_now": false,
      "points": 8,
      "position": 19,
      "previous_position": 19,
      "wins": 2,
      "zone": "Relegated"
    },
    {
      "club": {
        "id": "873",
        "logo": "https://img.a.transfermarkt.technology/wappen/head/873.png",
        "name": "Crystal Palace",
        "short_name": "Crystal Palace",
        "url": "https://www.transfermarkt.com/crystal-palace/startseite/verein/873"
      },
      "draws": 1,
      "goal_difference": -14,
      "goals_against": 24,
      "goals_for": 10,
      "group": null,
      "losses": 7,
      "played": 10,
      "playing_now": false,
      "points": 7,
      "position": 20,
      "previous_position": 20,
      "wins": 2,
      "zone": "Relegated"
    }
  ],
  "total_market_value": {
    "currency": "EUR",
    "display": "€14.11B",
    "value": 14107375000
  },
  "tournament": false,
  "url": "https://www.transfermarkt.com/premier-league/startseite/wettbewerb/GB1"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/transfermarkt/transfermarkt-competition-and-table-api/?offering=e8ad8d5c-add0-41be-a189-7db7df292a33

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
