Developers & API
Everything an agent or integration needs to build on TrophyCoach, in one place. The Agent API is versioned by date (current: 2026-08-24), returns JSON on every error, and reports its rate limit (300 requests per 60s per key) in response headers. Every public page is also available as markdown via Accept: text/markdown or a .md URL suffix.
Resources
- OpenAPI 3.1 spec
/openapi.jsonThe Agent API: meta snapshots, matchups, counters, deck checks, player analysis. Typed error envelope, rate-limit headers, versioning policy.
- Authentication guide
/auth.mdHow each surface authenticates — public, x-api-key, or x402/USDC pay-per-call — plus errors, rate limits, and the deprecation policy.
- Pricing (machine-readable)
/pricing.mdSubscription tiers and per-call MCP tool prices.
- MCP server
https://mcp.trophycoach.com/api/mcpLive Clash Royale metagame data over Streamable HTTP. get_meta_overview is free; other tools are paid per call via x402. No account needed.
- llms.txt
/llms.txtWhen to use TrophyCoach, key pages, and every agent resource in one plain-text index. A full-content variant lives at /llms-full.txt.
- AI resource catalog (ARD)
/.well-known/ai-catalog.jsonAgentic Resource Discovery catalog of MCP servers, APIs, and docs.
- API catalog (RFC 9727)
/.well-known/api-catalogLinkset pointing at the OpenAPI spec and API base.
- MCP server card
/.well-known/mcp/server-card.jsonServer identity, transport, and payment metadata for the MCP endpoint.
Getting an API key
Keys for /api/gpt/* are issued to approved integrations. Request access via the contact form; the MCP server needs no key. See About TrophyCoach for who we are.

