Tampa Bay Rays schedule & live scores API

Get Tampa Bay Rays fixtures, live scores, odds and results as JSON from Realtime Sports API. The team id is 30 in baseball/mlb; filter the MLB events, live and schedule endpoints by it. Data is aggregated from public sources and is typically 20-30 seconds behind live play (about 1 second after our source). There is no SLA.

Team id
30
Abbreviation
TB
Home venue
n/a
2026 season
169 games · record 100-64-2

Next game: Tampa Bay Rays visit New York Yankees on Wed, Oct 7, 8:00 PM ET at Yankee Stadium.

Upcoming Tampa Bay Rays games

Upcoming Tampa Bay Rays games
DateAwayHomeTime / ResultVenue
Wed, Oct 7Tampa Bay RaysNew York Yankees8:00 PM ETYankee Stadium · Bronx, New York
Thu, Oct 8Tampa Bay RaysNew York Yankees8:00 PM ETYankee Stadium · Bronx, New York
Sat, Oct 10New York YankeesTampa Bay Rays8:00 PM ETTropicana Field · St. Petersburg, Florida

Times are US Eastern; refreshed hourly. Full Tampa Bay Rays schedule with JSON/CSV download

Recent Tampa Bay Rays results

Recent Tampa Bay Rays results
DateAwayHomeTime / ResultVenue
Mon, Oct 5New York YankeesTampa Bay Rays2 - 5 FinalTropicana Field · St. Petersburg, Florida
Sat, Oct 3New York YankeesTampa Bay Rays0 - 1 FinalTropicana Field · St. Petersburg, Florida
Sun, Sep 27Tampa Bay RaysPhiladelphia Phillies3 - 7 FinalCitizens Bank Park · Philadelphia, Pennsylvania
Sat, Sep 26Tampa Bay RaysPhiladelphia Phillies12 - 1 FinalCitizens Bank Park · Philadelphia, Pennsylvania
Fri, Sep 25Tampa Bay RaysPhiladelphia Phillies2 - 0 FinalCitizens Bank Park · Philadelphia, Pennsylvania

Live example: team detail

Request

curl -H "Authorization: Bearer $RSA_API_KEY" \
  "https://www.realtimesportsapi.com/api/v1/sports/baseball/leagues/mlb/teams/30"

Response captured from live data at 2026-10-07 15:36 UTC (refreshed every few minutes). Long arrays are trimmed; meta.rateLimit values are illustrative for a Free key. Captured hourly; logos trimmed to one.

Response

{
  "success": true,
  "data": {
    "id": "30",
    "uid": "s:1~l:10~t:30",
    "slug": "tampa-bay-rays",
    "location": "Tampa Bay",
    "name": "Rays",
    "abbreviation": "TB",
    "displayName": "Tampa Bay Rays",
    "shortDisplayName": "Rays",
    "color": "092c5c",
    "alternateColor": "8fbce6",
    "league": {},
    "venue": null,
    "isActive": true,
    "isAllStar": false,
    "logos": [
      {
        "href": "https://realtimesportsapi.com/api/images/proxy?id=GgcVSgNPTUMITUgaFFQVVVQXBVwOHV5LRQBZD1lbBllDXR4NWF9AUlxGF09HFFQR",
        "width": 500,
        "height": 500,
        "alt": "",
        "rel": [
          "full",
          "default"
        ],
        "lastUpdated": "2023-08-15T19:27Z"
      },
      "... 15 more"
    ]
  }
}

Get Tampa Bay Rays scores in code

The events endpoint returns the whole MLB scoreboard, so keep the games where either team id is 30.

curl + jq

curl -H "Authorization: Bearer $RSA_API_KEY" \
  "https://www.realtimesportsapi.com/api/v1/sports/baseball/leagues/mlb/teams/30"

