Getting started
Quickstart
Find an ID, make a request, read the response.
Get a key
Ask for early access
01
Email hello@margus.app.
02
Tell us what you’re building and which leagues you need.
03
We reply with a key when your access opens.
Make your first request
One URL, one ID
Every resource lives under one base URL. Ask for a player by ID.
curl https://api.margus.app/v1/players/p34945Read the response
JSON, the same shape every time
You get JSON back. IDs start with p for players and t for teams, and nested objects carry their own ID so you can follow them.
{
"id": "p34945",
"name": "Erling Haaland",
"sport": "soccer",
"team": { "id": "t212", "name": "Manchester City" }
}Go deeper
Add a segment to narrow it
Add a segment to the path to narrow the result. This returns the same player’s game log.
curl https://api.margus.app/v1/players/p34945/games