West Ham United schedule & live scores API

Get West Ham United fixtures, live scores, odds and results as JSON from Realtime Sports API. The team id is 371 in soccer/eng.2; filter the EFL Championship 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
371
Abbreviation
WHU
Home venue
London Stadium, London
2026-27 English League Championship season
46 games · record 6 won, 6 drawn, 4 lost

Next game: West Ham United visit Portsmouth on Tue, Nov 24, 2:45 PM ET at Fratton Park.

Upcoming West Ham United games

Upcoming West Ham United games
DateAwayHomeTime / ResultVenue
Tue, Nov 24West Ham UnitedatPortsmouth2:45 PM ETFratton Park · Portsmouth
Sat, Nov 28Stoke CityatWest Ham United10:00 AM ETLondon Stadium · London
Fri, Dec 4West Ham UnitedatSheffield United3:00 PM ETBramall Lane · Sheffield
Tue, Dec 8MiddlesbroughatWest Ham United3:00 PM ETLondon Stadium · London
Sat, Dec 12Bristol CityatWest Ham United10:00 AM ETLondon Stadium · London
Sat, Dec 19West Ham UnitedatBirmingham City7:30 AM ETSt. Andrew's Stadium · Birmingham

Times are US Eastern; refreshed hourly. Full West Ham United schedule with JSON/CSV download

Recent West Ham United results

Recent West Ham United results
DateAwayHomeTime / ResultVenue
Sat, Nov 21Preston North EndatWest Ham United1 - 1 FinalLondon Stadium · London
Sat, Nov 7West Ham UnitedatBlackburn Rovers1 - 2 FinalEwood Park · Blackburn
Wed, Nov 4West Ham UnitedatCardiff City3 - 3 FinalCardiff City Stadium · Cardiff
Sat, Oct 31West Bromwich AlbionatWest Ham United3 - 1 FinalLondon Stadium · London
Sat, Oct 24SouthamptonatWest Ham United3 - 2 FinalLondon Stadium · London

Live example: team detail

Request

curl -H "Authorization: Bearer $RSA_API_KEY" \
  "https://www.realtimesportsapi.com/api/v1/sports/soccer/leagues/eng.2/teams/371"

Response captured from live data at 2026-11-21 17:33 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": "371",
    "uid": "s:600~t:371",
    "slug": "eng.west_ham",
    "location": "West Ham United",
    "name": "West Ham United",
    "nickname": "Hammers/Iron",
    "abbreviation": "WHU",
    "displayName": "West Ham United",
    "shortDisplayName": "West Ham",
    "color": "7c2c3b",
    "alternateColor": "F1E7E0",
    "league": {},
    "venue": {
      "id": "6660",
      "name": "London Stadium",
      "city": "London"
    },
    "isActive": true,
    "isAllStar": false,
    "logos": [
      {
        "href": "https://realtimesportsapi.com/api/images/proxy?id=GgcVSgNPTUMITUgaFFQVVVQXBVwOHV5LRQBZD1lbBllDXQAOWRMQEENcUx1GVw1HH0pXAQ",
        "width": 500,
        "height": 500,
        "alt": "",
        "rel": [
          "full",
          "default"
        ],
        "lastUpdated": "2019-05-08T16:07Z"
      },
      "... 1 more"
    ]
  }
}

Get West Ham United scores in code

The events endpoint returns the whole EFL Championship scoreboard, so keep the games where either team id is 371.

curl + jq

curl -H "Authorization: Bearer $RSA_API_KEY" \
  "https://www.realtimesportsapi.com/api/v1/sports/soccer/leagues/eng.2/teams/371"

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

JavaScript (fetch)

const TEAM_ID = "371"; // West Ham United
const res = await fetch("https://www.realtimesportsapi.com/api/v1/sports/soccer/leagues/eng.2/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 = "371"  # West Ham United
res = requests.get(
    "https://www.realtimesportsapi.com/api/v1/sports/soccer/leagues/eng.2/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 "soccer" and league "eng.2" for the next 14 days and list the West Ham United games (team id 371) 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/soccer/leagues/eng.2/teams/371/roster, /sports/soccer/leagues/eng.2/news?team=371. Step-by-step builds: guides.

FAQ

How do I get live West Ham United scores in JSON?
Call GET https://www.realtimesportsapi.com/api/v1/sports/soccer/leagues/eng.2/events/live with a free API key and keep the games where homeTeam.id or awayTeam.id is "371". 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 West Ham United 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 EFL Championship team and the other leagues.
What is the West Ham United team id?
"371" in league "eng.2" (sport "soccer"). Use it with /sports/soccer/leagues/eng.2/teams/371 for team details and /sports/soccer/leagues/eng.2/teams/371/roster for the roster, and to filter events by homeTeam.id or awayTeam.id.
When is the next West Ham United game?
West Ham United visit Portsmouth on Tue, Nov 24, 2:45 PM ET at Fratton Park. Times are US Eastern; this page refreshes hourly.
Does the API include West Ham United betting odds?
Yes, for upcoming EFL Championship games that have a line: GET /sports/soccer/leagues/eng.2/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 West Ham United score alerts pushed to me?
Yes, on paid plans: register a webhook for event.score_change and event.final filtered to league "eng.2", then keep deliveries where data.homeTeam.id or data.awayTeam.id is "371" (webhooks filter by league, not team). WebSocket works the same way.

All EFL Championship team APIs · EFL Championship API · Free EFL Championship scoreboard widget