Skip to content
GET /v1/teams

All AFL clubs

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/afl-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/afl-api/v1/teams" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/afl-api/v1/teams", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/afl-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/afl-api/v1/teams",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "count": 19,
        "teams": [
            {
                "id": "15",
                "logo": "https://a.espncdn.com/i/teamlogos/afl/500/adel.png",
                "name": "Adelaide Crows",
                "color": "002a6f",
                "nickname": "Crows",
                "abbreviation": "ADEL"
            },
            {
                "id": "11",
                "logo": "https://a.espncdn.com/i/teamlogos/afl/500/bl.png",
                "name": "Brisbane Lions",
                "color": "6d144a",
                "nickname": "Lions",
                "abbreviation": "BL"
            },
            {
                "id": "9",
                "logo": "https://a.espncdn.com/i/teamlogos/afl/500/carl.png",
                "name": "Carlton",
                "color": "0d0e5f",
                "nickname": "Blues",
                "abbreviation": "CARL"
            },
            {
                "id": "17",
                "logo": "https://a.espncdn.com/i/teamlogos/afl/500/coll.png",
                "name": "Collingwood",
                "color": "222222",
                "nickname": "Magpies",
                "abbreviation": "COLL"
            },
            {
                "id": "16",
                "logo": "https://a.espncdn.com/i/teamlogos/afl/500/ess.png",
                "name": "Essendon",
                "color": "b93535",
                "nickname": "Bombers",
                "abbreviation": "ESS"
            },
            {
                "id": "1",
                "logo": "https://a.espncdn.com/i/teamlogos/afl/500/fre.png",
                "name": "Fremantle",
                "color": "5d368f",
                "nickname": "Dockers",
                "abbreviation": "FRE"
            },
            {
                "id": "8",
                "logo": "https://a.espncdn.com/i/teamlogos/afl/500/gws.png",
                "name": "GWS GIANTS",
                "color": "F07947",
                "nickname": "GIANTS",
                "abbreviation": "GWS"
            },
            {
                "id": "14",
                "logo": "https://a.espncdn.com/i/teamlogos/afl/500/geel.png",
                "name": "Geelong Cats",
                "color": "173246",
                "nickname": "Cats",
                "abbreviation": "GEEL"
            },
            {
                "id": "10",
                "logo": "https://a.espncdn.com/i/teamlogos/afl/500/suns.png",
                "name": "Gold Coast SUNS",
                "color": "b1212b",
                "nickname": "SUNS",
                "abbreviation": "SUNS"
            },
            {
                "id": "13",
                "logo": "https://a.espncdn.com/i/teamlogos/afl/500/haw.png",
                "name": "Hawthorn",
                "color": "462d22",
                "nickname": "Hawks",
                "abbreviation": "HAW"
            },
            {
                "id": "2",
                "logo": "https://a.espncdn.com/i/teamlogos/afl/50
…