Odds Shark Scraper
Extract betting odds comparisons, point spreads, and over/under lines across sportsbooks from Odds Shark. Powered by spider-browser .
Extract data in minutes
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.oddsshark.com/nfl/odds");
await page.content();
const data = await page.evaluate(`(() => {
const games = [];
document.querySelectorAll("[class*='odds-table'] [class*='game-row']").forEach(el => {
const away = el.querySelector("[class*='away-team']")?.textContent?.trim();
const home = el.querySelector("[class*='home-team']")?.textContent?.trim();
const spread = el.querySelector("[class*='spread']")?.textContent?.trim();
const moneyline = el.querySelector("[class*='moneyline']")?.textContent?.trim();
const total = el.querySelector("[class*='total']")?.textContent?.trim();
if (away && home) games.push({ away, home, spread, moneyline, total });
});
return JSON.stringify({ total: games.length, games: games.slice(0, 10) });
})()`);
console.log(JSON.parse(data));
await spider.close(); Structured data endpoint
Extract structured JSON from oddsshark.com with a single POST request. AI-configured selectors, cached for fast repeat calls.
/fetch/oddsshark.com/ curl -X POST https://api.spider.cloud/fetch/oddsshark.com/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"return_format": "json"}' import requests
resp = requests.post(
"https://api.spider.cloud/fetch/oddsshark.com/",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
json={"return_format": "json"},
)
print(resp.json()) const resp = await fetch("https://api.spider.cloud/fetch/oddsshark.com/", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data); Data you can extract
Live scores & stats
Extract real-time scores, player stats, and standings from oddsshark.com.
Dynamic scoreboards
Full browser rendering for live-updating scoreboards and stat tables.
League coverage
Scrape across multiple leagues, seasons, and teams concurrently.
More Sports & Fitness scrapers
Extract live scores, game schedules, standings, and sports news from ESPN across all major leagues.
Extract NBA game scores, player stats, team standings, and league news from the official NBA site.
Extract NFL game scores, team schedules, player stats, and league news from the official NFL site.
Start scraping oddsshark.com
Get your API key and start extracting data in minutes.