Scout The Bot API - current, clear, and ready to build.
Use the API to pull team descriptions, automate scouting tools, and integrate support + manual lookups.
Base URL
All requests are same-origin. Use your deployed site domain.
Access rules
API keys are for data access. Writes are locked behind team or admin sessions.
- Send a key with the
x-api-keyheader,apiKeyquery param, orapi_keycookie. - API keys are read-only and can fetch team descriptions, stats, images, and manual status.
- Any write to team data, images, notes, or passwords requires a logged-in session.
- Public write endpoints are limited to support tickets, manual chat, alliance requests, and predictions.
Request API access
To get an API key for external integrations, reach out to support.
Include your team number, use case, and expected request volume.
Quickstart
Set your base URL, then call the team data endpoint.
curl -H "x-api-key: YOUR_KEY" "{baseUrl}/api/team/data/12345"
API key auth
All /api calls require a key. Browser sessions on scoutthebots.org receive a public key cookie automatically.
x-api-key: YOUR_KEY
x-api-key on every request.Sessions for writes
Team and admin sessions unlock write access. Use the auth endpoints to create a session cookie.
- Team login:
/api/auth/initthen/api/auth/verify. - Admin login:
/api/admin/login. - Writes without a session return
403.
Error handling
Errors always return JSON with an error string. Use status codes to branch logic.
{
"error": "Invalid or inactive API key"
}
aiError and a safe fallback message.Endpoint reference
Updated for 2025-2026Expand an endpoint to view auth requirements, payloads, and response notes.
Core data (read)
GET /api/team/data/:teamNumber Team descriptions + canEdit flag
GET {baseUrl}/api/team/data/12345GET /api/images/:teamNumber Image list for a team
filename and type.GET /api/stats/overview Public site metrics
Authentication & team sessions
POST /api/auth/init Start team auth challenge
POST /api/auth/verify Verify challenge + start session
GET /api/auth/status Check session
POST /api/auth/logout Clear team session
POST /api/team/password Set team password
POST /api/team/update Update team descriptions
POST /api/upload Upload team images
image, teamNumber, and type.GET /api/notes List private notes
GET /api/notes/:subjectTeam Read a private note
POST /api/notes Create or update a note
Support & reports
POST /api/support/create Open a support ticket
POST /api/support/upload Upload support images
image.GET /api/support/threads List ticket threads
x-support-token header or ?token=....GET /api/support/thread/:id Get thread + messages
POST /api/support/thread/:id/message Reply to a thread
POST /api/report Report an issue
Manual & AI
GET /api/manual/status Manual metadata
POST /api/manual/chat Ask the game manual
Strategy & predictions
POST /api/alliance-selection Alliance partner suggestions
POST /api/predictions/batch Submit match prediction outcomes
Analytics
POST /api/site/visit Track a site visit
Admin
POST /api/admin/login Start admin session
POST /api/admin/logout Clear admin session
GET /api/admin/stats Admin dashboard stats
GET /api/admin/teams Team registry
POST /api/admin/teams/:teamNumber/reset-password Reset team password
GET /api/admin/api-keys List API keys
POST /api/admin/api-keys Create API key
DELETE /api/admin/api-keys/:id Delete API key
GET /api/admin/support/threads All support threads
GET /api/admin/support/threads/:id Thread details
POST /api/admin/support/threads/:id/message Reply to thread
POST /api/admin/support/threads/:id/status Update status
POST /api/admin/support/threads/:id/delete Delete thread (legacy)
DELETE /api/admin/support/threads/:id Delete thread
GET /api/admin/reports Reported issues
POST /api/admin/reports/:id/close Close report
DELETE /api/admin/image/:id Remove an image
FTC Scout proxy
PROXY /v2.0/* Pass-through to FTC Scout API
Need help?
Reach out any time for onboarding, higher limits, or integration questions.