New York Knicks schedule & live scores API
Get New York Knicks fixtures, live scores and results as JSON from Realtime Sports API. The team id is 18 in basketball/nba; filter the NBA 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
- 18
- Abbreviation
- NY
- Home venue
- Madison Square Garden, New York
- 2026-27 season
- 80 games
Next game: New York Knicks host Philadelphia 76ers on Tue, Oct 20, 7:00 PM ET at Madison Square Garden.
Upcoming New York Knicks games
| Date | Away | Home | Time / Result | Venue |
|---|---|---|---|---|
| Tue, Oct 20 | Philadelphia 76ers | New York Knicks | 7:00 PM ET | Madison Square Garden · New York, NY |
| Fri, Oct 23 | New York Knicks | Boston Celtics | 7:00 PM ET | TD Garden · Boston, MA |
| Sun, Oct 25 | Orlando Magic | New York Knicks | 7:00 PM ET | Madison Square Garden · New York, NY |
| Tue, Oct 27 | Detroit Pistons | New York Knicks | 8:00 PM ET | Madison Square Garden · New York, NY |
| Wed, Oct 28 | New York Knicks | Chicago Bulls | 8:00 PM ET | United Center · Chicago, IL |
| Fri, Oct 30 | New York Knicks | Philadelphia 76ers | 7:30 PM ET | Xfinity Mobile Arena · Philadelphia, PA |
Times are US Eastern; refreshed hourly. Full New York Knicks schedule with JSON/CSV download
Live example: team detail
Request
curl -H "Authorization: Bearer $RSA_API_KEY" \
"https://www.realtimesportsapi.com/api/v1/sports/basketball/leagues/nba/teams/18"Response captured from live data at 2026-10-07 15:38 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": "18",
"uid": "s:40~l:46~t:18",
"slug": "new-york-knicks",
"location": "New York",
"name": "Knicks",
"abbreviation": "NY",
"displayName": "New York Knicks",
"shortDisplayName": "Knicks",
"color": "1d428a",
"alternateColor": "f58426",
"league": {},
"venue": {
"id": "1830",
"name": "Madison Square Garden",
"city": "New York",
"state": "NY",
"indoor": true,
"grass": false
},
"isActive": true,
"isAllStar": false,
"logos": [
{
"href": "https://realtimesportsapi.com/api/images/proxy?id=GgcVSgNPTUMITUgaFFQVVVQXBVwOHV5LRQBZD1lbBllDXR0DW19AUlxGDVRHFFQR",
"width": 500,
"height": 500,
"alt": "",
"rel": [
"full",
"default"
],
"lastUpdated": "2024-06-25T21:17Z"
},
"... 15 more"
]
}
}Get New York Knicks scores in code
The events endpoint returns the whole NBA scoreboard, so keep the games where either team id is 18.
curl + jq
curl -H "Authorization: Bearer $RSA_API_KEY" \
"https://www.realtimesportsapi.com/api/v1/sports/basketball/leagues/nba/teams/18"
# This team's games in the current scoreboard (filter by team id 18)
curl -s -H "Authorization: Bearer $RSA_API_KEY" "https://www.realtimesportsapi.com/api/v1/sports/basketball/leagues/nba/events" \
| jq '.data[] | select(.homeTeam.id == "18" or .awayTeam.id == "18") | {name, date, status: .status.detail, home: .homeTeam.score, away: .awayTeam.score}'JavaScript (fetch)
const TEAM_ID = "18"; // New York Knicks
const res = await fetch("https://www.realtimesportsapi.com/api/v1/sports/basketball/leagues/nba/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 = "18" # New York Knicks
res = requests.get(
"https://www.realtimesportsapi.com/api/v1/sports/basketball/leagues/nba/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 "basketball" and league "nba" for the next 14 days and list the New York Knicks games (team id 18) 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/basketball/leagues/nba/teams/18/roster, /sports/basketball/leagues/nba/injuries?team=18, /sports/basketball/leagues/nba/news?team=18. Step-by-step builds: guides.
FAQ
- How do I get live New York Knicks scores in JSON?
- Call GET https://www.realtimesportsapi.com/api/v1/sports/basketball/leagues/nba/events/live with a free API key and keep the games where homeTeam.id or awayTeam.id is "18". 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 New York Knicks 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 NBA team and the other leagues.
- What is the New York Knicks team id?
- "18" in league "nba" (sport "basketball"). Use it with /sports/basketball/leagues/nba/teams/18 for team details and /sports/basketball/leagues/nba/teams/18/roster for the roster, and to filter events by homeTeam.id or awayTeam.id.
- When is the next New York Knicks game?
- New York Knicks host Philadelphia 76ers on Tue, Oct 20, 7:00 PM ET at Madison Square Garden. Times are US Eastern; this page refreshes hourly.
- Does the API include New York Knicks betting odds?
- Not reliably. Preseason or off-season when checked; no odds were returned for the games available. The odds endpoint returns data: null when a game has no odds.
- Can I get New York Knicks score alerts pushed to me?
- Yes, on paid plans: register a webhook for event.score_change and event.final filtered to league "nba", then keep deliveries where data.homeTeam.id or data.awayTeam.id is "18" (webhooks filter by league, not team). WebSocket works the same way.