API Documentation
Build powerful prediction market applications with YesOrNo's REST API and WebSocket connections.
Get API Key
Generate your API credentials from the dashboard
Quick Start
Make your first API call in under 5 minutes
Rate Limits
1000 requests/minute for authenticated users
Introduction
The YesOrNo API allows you to interact programmatically with our prediction market platform. You can create markets, place trades, fetch market data, and manage user positions.
Base URL
https://api.yesorno.com/v1Authentication
All API requests require authentication using an API key.
curl -X GET "https://api.yesorno.com/v1/markets" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json"