Endpoints, gaps, and the workarounds
The Fantrax API, and what you can read with it
The Fantrax API is a read-only external API at www.fantrax.com/fxea/general that returns league info, team rosters with a salary on every player, standings, draft results, average draft position, and the player universe.
League Loom reads all of it for you, so those become answers inside Claude or ChatGPT with no client to write and no key to request.
Connect your leaguesLooking for plain setup steps instead? See Connect Fantrax to ChatGPT and Claude.
Looking for ESPN or Sleeper over MCP? See Fantasy MCP servers compared.
Last updated
Fantrax publishes a read-only external API at www.fantrax.com/fxea/general. These are the calls League Loom uses and what each one gives you:
| Endpoint | What it returns |
|---|---|
| getLeagueInfo | League name, teams, team ids, scoring label |
| getTeamRosters | Every roster, with per-player salary |
| getStandings | Rank, record, points for and against |
| getDraftResults | Round, pick, team, and auction bid |
| getAdp | Average draft position by player |
Straight from getTeamRosters. Fantrax is the platform whose roster feed carries a contract value on every player:
| Player | Pos | Salary |
|---|---|---|
| Nikola Jokic | C | $41.0 |
| Anthony Edwards | SG | $28.5 |
| Alperen Sengun | C | $12.0 |
| Jalen Williams | SF | $4.5 |
The available-player pool ranked, with average draft position attached from the official Fantrax ADP feed:
Illustrative example, not a live league report. Your answer depends on your league data and AI tool.
2 minutes
How to connect
Add the connector
In Claude or any MCP client, add a custom connector; in ChatGPT on the web, turn on developer mode and use the + button on the Plugins page. Give it a name and paste the League Loom URL as the server address. No API key to request.
Paste your league URL
Because Secret ID discovery often returns nothing, setup takes the URL from your address bar and reads the league id out of it. The Secret ID stays optional.
Name your team once
Fantrax exposes no owner data on any endpoint, so nothing can tell which team is yours. Pick it once and every later answer knows your roster and your standing.
Adding a connector is a job for a computer. Send yourself the link and finish there.
https://leagueloom.com/mcpYour tool asks for a name and this URL. Then connect your leagues in the setup wizard. Personal team selection is optional.
Why League Loom
Endpoints, gaps, and the workarounds
Fantrax runs some of the most complicated fantasy leagues anywhere, and its API is the least documented of the major platforms, which is why so few tools read it. The official surface is a read-only external API at www.fantrax.com/fxea/general, and it is genuinely useful: league info and scoring, full team rosters carrying a salary on every player, standings, draft results including auction bids, average draft position, and the player universe with cross-platform ids.
Two gaps matter if you are building against it yourself. League discovery is keyed to a Secret ID from your profile and returns an empty list for a great many accounts, so a tool that relies on it will simply find nothing; passing a league id or a pasted league URL is the path that works.
And matchups, transactions, and the ranked available-player pool have no external endpoint at all, so those come from the API the Fantrax website itself calls, which answers without a login for a league that is publicly viewable and refuses one that is not. League Loom absorbs both of those, including a fallback that rebuilds the available-player pool from the official feeds when the site API declines, so you ask questions instead of maintaining a client.
FAQ
Questions
Does Fantrax have a public API?
Yes, a read-only external API at www.fantrax.com/fxea/general, documented on the Fantrax developer page. League Loom uses seven of its endpoints: getLeagueInfo, getTeamRosters, getStandings, getDraftResults, getAdp, getPlayerIds, and getLeagues. There is no write capability in it, so nothing can set a lineup, submit a waiver claim, or make a trade through it.
Where do I find my Fantrax league ID?
Open the league on fantrax.com and read the address bar. The URL looks like fantrax.com/fantasy/league/<leagueId>/home, and the long string after /league/ is the id the endpoints want. League Loom accepts either that id or the whole URL pasted in, and pulls the id out for you.
What is the Fantrax Secret ID and do I need one?
It is a 16-character read-only key under User Profile on fantrax.com, and it does one job: it lets getLeagues list the leagues on your account. It cannot authorize any change to a team. In League Loom it is optional, because that discovery call comes back empty for many accounts, so pasting a league URL is the reliable route.
Why does the Fantrax API return nothing for my league?
Usually one of two reasons. League discovery by Secret ID is unreliable and often returns an empty list even when your account has leagues, so pass a league id or URL directly instead. Separately, matchups and transactions come from the API the Fantrax site itself uses, and that refuses a league which is not publicly viewable, so ask your commissioner to make the league viewable.
Does the Fantrax API include ADP and player salaries?
Both, and they are the reason Fantrax data is worth reading. Average draft position comes from the official getAdp feed, and salaries ride along on every player in getTeamRosters, which is what makes cap and contract analysis possible in a way most fantasy APIs cannot support.
Which Fantrax endpoints cover matchups and transactions?
None of the external ones. Matchups, transactions, and the ranked available-player pool come from the API the Fantrax website itself calls, where League Loom uses the standings view for matchups, the team roster info call for a single team, the transaction history call for recent moves, and the player stats call for the available pool. That API answers without a login for a publicly viewable league and refuses one that is not, which is why those specific answers can come back empty while rosters and standings do not.
Do I have to write code to use the Fantrax API?
No. League Loom is a free MCP connector that has already done the HTTP work, the URL parsing, the player name resolution, and the sport-specific quirks. Add its connector URL to Claude, ChatGPT, or any MCP client, paste your league URL once, and ask questions in plain language instead of building and maintaining your own client.
Before you connect a league, read how League Loom is built, what the privacy policy says is stored, the terms of service and the full FAQ, or check the press kit with key facts and who builds it.
Ready in two minutes
Bring League Loom to your AI tool
Free connector, private setup, and 18 current tools that retrieve or analyze your league data. No write-action tools are registered today.