Appearance
๐ OpenAPI Reference โ
Interactive API Documentation โ
For full interactive Swagger UI, use these external tools with our OpenAPI specification:
๐ ๏ธ Online Swagger Editor โ
- Copy the content from openapi.json
- Paste into Swagger Editor
- Test requests directly in your browser
๐ฑ Postman Collections โ
- Import URL:
https://fantasy402-api-production.utahj4754.workers.dev/docs/openapi.json - Full request/response testing with authentication
๐ Alternative Online Viewers โ
- Swagger UI Online - Paste our OpenAPI JSON
- Stoplight Elements - Modern API docs
๐ Complete API Specification โ
The Fantasy402 MCP API follows OpenAPI 3.1.0 specification with 40+ tools:
- ๐ค AI Intelligence: Player analysis, anomaly detection, market analysis
- ๐ฅ Fantasy402 Manager: Customer admin, agent performance, weekly figures
- โฝ Core Betting: Place bets, get odds, manage betting pipeline
- ๐ฐ Financial Operations: Commissions, settlements, cash flow
- ๐ก๏ธ Risk Management: Sharp detection, exposure monitoring, circuit breakers
- โ๏ธ Operational Tools: Performance monitoring, system management
๐ Quick Links โ
- ๐ Raw OpenAPI JSON - Complete specification
- ๐งช Tool Tester - Interactive testing interface
- ๐ JSON-RPC Reference - Protocol specification
- ๐ Home - Documentation overview
๐ Getting Started โ
1. Choose Your Tool โ
Use either the Tool Tester for direct API testing or import our OpenAPI spec into your preferred API client.
2. Authentication โ
All endpoints require proper API credentials. Contact your Fantasy402 representative for authentication details.
3. JSON-RPC Format โ
All requests follow the JSON-RPC 2.0 specification:
json
{
"jsonrpc": "2.0",
"id": "unique-request-id",
"method": "tools/call",
"params": {
"name": "toolName",
"arguments": {
// Tool-specific parameters
}
}
}4. Response Format โ
json
{
"jsonrpc": "2.0",
"id": "unique-request-id",
"result": {
"content": [
{
"type": "text",
"text": "Tool execution result"
}
],
"isError": false
}
}๐ก Need Help? โ
- API Documentation: See the JSON-RPC Reference for complete protocol details
- Interactive Testing: Use the Tool Tester for quick experiments
- Raw Specification: Download openapi.json for integration