API Gateway
API Overview
Authentication
# Get JWT token
curl -X POST http://localhost:8000/auth/token \
-H "Content-Type: application/json" \
-d '{"username": "user", "password": "pass"}'
# Use token
curl -X GET http://localhost:8000/api/v1/analyze \
-H "Authorization: Bearer <token>"# Use API key in header
curl -X GET http://localhost:8000/api/v1/analyze \
-H "X-API-Key: your-api-key"Endpoints
AI Service
Analytics
Contract Analysis
Request Examples
Analyze Contract
Get Price Data
Error Handling
WebSocket Support
Last updated