Football Database and Results

Historical football results, draws and no-draw streaks. 11 read-only tools, 6 need no API key.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
94%
命名品質
95%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~9,124Token(工具定義)
~8.1 KB典型回應大小
顯著的注意力影響(128k 上下文的 7.13%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "football-database-and-results": {
      "url": "https://fdb4.io/mcp"
    }
  }
}

遠端端點

https://fdb4.io/mcpstreamable-http

它能做什麼

工具清單

工具(11)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢predict_draws(type, recent, wc2026, limit)

[PAID] Rank teams by how overdue a draw is — the question this database exists to answer. Every team has a historical draw rate and a run of matches since its last draw. When the run is long relative to how often that team normally draws, the team is carrying "draw debt", and this tool ranks the whole field by it, most overdue first. Ask it "which national teams are most due a draw?" or "who is overdue a draw in the World Cup 2026 field?" and it answers directly; nothing else here needs to be queried first. Each entry returns the rank, the score, and the signals behind it: matches played, draws, draw percentage, the current no-draw streak, the longest ever, and the debt figure. Filters subset which teams are listed — a team's score and rank are global and never change with them. Historical pattern, not a betting tip. Costs 1 point per call (1 point = 1 cent); paginated calls cost 1 point per page.

輸入結構描述

{
  "type": "object",
  "properties": {
    "type": {
      "description": "Restrict the ranking to national teams or to clubs. Omit to rank both together.",
      "enum": [
        "national_team",
        "club"
      ],
      "type": "string"
    },
    "recent": {
      "description": "Only teams with a recent match, so the answer is about teams currently playing. Default true.",
      "default": true,
      "type": "boolean"
    },
    "wc2026": {
      "description": "Restrict to the 2026 World Cup team group. Default false.",
      "default": false,
      "type": "boolean"
    },
    "limit": {
      "description": "How many ranked teams to return. Default 25, max 500. One call, one point, whatever the limit.",
      "default": 25,
      "minimum": 1,
      "maximum": 500,
      "type": "integer"
    }
  }
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "description": "Teams ranked by how overdue a draw is, most overdue first.",
      "items": {
        "description": "A ranked team.",
        "properties": {
          "rank": {
            "description": "Position in the ranking; 1 is the most overdue.",
            "type": "integer"
          },
          "score": {
            "description": "The draw-likelihood score the ranking sorts on.",
            "type": "number"
          },
          "team": {
            "description": "A team.",
            "properties": {
              "id": {
                "description": "Team id — the argument every team tool takes.",
                "type": "integer"
              },
              "slug": {
                "description": "URL slug; accepted anywhere an id is.",
                "type": "string"
              },
              "name": {
                "description": "Short display name.",
                "type": "string"
              },
              "full_name": {
                "description": "Official or long name, when known.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "description": "\"national_team\" or \"club\".",
                "type": [
                  "string",
                  "null"
                ]
              },
              "country": {
                "description": "The country a team or competition belongs to.",
                "properties": {
                  "id": {
                    "type": "integer"
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "fifa_code": {
                    "description": "Three-letter FIFA code.",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "id"
                ]
              },
              "exists_now": {
                "description": "False for a team that no longer exists.",
                "type": "boolean"
              }
            },
            "type": "object",
            "required": [
              "id",
              "slug",
              "name"
            ]
          },
          "signals": {
            "description": "The figures the score is built from.",
            "properties": {
              "played": {
                "type": "integer"
              },
              "draws": {
                "type": "integer"
              },
              "draw_pct": {
                "description": "Share of matches drawn, in percent.",
                "type": [
                  "number",
                  "null"
                ]
              },
              "current_no_draw_streak": {
                "description": "Matches since the last draw.",
                "type": [
                  "integer",
                  "null"
                ]
              },
              "max_no_draw_streak": {
                "description": "Longest run without a draw, ever.",
                "type": [
                  "integer",
                  "null"
                ]
              },
              "draw_debt": {
                "description": "Draws expected from the draw rate minus draws that came.",
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "last_match_date": {
            "description": "Date of the team's most recent match.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object",
        "required": [
          "rank",
          "score"
        ]
      },
      "type": "array"
    }
  },
  "required": [
    "data"
  ]
}
🟢get_team_prediction(team, recent, wc2026)

[PAID] How overdue a draw one named team is, plus the results that made it so. Returns the team's draw-likelihood rank and score among all ranked teams, the signals behind it (draw rate, current no-draw streak, longest ever, draw debt), and its recent form — every match in the current no-draw run, with opponent, score and side. Use this when the question is about a specific team ("is Brazil due a draw?"); use predict_draws when the question is about the field. The prediction comes back null when the team exists but is not currently ranked (no played matches, or excluded by the `recent` filter). Historical pattern, not a betting tip. Costs 1 point per call (1 point = 1 cent); paginated calls cost 1 point per page.

輸入結構描述

{
  "type": "object",
  "properties": {
    "team": {
      "description": "Numeric team id or slug — 431 or \"arsenal\". Both come from list_teams.",
      "type": "string"
    },
    "recent": {
      "description": "Rank within teams that have played recently, matching predict_draws. Default true.",
      "default": true,
      "type": "boolean"
    },
    "wc2026": {
      "description": "Rank within the 2026 World Cup team group. Default false.",
      "default": false,
      "type": "boolean"
    }
  },
  "required": [
    "team"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "properties": {
        "team": {
          "description": "A team.",
          "properties": {
            "id": {
              "description": "Team id — the argument every team tool takes.",
              "type": "integer"
            },
            "slug": {
              "description": "URL slug; accepted anywhere an id is.",
              "type": "string"
            },
            "name": {
              "description": "Short display name.",
              "type": "string"
            },
            "full_name": {
              "description": "Official or long name, when known.",
              "type": [
                "string",
                "null"
              ]
            },
            "type": {
              "description": "\"national_team\" or \"club\".",
              "type": [
                "string",
                "null"
              ]
            },
            "country": {
              "description": "The country a team or competition belongs to.",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fifa_code": {
                  "description": "Three-letter FIFA code.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ],
              "required": [
                "id"
              ]
            },
            "exists_now": {
              "description": "False for a team that no longer exists.",
              "type": "boolean"
            }
          },
          "type": "object",
          "required": [
            "id",
            "slug",
            "name"
          ]
        },
        "prediction": {
          "description": "The team's place in the ranking; null when it is not ranked (too few recent matches).",
          "properties": {
            "rank": {
              "description": "Position in the ranking; 1 is the most overdue.",
              "type": "integer"
            },
            "score": {
              "description": "The draw-likelihood score the ranking sorts on.",
              "type": "number"
            },
            "team": {
              "description": "A team.",
              "properties": {
                "id": {
                  "description": "Team id — the argument every team tool takes.",
                  "type": "integer"
                },
                "slug": {
                  "description": "URL slug; accepted anywhere an id is.",
                  "type": "string"
                },
                "name": {
                  "description": "Short display name.",
                  "type": "string"
                },
                "full_name": {
                  "description": "Official or long name, when known.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "description": "\"national_team\" or \"club\".",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "country": {
                  "description": "The country a team or competition belongs to.",
                  "properties": {
                    "id": {
                      "type": "integer"
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "fifa_code": {
                      "description": "Three-letter FIFA code.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ],
                  "required": [
                    "id"
                  ]
                },
                "exists_now": {
                  "description": "False for a team that no longer exists.",
                  "type": "boolean"
                }
              },
              "type": "object",
              "required": [
                "id",
                "slug",
                "name"
              ]
            },
            "signals": {
              "description": "The figures the score is built from.",
              "properties": {
                "played": {
                  "type": "integer"
                },
                "draws": {
                  "type": "integer"
                },
                "draw_pct": {
                  "description": "Share of matches drawn, in percent.",
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "current_no_draw_streak": {
                  "description": "Matches since the last draw.",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "max_no_draw_streak": {
                  "description": "Longest run without a draw, ever.",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "draw_debt": {
                  "description": "Draws expected from the draw rate minus draws that came.",
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "type": "object"
            },
            "last_match_date": {
              "description": "Date of the team's most recent match.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ],
          "required": [
            "rank",
            "score"
          ]
        },
        "recent_form": {
          "description": "The team's latest results, newest first.",
          "items": {
            "properties": {
              "match_id": {
                "type": "integer"
              },
              "date": {
                "type": "string"
              },
              "side": {
                "description": "\"home\" or \"away\".",
                "type": "string"
              },
              "opponent": {
                "description": "A team reference.",
                "properties": {
                  "id": {
                    "description": "Team id — the argument every team tool takes.",
                    "type": "integer"
                  },
                  "slug": {
                    "description": "URL slug; accepted anywhere an id is.",
                    "type": "string"
                  },
                  "name": {
                    "description": "Short display name.",
                    "type": "string"
                  }
                },
                "type": "object",
                "required": [
                  "id",
                  "slug",
                  "name"
                ]
              },
              "score": {
                "description": "Ninety-minute score; both values null before play or when the exact score is unknown, including played extra-time draws.",
                "properties": {
                  "home": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "away": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "is_draw": {
                "type": "boolean"
              },
              "won": {
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "data"
  ]
}
🟢get_draw_model(match_id, team, date)

[PAID] Every draw reading FDB4 holds for ONE match — use it when someone asks how likely a specific fixture is to end level, rather than which teams are overdue a draw (`predict_draws` answers that). Five readings come back side by side, because they are not interchangeable: the Dixon-Coles goals model's own probability with the expected goals behind it; the historical draw rate at this fixture's Elo rating gap; the one-parameter blend of those two the site has published since September 2026; the five-feature logistic model that now sits beside it with a 95% band around it; and the bookmaker's draw price where one is recorded. Also returned: when the logistic model was last fitted, over how many matches, and its coefficients — so an answer can explain itself. Identify the match by `match_id`, or by `team` (id or slug) plus an optional `date`; with no date you get that team's next fixture. `is_forecast` says whether the logistic figure is a real forecast (a fixture) or an in-sample description of a match the model was fitted on. Historical pattern, not a betting tip. Costs 1 point per call (1 point = 1 cent); paginated calls cost 1 point per page.

輸入結構描述

{
  "type": "object",
  "properties": {
    "match_id": {
      "description": "The match id, from search_results or a fixture list. Give this or `team`.",
      "type": "integer"
    },
    "team": {
      "description": "A team id or slug (431, arsenal), from list_teams. Give this or `match_id`.",
      "type": "string"
    },
    "date": {
      "description": "With `team`, the match date as YYYY-MM-DD. Omit for that team's next fixture.",
      "type": "string"
    }
  }
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "properties": {
        "match": {
          "description": "The fixture the readings are for.",
          "properties": {
            "id": {
              "type": "integer"
            },
            "date": {
              "type": "string"
            },
            "status": {
              "type": "string"
            },
            "home_team": {
              "description": "A team reference.",
              "properties": {
                "id": {
                  "description": "Team id — the argument every team tool takes.",
                  "type": "integer"
                },
                "slug": {
                  "description": "URL slug; accepted anywhere an id is.",
                  "type": "string"
                },
                "name": {
                  "description": "Short display name.",
                  "type": "string"
                }
              },
              "type": "object",
              "required": [
                "id",
                "slug",
                "name"
              ]
            },
            "away_team": {
              "description": "A team reference.",
              "properties": {
                "id": {
                  "description": "Team id — the argument every team tool takes.",
                  "type": "integer"
                },
                "slug": {
                  "description": "URL slug; accepted anywhere an id is.",
                  "type": "string"
                },
                "name": {
                  "description": "Short display name.",
                  "type": "string"
                }
              },
              "type": "object",
              "required": [
                "id",
                "slug",
                "name"
              ]
            },
            "competition": {
              "type": [
                "object",
                "null"
              ]
            },
            "score": {
              "description": "Ninety-minute score; both values null before play or when the exact score is unknown, including played extra-time draws.",
              "properties": {
                "home": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "away": {
                  "type": [
                    "integer",
                    "null"
                  ]
                }
              },
              "type": "object"
            }
          },
          "type": "object",
          "required": [
            "id",
            "date"
          ]
        },
        "goals_model": {
          "description": "Dixon-Coles goals model; null when it has no fit for these teams.",
          "properties": {
            "p_draw": {
              "description": "Draw probability from the goals model, 0 to 1.",
              "type": [
                "number",
                "null"
              ]
            },
            "p_home": {
              "description": "Home win probability, 0 to 1.",
              "type": [
                "number",
                "null"
              ]
            },
            "p_away": {
              "description": "Away win probability, 0 to 1.",
              "type": [
                "number",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "elo": {
          "description": "Elo ratings and the historical draw rate at this rating gap.",
          "properties": {
            "home_rating": {
              "type": [
                "number",
                "null"
              ]
            },
            "away_rating": {
              "type": [
                "number",
                "null"
              ]
            },
            "gap": {
              "type": [
                "number",
                "null"
              ]
            },
            "historical_draw_rate": {
              "description": "Draw rate of past matches with a similar rating gap, 0 to 1.",
              "type": [
                "number",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "blend": {
          "description": "Goals model and Elo gap combined.",
          "properties": {
            "p_draw": {
              "description": "The blended draw probability, 0 to 1.",
              "type": [
                "number",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "logistic": {
          "description": "The calibrated logistic draw model.",
          "properties": {
            "p_draw": {
              "description": "Calibrated draw probability from the logistic model, 0 to 1.",
              "type": [
                "number",
                "null"
              ]
            },
            "confidence_95": {
              "description": "low/high bounds of the 95% interval.",
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "market": {
          "description": "Bookmaker-implied draw probability, when odds are held.",
          "type": [
            "object",
            "null"
          ]
        },
        "fit": {
          "description": "When and on what the logistic model was trained.",
          "type": [
            "object",
            "null"
          ]
        },
        "caveats": {
          "description": "What these numbers do not claim.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object",
      "required": [
        "match"
      ]
    }
  },
  "required": [
    "data"
  ]
}
🟢top_streaks(min, team_id, type, limit, page)

[PAID] The all-time leaderboard of no-draw runs — the longest any team has gone without drawing. Answers "what is the longest run of matches without a draw on record?" and "who else has done it?". Each entry is one run: its length, the dates it started and ended, and the team. A team can appear more than once, since a great side may have several long runs. Filter to one team, to national teams or clubs, or to runs above a minimum length. Paginated, 25 per page by default; `page` walks the leaderboard and each page costs its own point. Costs 1 point per call (1 point = 1 cent); paginated calls cost 1 point per page.

輸入結構描述

{
  "type": "object",
  "properties": {
    "min": {
      "description": "Minimum run length to list. Default 5.",
      "default": 5,
      "minimum": 1,
      "type": "integer"
    },
    "team_id": {
      "description": "Restrict to one team. Numeric id from list_teams.",
      "type": "integer"
    },
    "type": {
      "description": "Restrict to national teams or to clubs.",
      "enum": [
        "national_team",
        "club"
      ],
      "type": "string"
    },
    "limit": {
      "description": "Page size. Default 25, max 500.",
      "default": 25,
      "minimum": 1,
      "maximum": 500,
      "type": "integer"
    },
    "page": {
      "description": "Page number, from 1. Each page is a separate call and costs its own point.",
      "default": 1,
      "minimum": 1,
      "type": "integer"
    }
  }
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "description": "The longest no-draw runs, longest first.",
      "items": {
        "description": "A run of matches without a draw, and whose it was.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "length": {
            "description": "Matches in the run without a draw.",
            "type": "integer"
          },
          "start": {
            "type": [
              "string",
              "null"
            ]
          },
          "end": {
            "type": [
              "string",
              "null"
            ]
          },
          "start_match_id": {
            "type": [
              "integer",
              "null"
            ]
          },
          "end_match_id": {
            "type": [
              "integer",
              "null"
            ]
          },
          "team": {
            "description": "A team reference.",
            "properties": {
              "id": {
                "description": "Team id — the argument every team tool takes.",
                "type": "integer"
              },
              "slug": {
                "description": "URL slug; accepted anywhere an id is.",
                "type": "string"
              },
              "name": {
                "description": "Short display name.",
                "type": "string"
              }
            },
            "type": "object",
            "required": [
              "id",
              "slug",
              "name"
            ]
          }
        },
        "type": "object",
        "required": [
          "id",
          "length"
        ]
      },
      "type": "array"
    },
    "links": {
      "description": "first/last/prev/next page URLs on the REST API.",
      "type": "object"
    },
    "meta": {
      "description": "Pagination: which page this is and how many rows exist.",
      "properties": {
        "current_page": {
          "type": "integer"
        },
        "last_page": {
          "type": "integer"
        },
        "per_page": {
          "type": "integer"
        },
        "total": {
          "description": "Rows across every page.",
          "type": "integer"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "data"
  ]
}
🟢get_team_streaks(team)

[FREE] Every no-draw run one team has ever had, plus the one it is on now. A no-draw run is a sequence of matches that ended in a win or a loss. This returns the run currently in progress with each match in it — date, competition, opponent, score — so you can say exactly when the team last drew and what has happened since, together with every recorded run in the team's history, longest first, each with its start and end dates. Runs span all competitions; per-competition runs are not split out. Free: no key needed, and it costs a key holder nothing either.

輸入結構描述

{
  "type": "object",
  "properties": {
    "team": {
      "description": "Numeric team id or slug — 431 or \"arsenal\". Find either with list_teams.",
      "type": "string"
    }
  },
  "required": [
    "team"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "properties": {
        "team": {
          "description": "A team.",
          "properties": {
            "id": {
              "description": "Team id — the argument every team tool takes.",
              "type": "integer"
            },
            "slug": {
              "description": "URL slug; accepted anywhere an id is.",
              "type": "string"
            },
            "name": {
              "description": "Short display name.",
              "type": "string"
            },
            "full_name": {
              "description": "Official or long name, when known.",
              "type": [
                "string",
                "null"
              ]
            },
            "type": {
              "description": "\"national_team\" or \"club\".",
              "type": [
                "string",
                "null"
              ]
            },
            "country": {
              "description": "The country a team or competition belongs to.",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fifa_code": {
                  "description": "Three-letter FIFA code.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ],
              "required": [
                "id"
              ]
            },
            "exists_now": {
              "description": "False for a team that no longer exists.",
              "type": "boolean"
            }
          },
          "type": "object",
          "required": [
            "id",
            "slug",
            "name"
          ]
        },
        "active_streak": {
          "description": "The run the team is on now; null if its last match was a draw.",
          "properties": {
            "length": {
              "description": "Matches since the team last drew.",
              "type": "integer"
            },
            "start": {
              "type": [
                "string",
                "null"
              ]
            },
            "end": {
              "type": [
                "string",
                "null"
              ]
            },
            "matches": {
              "items": {
                "description": "A match.",
                "properties": {
                  "id": {
                    "description": "Match id, as get_draw_model takes it.",
                    "type": "integer"
                  },
                  "date": {
                    "description": "Match date, YYYY-MM-DD.",
                    "type": "string"
                  },
                  "status": {
                    "description": "PLAYED, SCHEDULED, POSTPONED and so on.",
                    "type": "string"
                  },
                  "competition": {
                    "description": "The competition and edition the match belongs to.",
                    "properties": {
                      "id": {
                        "type": "integer"
                      },
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "edition_id": {
                        "description": "The season or edition id, from list_tournaments.",
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "edition": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "year": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "home_team": {
                    "description": "A team reference.",
                    "properties": {
                      "id": {
                        "description": "Team id — the argument every team tool takes.",
                        "type": "integer"
                      },
                      "slug": {
                        "description": "URL slug; accepted anywhere an id is.",
                        "type": "string"
                      },
                      "name": {
                        "description": "Short display name.",
                        "type": "string"
                      }
                    },
                    "type": "object",
                    "required": [
                      "id",
                      "slug",
                      "name"
                    ]
                  },
                  "away_team": {
                    "description": "A team reference.",
                    "properties": {
                      "id": {
                        "description": "Team id — the argument every team tool takes.",
                        "type": "integer"
                      },
                      "slug": {
                        "description": "URL slug; accepted anywhere an id is.",
                        "type": "string"
                      },
                      "name": {
                        "description": "Short display name.",
                        "type": "string"
                      }
                    },
                    "type": "object",
                    "required": [
                      "id",
                      "slug",
                      "name"
                    ]
                  },
                  "score": {
                    "description": "Ninety-minute score; both values null before play or when the exact score is unknown, including played extra-time draws.",
                    "properties": {
                      "home": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "away": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "ninety_score_unknown": {
                    "description": "Played extra-time match known to be level at ninety minutes, with the exact ninety-minute score unavailable.",
                    "type": "boolean"
                  },
                  "score_120": {
                    "description": "Score after extra time; both values null when unavailable or no extra time was played.",
                    "properties": {
                      "home": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "away": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "result": {
                    "description": "H home win, A away win, D draw; empty until played.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "is_draw": {
                    "description": "Whether the match ended level.",
                    "type": "boolean"
                  }
                },
                "type": "object",
                "required": [
                  "id",
                  "date"
                ]
              },
              "type": "array"
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "runs": {
          "description": "Every no-draw run the team has had.",
          "items": {
            "description": "A run of matches without a draw.",
            "properties": {
              "id": {
                "type": "integer"
              },
              "length": {
                "description": "Matches in the run without a draw.",
                "type": "integer"
              },
              "start": {
                "description": "Date of the first match in the run.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "end": {
                "description": "Date of the last match in the run.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "start_match_id": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "end_match_id": {
                "type": [
                  "integer",
                  "null"
                ]
              }
            },
            "type": "object",
            "required": [
              "id",
              "length"
            ]
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "data"
  ]
}
🟢list_teams(q, type, letter, limit)

[FREE] Find a team and its id — the lookup every other team tool depends on. Search by name prefix with `q` ("arse" finds Arsenal), or browse by first letter, or list one kind of team. Each row carries the numeric id and the slug that get_team, get_team_streaks, get_team_prediction, head_to_head and search_results take. The database holds thousands of teams, so an unfiltered call returns the first 25 with the full total beside them. Always pass `q` when you know the name. Free: no key needed, and it costs a key holder nothing either.

輸入結構描述

{
  "type": "object",
  "properties": {
    "q": {
      "description": "Name prefix, matched against both the short and the full name. The fastest way to find one team.",
      "type": "string"
    },
    "type": {
      "description": "Restrict to national teams or to clubs.",
      "enum": [
        "national_team",
        "club"
      ],
      "type": "string"
    },
    "letter": {
      "description": "First letter A-Z to browse by, or \"#\" for names starting with a non-letter.",
      "maxLength": 1,
      "type": "string"
    },
    "limit": {
      "description": "How many teams to return. Default 25; the total number of matches is always reported.",
      "default": 25,
      "minimum": 1,
      "maximum": 500,
      "type": "integer"
    }
  }
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "description": "Teams matching the search.",
      "items": {
        "description": "A team.",
        "properties": {
          "id": {
            "description": "Team id — the argument every team tool takes.",
            "type": "integer"
          },
          "slug": {
            "description": "URL slug; accepted anywhere an id is.",
            "type": "string"
          },
          "name": {
            "description": "Short display name.",
            "type": "string"
          },
          "full_name": {
            "description": "Official or long name, when known.",
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "description": "\"national_team\" or \"club\".",
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "description": "The country a team or competition belongs to.",
            "properties": {
              "id": {
                "type": "integer"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "fifa_code": {
                "description": "Three-letter FIFA code.",
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": [
              "object",
              "null"
            ],
            "required": [
              "id"
            ]
          },
          "exists_now": {
            "description": "False for a team that no longer exists.",
            "type": "boolean"
          }
        },
        "type": "object",
        "required": [
          "id",
          "slug",
          "name"
        ]
      },
      "type": "array"
    },
    "total": {
      "description": "How many rows matched before the limit.",
      "type": "integer"
    },
    "returned": {
      "description": "How many rows are in data.",
      "type": "integer"
    },
    "hint": {
      "description": "Present only when rows were left out: how to narrow the call.",
      "type": "string"
    }
  },
  "required": [
    "data",
    "total",
    "returned"
  ]
}
🟢get_team(team)

[FREE] One team's profile and its all-time draw statistics. Returns the team's name, country and type alongside the numbers this database is built on: matches played, draws, draw percentage, the no-draw streak currently running, the longest one ever, the average of its longest runs, its draw debt and its rank in the draw-likelihood field. Use it to answer "how often does this team draw?" or "how long since they last drew?". Takes a numeric id or a slug, whichever you already hold; both come from list_teams. Free: no key needed, and it costs a key holder nothing either.

輸入結構描述

{
  "type": "object",
  "properties": {
    "team": {
      "description": "Numeric team id or slug — 431 or \"arsenal\". Find either with list_teams.",
      "type": "string"
    }
  },
  "required": [
    "team"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "properties": {
        "id": {
          "type": "integer"
        },
        "slug": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "full_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "description": "\"national_team\" or \"club\".",
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "description": "The country a team or competition belongs to.",
          "properties": {
            "id": {
              "type": "integer"
            },
            "name": {
              "type": [
                "string",
                "null"
              ]
            },
            "fifa_code": {
              "description": "Three-letter FIFA code.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ],
          "required": [
            "id"
          ]
        },
        "exists_now": {
          "type": "boolean"
        },
        "stats": {
          "description": "All-time draw statistics.",
          "properties": {
            "played": {
              "type": "integer"
            },
            "draws": {
              "type": "integer"
            },
            "draw_pct": {
              "description": "Share of matches drawn, in percent.",
              "type": [
                "number",
                "null"
              ]
            },
            "current_no_draw_streak": {
              "description": "Matches since the last draw.",
              "type": [
                "integer",
                "null"
              ]
            },
            "max_no_draw_streak": {
              "description": "Longest run without a draw, ever.",
              "type": [
                "integer",
                "null"
              ]
            },
            "draw_debt": {
              "type": [
                "number",
                "null"
              ]
            },
            "draw_score": {
              "type": [
                "number",
                "null"
              ]
            },
            "draw_rank": {
              "type": [
                "integer",
                "null"
              ]
            },
            "last_match_date": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        }
      },
      "type": "object",
      "required": [
        "id",
        "slug",
        "name"
      ]
    }
  },
  "required": [
    "data"
  ]
}
🟢list_tournaments(tournament, limit)

[FREE] Every competition covered — leagues, domestic cups, continental cups, World Cups — with how many matches and how many draws each one holds. Two uses. Without `tournament` it answers "what is in this database, and how draw-heavy is each competition?", returning each competition's id, slug, country, match count, draw count and draw percentage. With `tournament` (an id or slug) it returns that one competition in full: the years it covers, every edition newest first with its champion where one was decided, and the all-time winners ranking with title counts and years. The competition ids here are what search_results and head_to_head filter by. Free: no key needed, and it costs a key holder nothing either.

輸入結構描述

{
  "type": "object",
  "properties": {
    "tournament": {
      "description": "One competition, by numeric id or slug (53 or \"norway-cup\"). Returns its editions, champions and all-time winners instead of the list.",
      "type": "string"
    },
    "limit": {
      "description": "How many competitions to list. Default 25; the total is always reported.",
      "default": 25,
      "minimum": 1,
      "maximum": 500,
      "type": "integer"
    }
  }
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "description": "Competitions, or one competition's editions.",
      "items": {
        "description": "A competition, or with `tournament` given, one of its editions.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "description": "The country a team or competition belongs to.",
            "properties": {
              "id": {
                "type": "integer"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "fifa_code": {
                "description": "Three-letter FIFA code.",
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": [
              "object",
              "null"
            ],
            "required": [
              "id"
            ]
          },
          "matches_count": {
            "type": [
              "integer",
              "null"
            ]
          },
          "draws_count": {
            "type": [
              "integer",
              "null"
            ]
          },
          "draw_percent": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": "object",
        "required": [
          "id",
          "name"
        ]
      },
      "type": "array"
    },
    "total": {
      "description": "How many rows matched before the limit.",
      "type": "integer"
    },
    "returned": {
      "description": "How many rows are in data.",
      "type": "integer"
    },
    "hint": {
      "description": "Present only when rows were left out: how to narrow the call.",
      "type": "string"
    }
  },
  "required": [
    "data",
    "total",
    "returned"
  ]
}
🟢list_countries(q, limit)

[FREE] Every country in the database, with its FIFA code and id. Use it to turn a country name into the id and FIFA code the rest of the data is keyed by, or to check which countries are covered at all. Search with `q`, which matches a name prefix or an exact FIFA code ("ENG"). Countries that no longer exist are included and flagged, because the match archive still holds their games. Free: no key needed, and it costs a key holder nothing either.

輸入結構描述

{
  "type": "object",
  "properties": {
    "q": {
      "description": "Country name prefix, or an exact FIFA code such as ENG or BRA.",
      "type": "string"
    },
    "limit": {
      "description": "How many countries to return. Default 25; the total is always reported.",
      "default": 25,
      "minimum": 1,
      "maximum": 500,
      "type": "integer"
    }
  }
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "description": "Countries matching the search.",
      "items": {
        "description": "A country.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "fifa_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "iso2": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_international": {
            "type": "boolean"
          },
          "exists_now": {
            "type": "boolean"
          }
        },
        "type": "object",
        "required": [
          "id",
          "name"
        ]
      },
      "type": "array"
    },
    "total": {
      "description": "How many rows matched before the limit.",
      "type": "integer"
    },
    "returned": {
      "description": "How many rows are in data.",
      "type": "integer"
    },
    "hint": {
      "description": "Present only when rows were left out: how to narrow the call.",
      "type": "string"
    }
  },
  "required": [
    "data",
    "total",
    "returned"
  ]
}
🟢search_results(team_id, competition_id, competition_item_id, outcome, type, ...)

[FREE for the last 7 days · PAID for the archive] Search the match archive: finished matches, newest first, with scores. This is the raw history behind every other tool — decades of results across national team football, domestic leagues and cups. Filter by team, competition, single season, outcome (home win, away win or draw) and date range, in any combination: "Arsenal's draws since 2020", "every match in the 2025/26 Premier League", "all draws in the World Cup". Each match returns its date, competition and edition, both teams, the score and whether it was a draw. Results are paginated, 50 per page by default; `page` walks through them and `meta.total` tells you how many matches matched before you start. Free, no key needed, for recent results: the first page of 50, and any `from` date inside the last 7 days. Reaching further back — an older `from`, a bigger `limit`, or page 2 onward — is the archive and costs 1 point per call (1 point = 1 cent), one point per page.

輸入結構描述

{
  "type": "object",
  "properties": {
    "team_id": {
      "description": "Matches involving this team, home or away. Numeric id from list_teams.",
      "type": "integer"
    },
    "competition_id": {
      "description": "Restrict to one competition. Id from list_tournaments.",
      "type": "integer"
    },
    "competition_item_id": {
      "description": "Restrict to a single edition or season. Edition ids come from list_tournaments with a `tournament` argument.",
      "type": "integer"
    },
    "outcome": {
      "description": "H for a home win, A for an away win, D for a draw.",
      "enum": [
        "H",
        "A",
        "D"
      ],
      "type": "string"
    },
    "type": {
      "description": "Restrict to national-team or club football.",
      "enum": [
        "national_team",
        "club"
      ],
      "type": "string"
    },
    "from": {
      "description": "Earliest match date, inclusive, as YYYY-MM-DD. Inside the last 7 days the call is free and needs no key; earlier than that it costs 1 point.",
      "type": "string"
    },
    "to": {
      "description": "Latest match date, inclusive, as YYYY-MM-DD.",
      "type": "string"
    },
    "limit": {
      "description": "Page size: 50, 100, 250 or 500. Default 50, which is also the largest free page. Anything else is treated as 100.",
      "default": 50,
      "enum": [
        50,
        100,
        250,
        500
      ],
      "type": "integer"
    },
    "page": {
      "description": "Page number, from 1. Page 1 can be free; every page after it is a separate call and costs its own point.",
      "default": 1,
      "minimum": 1,
      "type": "integer"
    }
  }
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "description": "Matches, newest first.",
      "items": {
        "description": "A match.",
        "properties": {
          "id": {
            "description": "Match id, as get_draw_model takes it.",
            "type": "integer"
          },
          "date": {
            "description": "Match date, YYYY-MM-DD.",
            "type": "string"
          },
          "status": {
            "description": "PLAYED, SCHEDULED, POSTPONED and so on.",
            "type": "string"
          },
          "competition": {
            "description": "The competition and edition the match belongs to.",
            "properties": {
              "id": {
                "type": "integer"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "edition_id": {
                "description": "The season or edition id, from list_tournaments.",
                "type": [
                  "integer",
                  "null"
                ]
              },
              "edition": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "year": {
                "type": [
                  "integer",
                  "null"
                ]
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "home_team": {
            "description": "A team reference.",
            "properties": {
              "id": {
                "description": "Team id — the argument every team tool takes.",
                "type": "integer"
              },
              "slug": {
                "description": "URL slug; accepted anywhere an id is.",
                "type": "string"
              },
              "name": {
                "description": "Short display name.",
                "type": "string"
              }
            },
            "type": "object",
            "required": [
              "id",
              "slug",
              "name"
            ]
          },
          "away_team": {
            "description": "A team reference.",
            "properties": {
              "id": {
                "description": "Team id — the argument every team tool takes.",
                "type": "integer"
              },
              "slug": {
                "description": "URL slug; accepted anywhere an id is.",
                "type": "string"
              },
              "name": {
                "description": "Short display name.",
                "type": "string"
              }
            },
            "type": "object",
            "required": [
              "id",
              "slug",
              "name"
            ]
          },
          "score": {
            "description": "Ninety-minute score; both values null before play or when the exact score is unknown, including played extra-time draws.",
            "properties": {
              "home": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "away": {
                "type": [
                  "integer",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "ninety_score_unknown": {
            "description": "Played extra-time match known to be level at ninety minutes, with the exact ninety-minute score unavailable.",
            "type": "boolean"
          },
          "score_120": {
            "description": "Score after extra time; both values null when unavailable or no extra time was played.",
            "properties": {
              "home": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "away": {
                "type": [
                  "integer",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "result": {
            "description": "H home win, A away win, D draw; empty until played.",
            "type": [
              "string",
              "null"
            ]
          },
          "is_draw": {
            "description": "Whether the match ended level.",
            "type": "boolean"
          }
        },
        "type": "object",
        "required": [
          "id",
          "date"
        ]
      },
      "type": "array"
    },
    "links": {
      "description": "first/last/prev/next page URLs on the REST API.",
      "type": "object"
    },
    "meta": {
      "description": "Pagination: which page this is and how many rows exist.",
      "properties": {
        "current_page": {
          "type": "integer"
        },
        "last_page": {
          "type": "integer"
        },
        "per_page": {
          "type": "integer"
        },
        "total": {
          "description": "Rows across every page.",
          "type": "integer"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "data"
  ]
}
🟢head_to_head(a, b, type, item)

[PAID] The complete record between two teams, and every match they have ever played. Answers "who wins more between these two, and how often do they draw?" — matches played, wins each way, draws, goals each way and the draw percentage, all from team A's perspective, followed by every meeting with its date, competition and score. Optionally narrow to one competition type or a single edition to compare only their league games, or only one season. Both teams are given as numeric ids, which list_teams returns. Costs 1 point per call (1 point = 1 cent); paginated calls cost 1 point per page.

輸入結構描述

{
  "type": "object",
  "properties": {
    "a": {
      "description": "Team A, as a numeric id from list_teams. The record is reported from this team's point of view.",
      "type": "integer"
    },
    "b": {
      "description": "Team B, as a numeric id from list_teams. Must differ from a.",
      "type": "integer"
    },
    "type": {
      "description": "Restrict to one competition type, such as league or cup.",
      "type": "string"
    },
    "item": {
      "description": "Restrict to a single edition or season id, from list_tournaments with a `tournament` argument.",
      "type": "integer"
    }
  },
  "required": [
    "a",
    "b"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "properties": {
        "team_a": {
          "description": "A team.",
          "properties": {
            "id": {
              "description": "Team id — the argument every team tool takes.",
              "type": "integer"
            },
            "slug": {
              "description": "URL slug; accepted anywhere an id is.",
              "type": "string"
            },
            "name": {
              "description": "Short display name.",
              "type": "string"
            },
            "full_name": {
              "description": "Official or long name, when known.",
              "type": [
                "string",
                "null"
              ]
            },
            "type": {
              "description": "\"national_team\" or \"club\".",
              "type": [
                "string",
                "null"
              ]
            },
            "country": {
              "description": "The country a team or competition belongs to.",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fifa_code": {
                  "description": "Three-letter FIFA code.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ],
              "required": [
                "id"
              ]
            },
            "exists_now": {
              "description": "False for a team that no longer exists.",
              "type": "boolean"
            }
          },
          "type": "object",
          "required": [
            "id",
            "slug",
            "name"
          ]
        },
        "team_b": {
          "description": "A team.",
          "properties": {
            "id": {
              "description": "Team id — the argument every team tool takes.",
              "type": "integer"
            },
            "slug": {
              "description": "URL slug; accepted anywhere an id is.",
              "type": "string"
            },
            "name": {
              "description": "Short display name.",
              "type": "string"
            },
            "full_name": {
              "description": "Official or long name, when known.",
              "type": [
                "string",
                "null"
              ]
            },
            "type": {
              "description": "\"national_team\" or \"club\".",
              "type": [
                "string",
                "null"
              ]
            },
            "country": {
              "description": "The country a team or competition belongs to.",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fifa_code": {
                  "description": "Three-letter FIFA code.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ],
              "required": [
                "id"
              ]
            },
            "exists_now": {
              "description": "False for a team that no longer exists.",
              "type": "boolean"
            }
          },
          "type": "object",
          "required": [
            "id",
            "slug",
            "name"
          ]
        },
        "record": {
          "description": "The overall record between the two.",
          "properties": {
            "played": {
              "type": "integer"
            },
            "team_a_wins": {
              "type": "integer"
            },
            "draws": {
              "type": "integer"
            },
            "team_b_wins": {
              "type": "integer"
            },
            "goals_team_a": {
              "type": "integer"
            },
            "goals_team_b": {
              "type": "integer"
            },
            "draw_percent": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "type": "object"
        },
        "meetings": {
          "description": "Every match between them.",
          "items": {
            "description": "A match.",
            "properties": {
              "id": {
                "description": "Match id, as get_draw_model takes it.",
                "type": "integer"
              },
              "date": {
                "description": "Match date, YYYY-MM-DD.",
                "type": "string"
              },
              "status": {
                "description": "PLAYED, SCHEDULED, POSTPONED and so on.",
                "type": "string"
              },
              "competition": {
                "description": "The competition and edition the match belongs to.",
                "properties": {
                  "id": {
                    "type": "integer"
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "edition_id": {
                    "description": "The season or edition id, from list_tournaments.",
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "edition": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "year": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "home_team": {
                "description": "A team reference.",
                "properties": {
                  "id": {
                    "description": "Team id — the argument every team tool takes.",
                    "type": "integer"
                  },
                  "slug": {
                    "description": "URL slug; accepted anywhere an id is.",
                    "type": "string"
                  },
                  "name": {
                    "description": "Short display name.",
                    "type": "string"
                  }
                },
                "type": "object",
                "required": [
                  "id",
                  "slug",
                  "name"
                ]
              },
              "away_team": {
                "description": "A team reference.",
                "properties": {
                  "id": {
                    "description": "Team id — the argument every team tool takes.",
                    "type": "integer"
                  },
                  "slug": {
                    "description": "URL slug; accepted anywhere an id is.",
                    "type": "string"
                  },
                  "name": {
                    "description": "Short display name.",
                    "type": "string"
                  }
                },
                "type": "object",
                "required": [
                  "id",
                  "slug",
                  "name"
                ]
              },
              "score": {
                "description": "Ninety-minute score; both values null before play or when the exact score is unknown, including played extra-time draws.",
                "properties": {
                  "home": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "away": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "ninety_score_unknown": {
                "description": "Played extra-time match known to be level at ninety minutes, with the exact ninety-minute score unavailable.",
                "type": "boolean"
              },
              "score_120": {
                "description": "Score after extra time; both values null when unavailable or no extra time was played.",
                "properties": {
                  "home": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "away": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "result": {
                "description": "H home win, A away win, D draw; empty until played.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "is_draw": {
                "description": "Whether the match ended level.",
                "type": "boolean"
              }
            },
            "type": "object",
            "required": [
              "id",
              "date"
            ]
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "data"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本11 個工具
已驗證未記錄版本11 個工具
需要驗證未記錄版本—