betrend sports data

Live scores, fixtures, results, standings, teams and head-to-head for football and more sports.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
99%
Qualität der Benennung
83%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~6,395Tokens (Tool-Definitionen)
~10.2 KBTypische Antwortgröße
Erhebliche Auswirkung auf die Aufmerksamkeit (5.00% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "sports": {
      "url": "https://betrend.im/mcp"
    }
  }
}

Remote-Endpunkte

https://betrend.im/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (7)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢search(query, types, limit)

Find competitions, teams and players on betrend by name (any language, at least 2 characters). Returns each match with its betrend.im URL; pass a competition or team URL to the other tools. Covers sports only.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "query": {
      "description": "Name to look for, e.g. \"Arsenal\", \"Premier League\", \"Virat Kohli\".",
      "minLength": 2,
      "maxLength": 100,
      "type": "string"
    },
    "types": {
      "description": "Limit to these kinds. Default: all three.",
      "items": {
        "enum": [
          "competition",
          "team",
          "player"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "limit": {
      "description": "Results per kind, default 5.",
      "default": 5,
      "minimum": 1,
      "maximum": 20,
      "type": "integer"
    }
  },
  "required": [
    "query"
  ]
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "results": {
      "items": {
        "properties": {
          "type": {
            "enum": [
              "competition",
              "team",
              "player"
            ],
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "detail": {
            "description": "Sport and country, or club and country for players.",
            "type": "string"
          },
          "url": {
            "description": "betrend.im page; cite it, and pass competition or team URLs to the other tools.",
            "format": "uri",
            "type": "string"
          }
        },
        "type": "object",
        "required": [
          "type",
          "name",
          "detail",
          "url"
        ]
      },
      "type": "array"
    },
    "as_of": {
      "description": "When betrend produced this answer, UTC ISO 8601.",
      "format": "date-time",
      "type": "string"
    },
    "truncated": {
      "description": "Present and true when the longest list was cut to keep the answer under 20000 bytes.",
      "type": "boolean"
    },
    "has_more": {
      "description": "Present and true when more items exist than returned; narrow the filters.",
      "type": "boolean"
    },
    "notice": {
      "description": "How to narrow the request when truncated.",
      "type": "string"
    }
  },
  "required": [
    "results",
    "as_of"
  ]
}
🟢live_scores(sport, competition, limit)

Matches being played right now on betrend, with the current score and minute or period. Optional filters: sport (e.g. football, cricket, basketball, ice-hockey, tennis, esports) and competition (betrend URL from search). Major competitions come first. Each match has its betrend.im URL to cite.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "sport": {
      "description": "Sport code, e.g. football, cricket, basketball, ice-hockey, tennis, esports.",
      "type": "string"
    },
    "competition": {
      "description": "Competition URL from search, or its slug together with sport.",
      "type": "string"
    },
    "limit": {
      "description": "Maximum matches to return, default 25.",
      "default": 25,
      "minimum": 1,
      "maximum": 50,
      "type": "integer"
    }
  }
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "live_count": {
      "description": "All live matches that fit the filters, before the limit.",
      "type": "integer"
    },
    "matches": {
      "items": {
        "properties": {
          "url": {
            "description": "betrend.im match page; cite it.",
            "format": "uri",
            "type": "string"
          },
          "sport": {
            "description": "Sport code, e.g. football.",
            "type": "string"
          },
          "competition": {
            "properties": {
              "name": {
                "type": "string"
              },
              "sport": {
                "type": "string"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "description": "betrend.im page of the competition; cite it.",
                "format": "uri",
                "type": "string"
              }
            },
            "type": "object",
            "required": [
              "name",
              "sport",
              "country",
              "url"
            ]
          },
          "home": {
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "description": "betrend.im page of the team; cite it.",
                "format": "uri",
                "type": "string"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object",
            "required": [
              "name",
              "url",
              "country"
            ]
          },
          "away": {
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "description": "betrend.im page of the team; cite it.",
                "format": "uri",
                "type": "string"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object",
            "required": [
              "name",
              "url",
              "country"
            ]
          },
          "starts_at": {
            "description": "Kick-off in UTC, ISO 8601.",
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "enum": [
              "scheduled",
              "live",
              "interrupted",
              "finished",
              "postponed",
              "cancelled",
              "abandoned"
            ],
            "type": "string"
          },
          "status_label": {
            "description": "Short status as shown on betrend: live minute or period, FT, AET, PP and similar.",
            "type": "string"
          },
          "score": {
            "properties": {
              "home": {
                "type": "integer"
              },
              "away": {
                "type": "integer"
              }
            },
            "type": [
              "object",
              "null"
            ],
            "required": [
              "home",
              "away"
            ]
          },
          "score_text": {
            "description": "Score as written on betrend; cricket shows runs, wickets and overs.",
            "type": [
              "string",
              "null"
            ]
          },
          "winner": {
            "description": "Set only for finished matches.",
            "enum": [
              "home",
              "away",
              "draw",
              null
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object",
        "required": [
          "url",
          "sport",
          "competition",
          "home",
          "away",
          "starts_at",
          "status",
          "status_label",
          "score",
          "score_text",
          "winner"
        ]
      },
      "type": "array"
    },
    "as_of": {
      "description": "When betrend produced this answer, UTC ISO 8601.",
      "format": "date-time",
      "type": "string"
    },
    "truncated": {
      "description": "Present and true when the longest list was cut to keep the answer under 20000 bytes.",
      "type": "boolean"
    },
    "has_more": {
      "description": "Present and true when more items exist than returned; narrow the filters.",
      "type": "boolean"
    },
    "notice": {
      "description": "How to narrow the request when truncated.",
      "type": "string"
    }
  },
  "required": [
    "live_count",
    "matches",
    "as_of"
  ]
}
🟢matches_by_date(date, sport, competition, team, limit)

Fixtures and results on betrend for one UTC calendar day (Y-m-d), from 3 years ago to 14 days ahead. Optional filters: sport, competition and team (betrend URLs from search). Major competitions come first. Each match has its betrend.im URL to cite.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "date": {
      "description": "UTC day, Y-m-d, e.g. 2026-10-11.",
      "format": "date",
      "type": "string"
    },
    "sport": {
      "description": "Sport code, e.g. football, cricket, basketball, ice-hockey, tennis, esports.",
      "type": "string"
    },
    "competition": {
      "description": "Competition URL from search, or its slug together with sport.",
      "type": "string"
    },
    "team": {
      "description": "Team URL from search, or its slug together with sport.",
      "type": "string"
    },
    "limit": {
      "description": "Maximum matches to return, default 50.",
      "default": 50,
      "minimum": 1,
      "maximum": 100,
      "type": "integer"
    }
  },
  "required": [
    "date"
  ]
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "date": {
      "format": "date",
      "type": "string"
    },
    "match_count": {
      "description": "All matches that fit the filters on this day, before the limit.",
      "type": "integer"
    },
    "matches": {
      "items": {
        "properties": {
          "url": {
            "description": "betrend.im match page; cite it.",
            "format": "uri",
            "type": "string"
          },
          "sport": {
            "description": "Sport code, e.g. football.",
            "type": "string"
          },
          "competition": {
            "properties": {
              "name": {
                "type": "string"
              },
              "sport": {
                "type": "string"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "description": "betrend.im page of the competition; cite it.",
                "format": "uri",
                "type": "string"
              }
            },
            "type": "object",
            "required": [
              "name",
              "sport",
              "country",
              "url"
            ]
          },
          "home": {
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "description": "betrend.im page of the team; cite it.",
                "format": "uri",
                "type": "string"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object",
            "required": [
              "name",
              "url",
              "country"
            ]
          },
          "away": {
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "description": "betrend.im page of the team; cite it.",
                "format": "uri",
                "type": "string"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object",
            "required": [
              "name",
              "url",
              "country"
            ]
          },
          "starts_at": {
            "description": "Kick-off in UTC, ISO 8601.",
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "enum": [
              "scheduled",
              "live",
              "interrupted",
              "finished",
              "postponed",
              "cancelled",
              "abandoned"
            ],
            "type": "string"
          },
          "status_label": {
            "description": "Short status as shown on betrend: live minute or period, FT, AET, PP and similar.",
            "type": "string"
          },
          "score": {
            "properties": {
              "home": {
                "type": "integer"
              },
              "away": {
                "type": "integer"
              }
            },
            "type": [
              "object",
              "null"
            ],
            "required": [
              "home",
              "away"
            ]
          },
          "score_text": {
            "description": "Score as written on betrend; cricket shows runs, wickets and overs.",
            "type": [
              "string",
              "null"
            ]
          },
          "winner": {
            "description": "Set only for finished matches.",
            "enum": [
              "home",
              "away",
              "draw",
              null
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object",
        "required": [
          "url",
          "sport",
          "competition",
          "home",
          "away",
          "starts_at",
          "status",
          "status_label",
          "score",
          "score_text",
          "winner"
        ]
      },
      "type": "array"
    },
    "as_of": {
      "description": "When betrend produced this answer, UTC ISO 8601.",
      "format": "date-time",
      "type": "string"
    },
    "truncated": {
      "description": "Present and true when the longest list was cut to keep the answer under 20000 bytes.",
      "type": "boolean"
    },
    "has_more": {
      "description": "Present and true when more items exist than returned; narrow the filters.",
      "type": "boolean"
    },
    "notice": {
      "description": "How to narrow the request when truncated.",
      "type": "string"
    }
  },
  "required": [
    "date",
    "match_count",
    "matches",
    "as_of"
  ]
}
🟢match_details(match)

One match on betrend by its URL or slug: teams, status, score, scores by period (halves, quarters, sets, innings, maps), key events such as goals, cards and substitutions, venue, competition, round and kick-off time in UTC. Includes the betrend.im match URL to cite.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "match": {
      "description": "Match URL (https://betrend.im/en/matches/<slug>) or the slug from another tool.",
      "type": "string"
    }
  },
  "required": [
    "match"
  ]
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "match": {
      "properties": {
        "url": {
          "description": "betrend.im match page; cite it.",
          "format": "uri",
          "type": "string"
        },
        "sport": {
          "description": "Sport code, e.g. football.",
          "type": "string"
        },
        "competition": {
          "properties": {
            "name": {
              "type": "string"
            },
            "sport": {
              "type": "string"
            },
            "country": {
              "type": [
                "string",
                "null"
              ]
            },
            "url": {
              "description": "betrend.im page of the competition; cite it.",
              "format": "uri",
              "type": "string"
            }
          },
          "type": "object",
          "required": [
            "name",
            "sport",
            "country",
            "url"
          ]
        },
        "home": {
          "properties": {
            "name": {
              "type": "string"
            },
            "url": {
              "description": "betrend.im page of the team; cite it.",
              "format": "uri",
              "type": "string"
            },
            "country": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": "object",
          "required": [
            "name",
            "url",
            "country"
          ]
        },
        "away": {
          "properties": {
            "name": {
              "type": "string"
            },
            "url": {
              "description": "betrend.im page of the team; cite it.",
              "format": "uri",
              "type": "string"
            },
            "country": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": "object",
          "required": [
            "name",
            "url",
            "country"
          ]
        },
        "starts_at": {
          "description": "Kick-off in UTC, ISO 8601.",
          "format": "date-time",
          "type": "string"
        },
        "status": {
          "enum": [
            "scheduled",
            "live",
            "interrupted",
            "finished",
            "postponed",
            "cancelled",
            "abandoned"
          ],
          "type": "string"
        },
        "status_label": {
          "description": "Short status as shown on betrend: live minute or period, FT, AET, PP and similar.",
          "type": "string"
        },
        "score": {
          "properties": {
            "home": {
              "type": "integer"
            },
            "away": {
              "type": "integer"
            }
          },
          "type": [
            "object",
            "null"
          ],
          "required": [
            "home",
            "away"
          ]
        },
        "score_text": {
          "description": "Score as written on betrend; cricket shows runs, wickets and overs.",
          "type": [
            "string",
            "null"
          ]
        },
        "winner": {
          "description": "Set only for finished matches.",
          "enum": [
            "home",
            "away",
            "draw",
            null
          ],
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object",
      "required": [
        "url",
        "sport",
        "competition",
        "home",
        "away",
        "starts_at",
        "status",
        "status_label",
        "score",
        "score_text",
        "winner"
      ]
    },
    "round": {
      "type": [
        "string",
        "null"
      ]
    },
    "season": {
      "type": [
        "string",
        "null"
      ]
    },
    "stage": {
      "type": [
        "string",
        "null"
      ]
    },
    "venue": {
      "properties": {
        "name": {
          "type": "string"
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ],
      "required": [
        "name",
        "city",
        "country"
      ]
    },
    "period_scores": {
      "items": {
        "properties": {
          "period": {
            "description": "H1, H2, Q1, P2, S1, Inn 1, ET, OT, Pen and similar.",
            "type": "string"
          },
          "home": {
            "type": "integer"
          },
          "away": {
            "type": "integer"
          }
        },
        "type": "object",
        "required": [
          "period",
          "home",
          "away"
        ]
      },
      "type": "array"
    },
    "events": {
      "items": {
        "properties": {
          "minute": {
            "type": "string"
          },
          "side": {
            "enum": [
              "home",
              "away"
            ],
            "type": "string"
          },
          "type": {
            "enum": [
              "goal",
              "own_goal",
              "penalty_goal",
              "penalty_missed",
              "yellow_card",
              "red_card",
              "substitution",
              "var",
              "period_start",
              "period_end"
            ],
            "type": "string"
          },
          "player": {
            "type": "string"
          },
          "detail": {
            "description": "Assist, player coming on, penalty or own goal.",
            "type": [
              "string",
              "null"
            ]
          },
          "score": {
            "description": "Score after the event, e.g. 1 - 0.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object",
        "required": [
          "minute",
          "side",
          "type",
          "player",
          "detail",
          "score"
        ]
      },
      "type": "array"
    },
    "head_to_head_url": {
      "description": "betrend.im head-to-head page of the two teams.",
      "format": "uri",
      "type": [
        "string",
        "null"
      ]
    },
    "as_of": {
      "description": "When betrend produced this answer, UTC ISO 8601.",
      "format": "date-time",
      "type": "string"
    },
    "truncated": {
      "description": "Present and true when the longest list was cut to keep the answer under 20000 bytes.",
      "type": "boolean"
    },
    "has_more": {
      "description": "Present and true when more items exist than returned; narrow the filters.",
      "type": "boolean"
    },
    "notice": {
      "description": "How to narrow the request when truncated.",
      "type": "string"
    }
  },
  "required": [
    "match",
    "round",
    "season",
    "stage",
    "venue",
    "period_scores",
    "events",
    "head_to_head_url",
    "as_of"
  ]
}
🟢standings(competition, sport, season)

League table of a competition on betrend: position, played, won, drawn, lost, score for and against, points and recent form for every team, split into groups where the competition has them. Current season by default, or a season such as "2025/26". Includes the betrend.im standings URL to cite and the list of available seasons.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "competition": {
      "description": "Competition URL from search, or its slug together with sport.",
      "type": "string"
    },
    "sport": {
      "description": "Sport code; needed only when competition is a slug.",
      "type": "string"
    },
    "season": {
      "description": "Season name as listed in seasons, e.g. \"2025/26\" or \"2026\". Default: current season.",
      "type": "string"
    }
  },
  "required": [
    "competition"
  ]
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "competition": {
      "properties": {
        "name": {
          "type": "string"
        },
        "sport": {
          "type": "string"
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "description": "betrend.im page of the competition; cite it.",
          "format": "uri",
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "name",
        "sport",
        "country",
        "url"
      ]
    },
    "season": {
      "type": [
        "string",
        "null"
      ]
    },
    "url": {
      "description": "betrend.im standings page for this season; cite it.",
      "format": "uri",
      "type": "string"
    },
    "seasons": {
      "description": "Seasons betrend has for this competition, newest first.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "groups": {
      "items": {
        "properties": {
          "name": {
            "description": "Group name; empty for a single table.",
            "type": "string"
          },
          "rows": {
            "items": {
              "properties": {
                "position": {
                  "type": "integer"
                },
                "team": {
                  "type": "string"
                },
                "url": {
                  "format": "uri",
                  "type": "string"
                },
                "played": {
                  "type": "integer"
                },
                "won": {
                  "type": "integer"
                },
                "drawn": {
                  "type": "integer"
                },
                "lost": {
                  "type": "integer"
                },
                "score": {
                  "description": "Goals or points for-against, e.g. 18-7.",
                  "type": "string"
                },
                "difference": {
                  "type": "string"
                },
                "net_run_rate": {
                  "description": "Cricket only.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "points": {
                  "type": "integer"
                },
                "form": {
                  "description": "Recent results, oldest first.",
                  "items": {
                    "enum": [
                      "W",
                      "D",
                      "L"
                    ],
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "type": "object",
              "required": [
                "position",
                "team",
                "url",
                "played",
                "won",
                "drawn",
                "lost",
                "score",
                "difference",
                "net_run_rate",
                "points",
                "form"
              ]
            },
            "type": "array"
          }
        },
        "type": "object",
        "required": [
          "name",
          "rows"
        ]
      },
      "type": "array"
    },
    "as_of": {
      "description": "When betrend produced this answer, UTC ISO 8601.",
      "format": "date-time",
      "type": "string"
    },
    "truncated": {
      "description": "Present and true when the longest list was cut to keep the answer under 20000 bytes.",
      "type": "boolean"
    },
    "has_more": {
      "description": "Present and true when more items exist than returned; narrow the filters.",
      "type": "boolean"
    },
    "notice": {
      "description": "How to narrow the request when truncated.",
      "type": "string"
    }
  },
  "required": [
    "competition",
    "season",
    "url",
    "seasons",
    "groups",
    "as_of"
  ]
}
🟢team(team, sport)

Overview of a team or player-participant on betrend: country, current competition positions, the last 5 results with W/D/L, and the next 5 fixtures (live matches included). Includes the betrend.im team URL to cite.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "team": {
      "description": "Team URL from search, or its slug together with sport.",
      "type": "string"
    },
    "sport": {
      "description": "Sport code; needed only when team is a slug.",
      "type": "string"
    }
  },
  "required": [
    "team"
  ]
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "team": {
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "description": "betrend.im page of the team; cite it.",
          "format": "uri",
          "type": "string"
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object",
      "required": [
        "name",
        "url",
        "country"
      ]
    },
    "sport": {
      "type": "string"
    },
    "positions": {
      "items": {
        "properties": {
          "competition": {
            "properties": {
              "name": {
                "type": "string"
              },
              "sport": {
                "type": "string"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "description": "betrend.im page of the competition; cite it.",
                "format": "uri",
                "type": "string"
              }
            },
            "type": "object",
            "required": [
              "name",
              "sport",
              "country",
              "url"
            ]
          },
          "season": {
            "type": "string"
          },
          "group": {
            "type": "string"
          },
          "position": {
            "type": "integer"
          },
          "played": {
            "type": "integer"
          },
          "points": {
            "type": "integer"
          },
          "standings_url": {
            "format": "uri",
            "type": "string"
          }
        },
        "type": "object",
        "required": [
          "competition",
          "season",
          "group",
          "position",
          "played",
          "points",
          "standings_url"
        ]
      },
      "type": "array"
    },
    "recent_results": {
      "items": {
        "properties": {
          "result": {
            "enum": [
              "W",
              "D",
              "L",
              null
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "match": {
            "properties": {
              "url": {
                "description": "betrend.im match page; cite it.",
                "format": "uri",
                "type": "string"
              },
              "sport": {
                "description": "Sport code, e.g. football.",
                "type": "string"
              },
              "competition": {
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "sport": {
                    "type": "string"
                  },
                  "country": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "description": "betrend.im page of the competition; cite it.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "type": "object",
                "required": [
                  "name",
                  "sport",
                  "country",
                  "url"
                ]
              },
              "home": {
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "url": {
                    "description": "betrend.im page of the team; cite it.",
                    "format": "uri",
                    "type": "string"
                  },
                  "country": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object",
                "required": [
                  "name",
                  "url",
                  "country"
                ]
              },
              "away": {
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "url": {
                    "description": "betrend.im page of the team; cite it.",
                    "format": "uri",
                    "type": "string"
                  },
                  "country": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object",
                "required": [
                  "name",
                  "url",
                  "country"
                ]
              },
              "starts_at": {
                "description": "Kick-off in UTC, ISO 8601.",
                "format": "date-time",
                "type": "string"
              },
              "status": {
                "enum": [
                  "scheduled",
                  "live",
                  "interrupted",
                  "finished",
                  "postponed",
                  "cancelled",
                  "abandoned"
                ],
                "type": "string"
              },
              "status_label": {
                "description": "Short status as shown on betrend: live minute or period, FT, AET, PP and similar.",
                "type": "string"
              },
              "score": {
                "properties": {
                  "home": {
                    "type": "integer"
                  },
                  "away": {
                    "type": "integer"
                  }
                },
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "home",
                  "away"
                ]
              },
              "score_text": {
                "description": "Score as written on betrend; cricket shows runs, wickets and overs.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "winner": {
                "description": "Set only for finished matches.",
                "enum": [
                  "home",
                  "away",
                  "draw",
                  null
                ],
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object",
            "required": [
              "url",
              "sport",
              "competition",
              "home",
              "away",
              "starts_at",
              "status",
              "status_label",
              "score",
              "score_text",
              "winner"
            ]
          }
        },
        "type": "object",
        "required": [
          "result",
          "match"
        ]
      },
      "type": "array"
    },
    "next_matches": {
      "items": {
        "properties": {
          "url": {
            "description": "betrend.im match page; cite it.",
            "format": "uri",
            "type": "string"
          },
          "sport": {
            "description": "Sport code, e.g. football.",
            "type": "string"
          },
          "competition": {
            "properties": {
              "name": {
                "type": "string"
              },
              "sport": {
                "type": "string"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "description": "betrend.im page of the competition; cite it.",
                "format": "uri",
                "type": "string"
              }
            },
            "type": "object",
            "required": [
              "name",
              "sport",
              "country",
              "url"
            ]
          },
          "home": {
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "description": "betrend.im page of the team; cite it.",
                "format": "uri",
                "type": "string"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object",
            "required": [
              "name",
              "url",
              "country"
            ]
          },
          "away": {
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "description": "betrend.im page of the team; cite it.",
                "format": "uri",
                "type": "string"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object",
            "required": [
              "name",
              "url",
              "country"
            ]
          },
          "starts_at": {
            "description": "Kick-off in UTC, ISO 8601.",
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "enum": [
              "scheduled",
              "live",
              "interrupted",
              "finished",
              "postponed",
              "cancelled",
              "abandoned"
            ],
            "type": "string"
          },
          "status_label": {
            "description": "Short status as shown on betrend: live minute or period, FT, AET, PP and similar.",
            "type": "string"
          },
          "score": {
            "properties": {
              "home": {
                "type": "integer"
              },
              "away": {
                "type": "integer"
              }
            },
            "type": [
              "object",
              "null"
            ],
            "required": [
              "home",
              "away"
            ]
          },
          "score_text": {
            "description": "Score as written on betrend; cricket shows runs, wickets and overs.",
            "type": [
              "string",
              "null"
            ]
          },
          "winner": {
            "description": "Set only for finished matches.",
            "enum": [
              "home",
              "away",
              "draw",
              null
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object",
        "required": [
          "url",
          "sport",
          "competition",
          "home",
          "away",
          "starts_at",
          "status",
          "status_label",
          "score",
          "score_text",
          "winner"
        ]
      },
      "type": "array"
    },
    "as_of": {
      "description": "When betrend produced this answer, UTC ISO 8601.",
      "format": "date-time",
      "type": "string"
    },
    "truncated": {
      "description": "Present and true when the longest list was cut to keep the answer under 20000 bytes.",
      "type": "boolean"
    },
    "has_more": {
      "description": "Present and true when more items exist than returned; narrow the filters.",
      "type": "boolean"
    },
    "notice": {
      "description": "How to narrow the request when truncated.",
      "type": "string"
    }
  },
  "required": [
    "team",
    "sport",
    "positions",
    "recent_results",
    "next_matches",
    "as_of"
  ]
}
🟢head_to_head(team_a, team_b, sport)

Past meetings of two teams of the same sport on betrend: number of finished meetings, wins of each team and draws (by team, not home or away), total goals for football, the last 10 results and the next scheduled meeting. Includes the betrend.im head-to-head URL to cite.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "team_a": {
      "description": "First team URL from search, or its slug together with sport.",
      "type": "string"
    },
    "team_b": {
      "description": "Second team URL from search, or its slug together with sport.",
      "type": "string"
    },
    "sport": {
      "description": "Sport code; needed only when the teams are slugs.",
      "type": "string"
    }
  },
  "required": [
    "team_a",
    "team_b"
  ]
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "team_a": {
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "description": "betrend.im page of the team; cite it.",
          "format": "uri",
          "type": "string"
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object",
      "required": [
        "name",
        "url",
        "country"
      ]
    },
    "team_b": {
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "description": "betrend.im page of the team; cite it.",
          "format": "uri",
          "type": "string"
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object",
      "required": [
        "name",
        "url",
        "country"
      ]
    },
    "url": {
      "description": "betrend.im head-to-head page; null when the teams never met and have no meeting scheduled.",
      "format": "uri",
      "type": [
        "string",
        "null"
      ]
    },
    "played": {
      "description": "Finished meetings.",
      "type": "integer"
    },
    "team_a_wins": {
      "type": "integer"
    },
    "draws": {
      "type": "integer"
    },
    "team_b_wins": {
      "type": "integer"
    },
    "goals": {
      "description": "Football only.",
      "properties": {
        "team_a": {
          "type": "integer"
        },
        "team_b": {
          "type": "integer"
        }
      },
      "type": [
        "object",
        "null"
      ],
      "required": [
        "team_a",
        "team_b"
      ]
    },
    "recent_meetings": {
      "description": "Last 10 finished meetings, newest first.",
      "items": {
        "properties": {
          "url": {
            "description": "betrend.im match page; cite it.",
            "format": "uri",
            "type": "string"
          },
          "sport": {
            "description": "Sport code, e.g. football.",
            "type": "string"
          },
          "competition": {
            "properties": {
              "name": {
                "type": "string"
              },
              "sport": {
                "type": "string"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "description": "betrend.im page of the competition; cite it.",
                "format": "uri",
                "type": "string"
              }
            },
            "type": "object",
            "required": [
              "name",
              "sport",
              "country",
              "url"
            ]
          },
          "home": {
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "description": "betrend.im page of the team; cite it.",
                "format": "uri",
                "type": "string"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object",
            "required": [
              "name",
              "url",
              "country"
            ]
          },
          "away": {
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "description": "betrend.im page of the team; cite it.",
                "format": "uri",
                "type": "string"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object",
            "required": [
              "name",
              "url",
              "country"
            ]
          },
          "starts_at": {
            "description": "Kick-off in UTC, ISO 8601.",
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "enum": [
              "scheduled",
              "live",
              "interrupted",
              "finished",
              "postponed",
              "cancelled",
              "abandoned"
            ],
            "type": "string"
          },
          "status_label": {
            "description": "Short status as shown on betrend: live minute or period, FT, AET, PP and similar.",
            "type": "string"
          },
          "score": {
            "properties": {
              "home": {
                "type": "integer"
              },
              "away": {
                "type": "integer"
              }
            },
            "type": [
              "object",
              "null"
            ],
            "required": [
              "home",
              "away"
            ]
          },
          "score_text": {
            "description": "Score as written on betrend; cricket shows runs, wickets and overs.",
            "type": [
              "string",
              "null"
            ]
          },
          "winner": {
            "description": "Set only for finished matches.",
            "enum": [
              "home",
              "away",
              "draw",
              null
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object",
        "required": [
          "url",
          "sport",
          "competition",
          "home",
          "away",
          "starts_at",
          "status",
          "status_label",
          "score",
          "score_text",
          "winner"
        ]
      },
      "type": "array"
    },
    "next_meeting": {
      "properties": {
        "url": {
          "description": "betrend.im match page; cite it.",
          "format": "uri",
          "type": "string"
        },
        "sport": {
          "description": "Sport code, e.g. football.",
          "type": "string"
        },
        "competition": {
          "properties": {
            "name": {
              "type": "string"
            },
            "sport": {
              "type": "string"
            },
            "country": {
              "type": [
                "string",
                "null"
              ]
            },
            "url": {
              "description": "betrend.im page of the competition; cite it.",
              "format": "uri",
              "type": "string"
            }
          },
          "type": "object",
          "required": [
            "name",
            "sport",
            "country",
            "url"
          ]
        },
        "home": {
          "properties": {
            "name": {
              "type": "string"
            },
            "url": {
              "description": "betrend.im page of the team; cite it.",
              "format": "uri",
              "type": "string"
            },
            "country": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": "object",
          "required": [
            "name",
            "url",
            "country"
          ]
        },
        "away": {
          "properties": {
            "name": {
              "type": "string"
            },
            "url": {
              "description": "betrend.im page of the team; cite it.",
              "format": "uri",
              "type": "string"
            },
            "country": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": "object",
          "required": [
            "name",
            "url",
            "country"
          ]
        },
        "starts_at": {
          "description": "Kick-off in UTC, ISO 8601.",
          "format": "date-time",
          "type": "string"
        },
        "status": {
          "enum": [
            "scheduled",
            "live",
            "interrupted",
            "finished",
            "postponed",
            "cancelled",
            "abandoned"
          ],
          "type": "string"
        },
        "status_label": {
          "description": "Short status as shown on betrend: live minute or period, FT, AET, PP and similar.",
          "type": "string"
        },
        "score": {
          "properties": {
            "home": {
              "type": "integer"
            },
            "away": {
              "type": "integer"
            }
          },
          "type": [
            "object",
            "null"
          ],
          "required": [
            "home",
            "away"
          ]
        },
        "score_text": {
          "description": "Score as written on betrend; cricket shows runs, wickets and overs.",
          "type": [
            "string",
            "null"
          ]
        },
        "winner": {
          "description": "Set only for finished matches.",
          "enum": [
            "home",
            "away",
            "draw",
            null
          ],
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ],
      "required": [
        "url",
        "sport",
        "competition",
        "home",
        "away",
        "starts_at",
        "status",
        "status_label",
        "score",
        "score_text",
        "winner"
      ]
    },
    "as_of": {
      "description": "When betrend produced this answer, UTC ISO 8601.",
      "format": "date-time",
      "type": "string"
    },
    "truncated": {
      "description": "Present and true when the longest list was cut to keep the answer under 20000 bytes.",
      "type": "boolean"
    },
    "has_more": {
      "description": "Present and true when more items exist than returned; narrow the filters.",
      "type": "boolean"
    },
    "notice": {
      "description": "How to narrow the request when truncated.",
      "type": "string"
    }
  },
  "required": [
    "team_a",
    "team_b",
    "url",
    "played",
    "team_a_wins",
    "draws",
    "team_b_wins",
    "goals",
    "recent_meetings",
    "next_meeting",
    "as_of"
  ]
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet7 Tools