Distance between clubs

F
GET /v1/teams/{id}/distance/{opponent_id}

How far one club travels to another

How far the second club travels to the first, as the crow flies between the two grounds, in kilometres and miles. The same measure as away_travel_km on a match, so a distance looked up here and one read off a fixture agree.

Useful before a fixture exists — weighing a cup draw, planning a season, testing whether travel and rest explain anything. If we hold no coordinates for one of the grounds the distance comes back null and the note names which club, rather than leaving you to work out whose fault it is.

Travel distance is not carried on every match. The coverage figures on each competition and season give the exact share for the rows you are asking for.

Plan

This endpoint needs Free key. It works on the free key, which reads yesterday, today and the fixtures ahead.

Parameters

team_id string path required
The club id. e.g. tm_1E5HXK9
opponent_id string path required
The opposing club id. e.g. tm_21FP1AT

Request

curl "https://api.footballsoccerapi.com/v1/teams/tm_1E5HXK9/distance/tm_21FP1AT" \
  -H "X-API-Key: $FSAPI_KEY"

Example response

A real row from the archive, fetched when this page rendered. Run it against your own key below.

200 OK application/json
{
    "data": {
        "team_id": 1343,
        "team_name": "Bradford",
        "venue_name": "Valley Parade",
        "city_name": "Bradford",
        "latitude": 53.795696,
        "longitude": -1.776683,
        "match_count": 694
    },
    "meta": {
        "data_as_of": "2026-09-27T03:47:30Z",
        "request_id": "01J9QW3C7M4KX2VB"
    }
}

Run it live

Paste your key and fire the real request. The key is kept in this browser only and never sent anywhere but the API.

Get a key
GET