Skip to content

get_rest_and_travel

5 creditsStats + aggregationPOST /v1/get_rest_and_travel

Last updated 1 hour ago · updates daily at about 10:00 UTC · Fresh · status

A team's schedule context game by game: days of rest, home and away streaks, and travel distance and time zones (NFL)

Use it when you want a team's schedule context game by game: days of rest (a bye shows as a long rest), the home or away stretch it is on, and the distance and time zones it travelled from its last game.

Parameters

teamstringrequired
Team abbreviation or id, e.g. KC, BUF, LA.
seasonstring | numberoptional
Season by the year it starts (2025 = the 2025-26 season). Default: the latest season. Not with a date range.
from_datestringoptional
Start of a date range, YYYY-MM-DD. With to_date; not with season.
to_datestringoptional
End of the date range, YYYY-MM-DD (at most 400 days from from_date).
estimate_onlybooleanoptional
Return what this call would cost, without charging or running it.

Notes

  • Over MCP, ask for it in plain English and the client calls get_rest_and_travel itself. Point any MCP client at https://mcp.endzoneapi.com/mcp?key=YOUR_API_KEY.
  • Each call costs 5 credits, taken before it runs and refunded if the server errors.
  • Not the call you need? Find the right call by what you are trying to answer.

Request

curl -X POST https://mcp.endzoneapi.com/v1/get_rest_and_travel \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "team": "KC",
  "season": 2026
}'

Response

json
{
  "team": {
    "id": "KC",
    "abbrev": "KC",
    "name": "Kansas City Chiefs"
  },
  "season": 2026,
  "games": [
    {
      "game_id": "2026_01_DEN_KC",
      "date": "2026-09-14",
      "starts_at": "2026-09-15T00:15:00.000Z",
      "season": 2026,
      "status": "final",
      "opponent": "DEN",
      "location": "home",
      "venue": "GEHA Field at Arrowhead Stadium",
      "previous_game_id": null,
      "days_since_previous_game": null,
      "days_rest": null,
      "venue_streak": {
        "location": "home",
        "games": 1
      },
      "travel": null
    },
    {
      "game_id": "2026_02_IND_KC",
      "date": "2026-09-20",
      "starts_at": "2026-09-21T00:20:00.000Z",
      "season": 2026,
      "status": "final",
      "opponent": "IND",
      "location": "home",
      "venue": "GEHA Field at Arrowhead Stadium",
      "previous_game_id": "2026_01_DEN_KC",
      "days_since_previous_game": 6,
      "days_rest": 5,
      "venue_streak": {
        "location": "home",
        "games": 2
      },
      "travel": {
        "from_venue": "Arrowhead Stadium",
        "to_venue": "Arrowhead Stadium",
        "km": 0,
        "miles": 0,
        "time_zones_crossed": 0,
        "time_zone_shift_hours": 0
      }
    },
    {
      "game_id": "2026_03_KC_MIA",
      "date": "2026-09-27",
      "starts_at": "2026-09-27T17:00:00.000Z",
      "season": 2026,
      "status": "final",
      "opponent": "MIA",
      "location": "away",
      "venue": "Hard Rock Stadium",
      "previous_game_id": "2026_02_IND_KC",
      "days_since_previous_game": 7,
      "days_rest": 6,
      "venue_streak": {
        "location": "away",
        "games": 1
      },
      "travel": {
        "from_venue": "Arrowhead Stadium",
        "to_venue": "Hard Rock Stadium",
        "km": 1970.7,
        "miles": 1224.5,
        "time_zones_crossed": 1,
        "time_zone_shift_hours": 1
      }
    }
  ],
  "count": 17,
  "method": "Dates are the league's own calendar dates. days_since_previous_game is the difference between the two dates (1 = the day before); days_rest is the days with no game between them (0 = back to back). venue_streak counts the consecutive games, this one included, at the same kind of site (home, away or neutral). travel is the great-circle distance from the previous game's venue to this one's, with the time zones crossed (positive shift: a trip east); it is null for a team's first game of a season and where a venue's coordinates are not held. A neutral site (a game abroad, a bubble) is its own venue."
}

Response fields

teamobject
team.idstring
team.abbrevstring
team.namestring
seasonnumber
games[]array
List of objects
games[].game_idstring
games[].datestring
games[].starts_atstring
games[].seasonnumber
games[].statusstring
games[].opponentstring
games[].locationstring
games[].venuestring
games[].previous_game_idnull
games[].days_since_previous_gamenull
games[].days_restnull
games[].venue_streakobject
games[].venue_streak.locationstring
games[].venue_streak.gamesnumber
games[].travelnull
countnumber
methodstring

Related endpoints

Try it

500 free credits every month: 100 calls to get_rest_and_travel, and no card.