# This team's games in the current scoreboard (filter by team id 30)
curl -s -H "Authorization: Bearer $RSA_API_KEY" "https://www.realtimesportsapi.com/api/v1/sports/baseball/leagues/mlb/events" \
  | jq '.data[] | select(.homeTeam.id == "30" or .awayTeam.id == "30") | {name, date, status: .status.detail, home: .homeTeam.score, away: .awayTeam.score}'

JavaScript (fetch)

const TEAM_ID = "30"; // Tampa Bay Rays
const res = await fetch("https://www.realtimesportsapi.com/api/v1/sports/baseball/leagues/mlb/events", {
  headers: { Authorization: `Bearer ${process.env.RSA_API_KEY}` }
});
const { data } = await res.json();
const games = data.filter((e) => e.homeTeam.id === TEAM_ID || e.awayTeam.id === TEAM_ID);
for (const g of games) {
  console.log(g.shortName, g.status.detail, `${g.awayTeam.score}-${g.homeTeam.score}`);
}

Python (requests)

import os, requests

TEAM_ID = "30"  # Tampa Bay Rays
res = requests.get(
    "https://www.realtimesportsapi.com/api/v1/sports/baseball/leagues/mlb/events",
    headers={"Authorization": f"Bearer {os.environ['RSA_API_KEY']}"},
    timeout=10,
)
for g in res.json()["data"]:
    if TEAM_ID in (g["homeTeam"]["id"], g["awayTeam"]["id"]):
        print(g["shortName"], g["status"]["detail"], g["awayTeam"]["score"], g["homeTeam"]["score"])

MCP prompt (Claude, Cursor, ChatGPT)

Using the Realtime Sports MCP server (https://www.realtimesportsapi.com/api/mcp), call get_schedule with sport "baseball" and league "mlb" for the next 14 days and list the Tampa Bay Rays games (team id 30) with dates and opponents; then call get_live_events and tell me if they are playing now.

Connect the hosted MCP server first: setup guide.

More endpoints for this team: /sports/baseball/leagues/mlb/teams/30/roster, /sports/baseball/leagues/mlb/injuries?team=30, /sports/baseball/leagues/mlb/news?team=30. Step-by-step builds: guides.

FAQ

How do I get live Tampa Bay Rays scores in JSON?
Call GET https://www.realtimesportsapi.com/api/v1/sports/baseball/leagues/mlb/events/live with a free API key and keep the games where homeTeam.id or awayTeam.id is "30". The live endpoint returns the score, period, clock and status for games in progress. Data is aggregated from public sources and is typically 20-30 seconds behind live play (about 1 second after our source). There is no SLA.
Is there a free Tampa Bay Rays API?
Yes. The Free plan of Realtime Sports API is $0 with 1,000 calls in the first 30 days, then 125 calls per month, no card. The same key covers every MLB team and the other leagues.
What is the Tampa Bay Rays team id?
"30" in league "mlb" (sport "baseball"). Use it with /sports/baseball/leagues/mlb/teams/30 for team details and /sports/baseball/leagues/mlb/teams/30/roster for the roster, and to filter events by homeTeam.id or awayTeam.id.
When is the next Tampa Bay Rays game?
Tampa Bay Rays visit New York Yankees on Wed, Oct 7, 8:00 PM ET at Yankee Stadium. Times are US Eastern; this page refreshes hourly.
Does the API include Tampa Bay Rays betting odds?
Yes, for upcoming MLB games that have a line: GET /sports/baseball/leagues/mlb/events/{eventId}/odds returns the spread, moneyline and total from a single source book, and /odds/history returns line moves. It is not a multi-book comparison feed.
Can I get Tampa Bay Rays score alerts pushed to me?
Yes, on paid plans: register a webhook for event.score_change and event.final filtered to league "mlb", then keep deliveries where data.homeTeam.id or data.awayTeam.id is "30" (webhooks filter by league, not team). WebSocket works the same way.

All MLB team APIs · MLB API · Free MLB scoreboard widget