Endpoint referenceWorld cup
/world-cup/team-cards
Friendlies are excluded by name match on the competition.
Friendlies are excluded by name match on the competition. Cards in a friendly
say nothing about how a side will be refereed in a tournament, and including
them would drag every nation's rate down. A fixture with no competition
recorded is kept — the filter is name IS NULL OR NOT ILIKE '%friendly%', so
an unknown competition counts rather than being silently dropped.
Every nation in the standings is listed even with no matches in the window; the rates come back null rather than zero, which a client renders as "no data" rather than "perfect discipline".
Response Body
application/json
application/problem+json
curl -X GET "https://example.com/api/v2/world-cup/team-cards"{ "$schema": "https://example.com/schemas/WorldCupTeamCardsOKBody.json", "data": [ { "cardsAgainstPerGame": 0, "cardsForPerGame": 0, "countrySlug": "string", "games": 0, "internalId": 0, "matchCardsPerGame": 0, "matchO35Pct": 0, "matchO45Pct": 0, "name": "string", "slug": "string", "teamId": 0, "teamO15AgainstPct": 0, "teamO15ForPct": 0 } ]}