Library for scraping soccer data from the internet

Usage no npm install needed!

<script type="module">
  import soccerbot from '';



npm version Package License NPM Downloads Build & Publish codecov stars forks HitCount

Library for scraping soccer data from the internet


Nodejs 12 or higher need to be installed first

npm install soccerbot


yarn add soccerbot

Quick start

Type this into your ts file.

import { soccerway, transfermarkt, fotbalunas, eurofotbal, sportnet } from 'soccerbot';

console.log(soccerway.teamUrl('533')); // show url'533')
  .then(res => console.log(res));

console.log(transfermarkt.teamUrl('62')); // show url'62')
  .then(res => console.log(res));

console.log(fotbalunas.teamUrl('62')); // show url'62')
  .then(res => console.log(res));

console.log(eurofotbal.teamUrl('cesko/sparta-praha')); // show url'cesko/sparta-praha')
  .then(res => console.log(res));

console.log(sportnet.teamUrl('fk-inter-bratislava/tim/46770')); // show url'fk-inter-bratislava/tim/46770')
  .then(res => console.log(res));


Source Speed Stability Coverage
transfermarkt ⚽⚽⚽ ⚽⚽⚽ World
soccerway World
fotbalunas ⚽⚽⚽ Czech Republic
eurofotbal ⚽⚽ ⚽⚽ Europe
sportnet Slovakia

Note: Soccerway, Fotbalunas and sportnet is taking data from multiple pages, so it takes longer period of time. The reason is to prevent rare limit (30 sec on average).


Copyright © 2021 Dominik Hladik

All contents are licensed under the MIT license.