Skip to main content
The POST /query_club endpoint looks up a club in the SquadAssist database using an external or internal ID. Use it to resolve the club_id required by the valuation endpoints when you only have a Transfermarkt ID. The response returns the club’s SquadAssist ID, Transfermarkt ID, and the club’s name.

Request

The request body must be a JSON object containing at least one of the following fields.
integer
The Transfermarkt club ID (a positive integer). You can find this in the Transfermarkt URL for a club — for example, rsca.be has the Transfermarkt ID 415.
string
A SquadAssist internal club ID. Use this to verify or enrich a club ID you already have.

Response

string
The SquadAssist internal club ID. Pass this as club_id in the valuation endpoints.
integer or null
The Transfermarkt club ID associated with this club. null if no Transfermarkt ID is recorded.
string
The club’s name as it appears in SquadAssist.

Example

Errors