Search
Full-text search across all markets and events.
GET
/api/search?q=query
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| q | string | required | Search query (min 2 characters) |
Response
Response
200 OK
{
"success": true,
"data": {
"markets": [
{
"id": 142,
"title": "Will Bitcoin reach $150K by July 2026?",
"category": "Crypto",
"yes_price": 0.62,
"volume": 45230.50,
"status": "active"
}
],
"events": [
{
"id": 15,
"title": "Bitcoin Price Milestones 2026",
"slug": "bitcoin-price-milestones-2026",
"markets_count": 5
}
]
}
}
Example
curl "https://oddsforge.org/api/search?q=bitcoin"
ℹ️
Search Tips: Search matches against market titles, descriptions, categories, and event titles. It is case-insensitive and supports partial matches.
OddsForge