Zum Inhalt springen
GET /v1/teams

The 20 Premier League clubs

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/fpl-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/fpl-api/v1/teams" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fpl-api/v1/teams", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fpl-api/v1/teams");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/fpl-api/v1/teams",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 20,
        "teams": [
            {
                "id": 1,
                "won": 0,
                "code": 3,
                "lost": 0,
                "name": "Arsenal",
                "drawn": 0,
                "played": 0,
                "points": 0,
                "position": 1,
                "strength": 5,
                "short_name": "ARS",
                "strength_overall_away": 1355,
                "strength_overall_home": 1305
            },
            {
                "id": 2,
                "won": 0,
                "code": 7,
                "lost": 0,
                "name": "Aston Villa",
                "drawn": 0,
                "played": 0,
                "points": 0,
                "position": 4,
                "strength": 3,
                "short_name": "AVL",
                "strength_overall_away": 1230,
                "strength_overall_home": 1135
            },
            {
                "id": 3,
                "won": 0,
                "code": 90,
                "lost": 0,
                "name": "Burnley",
                "drawn": 0,
                "played": 0,
                "points": 0,
                "position": 19,
                "strength": 2,
                "short_name": "BUR",
                "strength_overall_away": 1045,
                "strength_overall_home": 975
            },
            {
                "id": 4,
                "won": 0,
                "code": 91,
                "lost": 0,
                "name": "Bournemouth",
                "drawn": 0,
                "played": 0,
                "points": 0,
                "position": 6,
                "strength": 3,
                "short_name": "BOU",
                "strength_overall_away": 1235,
                "strength_overall_home": 1150
            },
            {
                "id": 5,
                "won": 0,
                "code": 94,
                "lost": 0,
                "name": "Brentford",
                "drawn": 0,
                "played": 0,
                "points": 0,
                "position": 9,
                "strength": 3,
                "short_name": "BRE",
                "strength_overall_away": 1215,
                "strength_overall_home": 1135
            },
            {
                "id": 6,
                "won": 0,
                "code": 36,
                "lost": 0,
                "name": "Brighton",
                "drawn": 0,
                "played": 0,
                "points": 0,
                "position": 8,
                "strength": 4,
                "short_name": "BHA",
                "strength_overall_away": 1250,
                "strength_overall_home": 1170
            },
            {
                "id": 7,
                "won": 0,
                "code": 8,
                "lost": 0,
                "name": "Chelsea",
                "drawn": 0,
                "played": 0,
                "points": 0,
       
…