MFLGuide

API Token

We recommend sending an MFL API token with your calls, in the X-MFL-Api-Token header. Public data works without one, but the token tells us which tool is calling, so we can give it the right limits and reach you if something goes wrong.

Get a token

Ask our support team through the live chat. The button below opens the chat with a short form already filled in: complete it and send.

Token request
Hi, I'd like to request a token for the MFL API.
Wallet Address:
Discord Username:
What I'm building:
Public tool or personal/private use:
What endpoints and at which frequency (e.g. /matches every 5 min, 10 calls to /players every minute, ...):
URLs of your tool:

Use it

The base URL is https://api.playmfl.com. Add the header to your calls:

curl -H "X-MFL-Api-Token: <your token>" "https://api.playmfl.com/players?limit=10"

From Node.js or any server-side JavaScript:

const res = await fetch('https://api.playmfl.com/players?limit=10', {
  headers: {
    'X-MFL-Api-Token': process.env.MFL_API_TOKEN,
    'User-Agent': 'my-scouting-tool/1.0',
  },
})
const players = await res.json()

Keep your token secret: use it from your server only. Never put it in browser code, a mobile app or a public repository. If it leaks, ask us for a new one.

All endpoints are listed in the API reference.

Building with an AI assistant? Point it to guide.playmfl.com/llms.txt.