Skip to main content
AI Studio  add-on for Spider.
Sports & Fitness
nhl.com Verified

NHL.com Scraper

Extract NHL game scores, player stats, team standings, and league news from the official NHL site. Built on spider-browser .

Get started Docs
target
nhl.com
success rate
99.9%
latency
~4ms
POST /fetch/nhl.com/
return_format
curl -X POST https://api.spider.cloud/fetch/nhl.com/ \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
200 OK · cache hit · response shape
{
  "url": "https://nhl.com/",
  "status": 200,
  "data": {
    "game_score": "string",
    "period": "string",
    "teams": "string",
    "goal_scorers": "string",
    "standings": "string",
    "schedule": "string",
    "player_stats": "string"
  }
}
Quick start

Extract data in minutes.

Structured JSON from nhl.com with a single POST. AI-resolved selectors, cached on the first call.

nhl-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
  stealth: 2,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://www.nhl.com/scores");

const data = await page.extractFields({
  awayTeam: "[class*='away-team'] [class*='team-name']",
  homeTeam: "[class*='home-team'] [class*='team-name']",
  awayScore: "[class*='away-team'] [class*='score']",
  homeScore: "[class*='home-team'] [class*='score']",
  period: "[class*='game-status']",
  venue: "[class*='venue']",
});

console.log(data);
await spider.close();
ready to run · spider-browser · TypeScript
Extraction

Fields you can pull.

Game scorePeriodTeamsGoal scorersStandingsSchedulePlayer stats
Data

Live scores & stats

Extract real-time scores, player stats, and standings from nhl.com.

Rendering

Dynamic scoreboards

Full browser rendering for live-updating scoreboards and stat tables.

Scale

League coverage

Scrape across multiple leagues, seasons, and teams concurrently.

Related

More Sports & Fitness scrapers.

Start

Start scraping nhl.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.