API Reference
NODO provides a REST API for programmatic access to market analysis.
Base URL
For self-hosted instances, replace with your server URL.
Authentication
All requests require an API key in the header:
Get your API key from the Telegram bot using /apikey command.
Endpoints
POST /analyze
Analyze a prediction market using AI consensus.
Request:
Parameters:
market
string
Yes
Market URL or ID
tier
string
No
"quick", "standard", or "deep" (default: standard)
strategy
string
No
Analysis strategy to apply
Response (200 OK):
Response (402 Payment Required):
GET /markets
List available markets with optional filtering.
Request:
Parameters:
limit
int
Max markets to return (default: 50)
offset
int
Pagination offset
min_volume
float
Minimum volume in USD
topic
string
Filter by topic (BTC, ETH, POLITICS, etc.)
Response:
GET /opportunities
Get pre-scanned opportunities for a strategy.
Request:
Parameters:
strategy
string
"yield_farming", "delta_neutral", "momentum"
risk
string
For yield: "safe", "moderate", "risky"
limit
int
Max opportunities (default: 10)
Response:
GET /account/balance
Get your current prepaid balance.
Request:
Response:
POST /account/topup
Generate a payment request to add funds.
Request:
Response:
GET /account/usage
Get usage history.
Request:
Response:
Error Codes
PAYMENT_REQUIRED
402
Insufficient balance
UNAUTHORIZED
401
Invalid or missing API key
RATE_LIMITED
429
Too many requests
MARKET_NOT_FOUND
404
Market URL/ID not found
INVALID_REQUEST
400
Malformed request
INTERNAL_ERROR
500
Server error
Error Response Format:
Rate Limits
Free
10
20
Paid
60
100
Rate limit headers are included in all responses:
SDKs
Python
JavaScript
cURL
All examples in this documentation use cURL. Copy and run directly in terminal.
Webhooks (Coming Soon)
Subscribe to alerts when opportunities match your criteria:
Last updated

