Image / Logo URLs
Looking for the football statistic ID mapping? It is served as a machine-readable dictionary at
GET /reference/football/stat-ids (no API key, quota-free, cached 1 hour). See
Match Team Stats.logo / image / photo fields in V6 responses are filenames, not full URLs — for example
"logo": "3315dd709ea94735a8a138478133a2a3.png!w80". Fetch the asset from the authenticated V6 image
endpoint:
{type} is one of teams, competitions, tournaments, players, coaches, referees, venues,
countries. Pass the filename exactly as it appears in the response, including any !w80 thumbnail
suffix.
If you would rather not classify the field, omit the type —
/v6/{sport}/images/{filename} — and we
resolve the asset type for you.
- Requests require
x-api-keyand count against your daily quota, the same as V2 images. V1 images (/v1/{sport}/images/...) remain free if you need high-volume logo serving without spending quota. - Responses are cached for 24 hours (
Cache-Control: public, max-age=86400). Filenames change when the asset changes, so you can cache aggressively on your side. - A filename that no longer exists upstream returns
404 {"success": false, "error": "Image not found upstream"}. An unknown{type}returns400. - Because the endpoint is authenticated, do not put the URL straight into a public
<img src>with your key. Proxy it from your backend or cache the bytes on your own CDN.
Caching Behavior
V6 ships an internal cache to absorb upstream rate limits. Every response includes acacheHit: boolean flag.
You can inspect the cache via:
Error Handling
V6 errors are always JSON, wrapped in{ success: false, error: "..." }. Common cases:
Key Differences vs. Other Versions
Pick V6 when you need deep historical archives, multi-bookmaker odds, and AiScore-specific assets (animation widget, transfers feed, FIFA ranking timeline).