Early accessThe API isn’t public yet. Request a key

Docs

IDs

Every player and team has one permanent ID. Store it and it keeps working.

Format

A letter and a number

An ID carries no name, league or season, so a transfer or a rename never changes it.

p34945

a player. The letter p, then a number.

t212

a team. The letter t, then a number.

Use it anywhere

One ID, every endpoint

The same ID works in every endpoint and shows up in every nested object.

cURL
curl https://api.margus.app/v1/teams/t212/roster

Merged records

Old IDs keep working

Sometimes two records turn out to be one person. We keep one ID, and the retired one redirects to it. Your stored IDs don’t break.