Skip to main content

API Introduction

The Intotes API provides programmatic access to the prediction market platform. All endpoints are RESTful and return JSON responses.

Base URL​

https://intotes.com/api/v1/

All endpoints documented in this reference are relative to this base URL.

Request Format​

  • Content-Type: application/json for POST, PUT, and PATCH requests
  • Maximum body size: 1 MB
  • Timestamps: RFC 3339 format (2024-01-15T10:30:00Z)

Money Format​

All monetary values are integers in cents (kopecks for RUB):

Display ValueAPI Value
1.00 RUB100
100.00 RUB10000
1,000.00 RUB100000

Market prices use the range 0–10000, representing 0.00%–100.00% probability. YES + NO prices always sum to 10000.

See Money Format for full details.

Response Format​

Successful responses return the resource directly:

{
"id": 42,
"name": "Example Event",
"status": "started"
}

Paginated responses include cursor fields:

{
"events": [],
"next_cursor": "abc123",
"has_more": true
}

Error Format​

All errors use a consistent structure:

{
"error": {
"code": "INSUFFICIENT_BALANCE",
"message": "Not enough funds for this trade"
}
}

See Error Handling for the complete error code reference.