AI
AI Football

API Reference

Call any AI Football tool via REST API. Get an API key from the Developer Portal, then use the endpoints below.

Authentication

Pass your API key in the Authorization header:

Authorization: Bearer tft_sk_your_key_here

Keys are created in the Developer Portal. Product-specific keys use prefixes like fgpt_sk_, rgpt_sk_, cr_sk_.

Base URLs

MCP Gateway:  https://mcp.360tft.com/{product}/mcp
REST API:     https://mcp.360tft.com/{product}/api/{tool_name}

Products: footballgpt, refereegpt, coachreflect

The MCP endpoint accepts JSON-RPC 2.0 requests (for Claude Desktop and MCP clients). The REST API accepts standard JSON POST requests.

Rate limits

TierCalls/dayPrice
Free10$0
Pro100Product subscription
Developer1,000$29/month

Rate limit resets at midnight UTC. The response includes an X-RateLimit-Remaining header.

Error codes

StatusMeaning
200Success
400Bad request (missing or invalid parameters)
401Invalid or missing API key
429Rate limit exceeded
500Internal server error

FootballGPT

Base: https://mcp.360tft.com/footballgpt/api/

POST/api/mcp/get-coaching-advice

FootballGPT

Ask 18 specialist AI advisors for coaching guidance across grassroots, academy, and professional levels.

ParamRequiredDescription
messageYesYour coaching question
modeNocoach, player, fm, or goalkeeper
advisorNograssroots-guru, academy-mind, sunday-specialist, pros-pro, gk-coach, scout-advisor, general
ageGroupNoe.g. u10, u14, senior
Example
curl -X POST https://mcp.360tft.com/footballgpt/api/get_coaching_advice \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer tft_sk_your_key_here" \
  -d '{"message": "Best warm-up for U12s?"}'
POST/api/mcp/generate-session-plan

FootballGPT

Generate complete training session plans with warm-up, main activity, progressions, and cool-down.

ParamRequiredDescription
topicYesSession topic (e.g. defending, passing)
ageGroupYese.g. u10, u14, senior
durationNoMinutes (default: 60)
playerCountNoNumber of players (default: 16)
Example
curl -X POST https://mcp.360tft.com/footballgpt/api/generate_session_plan \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer tft_sk_your_key_here" \
  -d '{"topic": "1v1 defending", "ageGroup": "u12", "duration": 60}'
POST/api/mcp/animate-drill

FootballGPT

Turn text descriptions into animated football drill diagrams with player movements and passes.

ParamRequiredDescription
descriptionYesDrill description in plain English
categoryNotechnical, tactical, physical, set-piece
ageGroupNoe.g. u10, u14, senior
Example
curl -X POST https://mcp.360tft.com/footballgpt/api/animate_drill \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer tft_sk_your_key_here" \
  -d '{"description": "4v2 rondo with rotation on loss of possession"}'
POST/api/mcp/search-player-stats

FootballGPT

Search real player statistics from 100+ football leagues worldwide.

ParamRequiredDescription
nameNoPlayer name
leagueNoLeague name
positionNoPlayer position
seasonNoe.g. 2024-2025
Example
curl -X POST https://mcp.360tft.com/footballgpt/api/search_player_stats \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer tft_sk_your_key_here" \
  -d '{"name": "Saka", "league": "Premier League"}'
POST/api/mcp/search-drills

FootballGPT

Search the community drill library by topic, age group, and category.

ParamRequiredDescription
queryYesSearch query
categoryNopassing, shooting, defending, etc.
ageGroupNoe.g. u10, u14, senior
Example
curl -X POST https://mcp.360tft.com/footballgpt/api/search_drills \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer tft_sk_your_key_here" \
  -d '{"query": "1v1 defending drills"}'

RefereeGPT

Base: https://mcp.360tft.com/refereegpt/api/

POST/api/mcp/check-law

RefereeGPT

Search IFAB Laws of the Game with RAG. 9 country-specific rule variations supported.

ParamRequiredDescription
queryYesYour rules question
countryNoengland, scotland, usa, australia, canada, ireland, wales, northern-ireland, south-africa
refereeLevelNograssroots, youth, amateur, semi-professional, professional
Example
curl -X POST https://mcp.360tft.com/refereegpt/api/check_law \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer tft_sk_your_key_here" \
  -d '{"query": "Can a goalkeeper pick up a throw-in?"}'
POST/api/mcp/analyze-incident

RefereeGPT

Get AI analysis of match incidents with specific law references and the correct decision.

ParamRequiredDescription
descriptionYesDescribe the incident
countryNoCountry for local rules (default: england)
Example
curl -X POST https://mcp.360tft.com/refereegpt/api/analyze_incident \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer tft_sk_your_key_here" \
  -d '{"description": "Player removes shirt after scoring"}'
POST/api/mcp/generate-quiz

RefereeGPT

Generate referee training quizzes on any topic with multiple difficulty levels.

ParamRequiredDescription
topicYesLaw or topic to quiz on
difficultyNobeginner, intermediate, advanced
countryNoCountry for local rules
Example
curl -X POST https://mcp.360tft.com/refereegpt/api/generate_quiz \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer tft_sk_your_key_here" \
  -d '{"topic": "offside", "difficulty": "intermediate"}'

CoachReflect

Base: https://mcp.360tft.com/coachreflect/api/

POST/api/mcp/log-reflection

CoachReflect

Log coaching session reflections and get AI-powered analysis of your coaching patterns.

ParamRequiredDescription
reflectionYesYour session reflection
sessionTypeNotraining, match, observation, cpd, general
moodNogreat, good, neutral, challenging, difficult
energyNohigh, medium, low
Example
curl -X POST https://mcp.360tft.com/coachreflect/api/log_reflection \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer tft_sk_your_key_here" \
  -d '{"reflection": "Great session today. 1v1 defending clicked with the U14s."}'
POST/api/mcp/get-patterns

CoachReflect

Analyse coaching reflections to find recurring patterns, strengths, and areas for development.

ParamRequiredDescription
timeRangeNoweek, month, quarter, all
focusNocommunication, session planning, player engagement, behaviour management
Example
curl -X POST https://mcp.360tft.com/coachreflect/api/get_patterns \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer tft_sk_your_key_here" \
  -d '{"timeRange": "month"}'
POST/api/mcp/coaching-chat

CoachReflect

Chat with your coaching reflection history. Ask questions about your development.

ParamRequiredDescription
messageYesYour question
contextNoAdditional context
Example
curl -X POST https://mcp.360tft.com/coachreflect/api/coaching_chat \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer tft_sk_your_key_here" \
  -d '{"message": "What have I improved on most this season?"}'

Response format

Success (200)
{
  "text": "Here is the coaching advice...",
  "toolName": "get_coaching_advice"
}
Rate limit exceeded (429)
{
  "error": "Rate limit exceeded",
  "message": "You have used all 10 free calls today.",
  "upgrade_url": "https://footballgpt.co/pricing"
}

Get started

Create a free API key and start calling tools in minutes.

Go to Developer Portal