Runnable examples for the Sofascore Scraper — Live Scores, Events & Results | $1.9/1K on Apify.
Scrape Sofascore live scores, scheduled events and results by sport and date. Returns teams, score, status (live/finished/scheduled), start time, tournament, country, event ID and URL. Football, basketball, tennis, baseball and 15+ sports supported.
away_score · away_score_normaltime · away_score_overtime · away_score_period1 · away_score_period2 · away_team · away_team_id · country · custom_id · event_id · event_url · home_score · home_score_normaltime · home_score_overtime · home_score_period1 · home_score_period2 · home_team · home_team_id · league · live_minute · parse_confidence · round · round_name · scraped_at · sport · start_time · start_timestamp · status · status_code · status_description · tournament · tournament_id
- Get your Apify token: https://console.apify.com/account/integrations
- Run a language example below. Both call the actor and print the results.
| Example | File |
|---|---|
Python (apify-client) |
examples/python/run.py |
JavaScript (apify-client) |
examples/javascript/run.js |
| Sample output (real records) | examples/sample_output.json |
{
"sport": "football",
"mode": "by-date",
"statusFilter": "all",
"maxItems": 100,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": [
"RESIDENTIAL"
]
}
}- Actor on Apify Store: https://apify.com/bovi/sofascore-live-events
- Apify client docs: Python · JavaScript
MIT-licensed examples. The actor runs on the caller's Apify account (you pay platform compute + per-result).