Surf Search Prediction Markets
curl --request POST \
--url https://api.aisa.one/apis/v1/surf/search/prediction-market \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"condition_id": "<string>",
"limit": 20,
"market_ticker": "<string>",
"offset": 0,
"order": "desc",
"q": "<string>",
"sort_by": "volume_7d",
"status": "active"
}
'import requests
url = "https://api.aisa.one/apis/v1/surf/search/prediction-market"
payload = {
"condition_id": "<string>",
"limit": 20,
"market_ticker": "<string>",
"offset": 0,
"order": "desc",
"q": "<string>",
"sort_by": "volume_7d",
"status": "active"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
condition_id: '<string>',
limit: 20,
market_ticker: '<string>',
offset: 0,
order: 'desc',
q: '<string>',
sort_by: 'volume_7d',
status: 'active'
})
};
fetch('https://api.aisa.one/apis/v1/surf/search/prediction-market', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/surf/search/prediction-market",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'condition_id' => '<string>',
'limit' => 20,
'market_ticker' => '<string>',
'offset' => 0,
'order' => 'desc',
'q' => '<string>',
'sort_by' => 'volume_7d',
'status' => 'active'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/surf/search/prediction-market"
payload := strings.NewReader("{\n \"condition_id\": \"<string>\",\n \"limit\": 20,\n \"market_ticker\": \"<string>\",\n \"offset\": 0,\n \"order\": \"desc\",\n \"q\": \"<string>\",\n \"sort_by\": \"volume_7d\",\n \"status\": \"active\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/surf/search/prediction-market")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"condition_id\": \"<string>\",\n \"limit\": 20,\n \"market_ticker\": \"<string>\",\n \"offset\": 0,\n \"order\": \"desc\",\n \"q\": \"<string>\",\n \"sort_by\": \"volume_7d\",\n \"status\": \"active\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/surf/search/prediction-market")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"condition_id\": \"<string>\",\n \"limit\": 20,\n \"market_ticker\": \"<string>\",\n \"offset\": 0,\n \"order\": \"desc\",\n \"q\": \"<string>\",\n \"sort_by\": \"volume_7d\",\n \"status\": \"active\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"data": [
{
"category": "<string>",
"open_interest_usd": 123,
"platform": "<string>",
"question": "<string>",
"status": "<string>",
"trade_count_7d": 123,
"volume_1d": 123,
"volume_30d": 123,
"volume_7d": 123,
"condition_id": "<string>",
"days_to_resolution": 123,
"event_group_slug": "<string>",
"event_slug": "<string>",
"event_ticker": "<string>",
"event_title": "<string>",
"latest_price": 123,
"market_link": "<string>",
"market_slug": "<string>",
"market_ticker": "<string>",
"matched_counterpart": "<string>",
"outcome_label": "<string>",
"smart_money_direction": "<string>",
"subcategory": "<string>",
"token_id": "<string>"
}
],
"meta": {
"cached": true,
"limit": 123,
"offset": 123,
"empty_reason": "<string>",
"has_more": true,
"total": 123,
"watermark": 123
}
},
"aisa_pagination": {
"has_more": true,
"next_cursor": "<string>",
"next_param": "offset"
}
}Surf
Surf Search Prediction Markets
Surf Search Prediction Markets
POST
https://api.aisa.one
/
apis
/
v1
/
surf
/
search
/
prediction-market
Surf Search Prediction Markets
curl --request POST \
--url https://api.aisa.one/apis/v1/surf/search/prediction-market \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"condition_id": "<string>",
"limit": 20,
"market_ticker": "<string>",
"offset": 0,
"order": "desc",
"q": "<string>",
"sort_by": "volume_7d",
"status": "active"
}
'import requests
url = "https://api.aisa.one/apis/v1/surf/search/prediction-market"
payload = {
"condition_id": "<string>",
"limit": 20,
"market_ticker": "<string>",
"offset": 0,
"order": "desc",
"q": "<string>",
"sort_by": "volume_7d",
"status": "active"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
condition_id: '<string>',
limit: 20,
market_ticker: '<string>',
offset: 0,
order: 'desc',
q: '<string>',
sort_by: 'volume_7d',
status: 'active'
})
};
fetch('https://api.aisa.one/apis/v1/surf/search/prediction-market', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/surf/search/prediction-market",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'condition_id' => '<string>',
'limit' => 20,
'market_ticker' => '<string>',
'offset' => 0,
'order' => 'desc',
'q' => '<string>',
'sort_by' => 'volume_7d',
'status' => 'active'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/surf/search/prediction-market"
payload := strings.NewReader("{\n \"condition_id\": \"<string>\",\n \"limit\": 20,\n \"market_ticker\": \"<string>\",\n \"offset\": 0,\n \"order\": \"desc\",\n \"q\": \"<string>\",\n \"sort_by\": \"volume_7d\",\n \"status\": \"active\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/surf/search/prediction-market")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"condition_id\": \"<string>\",\n \"limit\": 20,\n \"market_ticker\": \"<string>\",\n \"offset\": 0,\n \"order\": \"desc\",\n \"q\": \"<string>\",\n \"sort_by\": \"volume_7d\",\n \"status\": \"active\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/surf/search/prediction-market")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"condition_id\": \"<string>\",\n \"limit\": 20,\n \"market_ticker\": \"<string>\",\n \"offset\": 0,\n \"order\": \"desc\",\n \"q\": \"<string>\",\n \"sort_by\": \"volume_7d\",\n \"status\": \"active\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"data": [
{
"category": "<string>",
"open_interest_usd": 123,
"platform": "<string>",
"question": "<string>",
"status": "<string>",
"trade_count_7d": 123,
"volume_1d": 123,
"volume_30d": 123,
"volume_7d": 123,
"condition_id": "<string>",
"days_to_resolution": 123,
"event_group_slug": "<string>",
"event_slug": "<string>",
"event_ticker": "<string>",
"event_title": "<string>",
"latest_price": 123,
"market_link": "<string>",
"market_slug": "<string>",
"market_ticker": "<string>",
"matched_counterpart": "<string>",
"outcome_label": "<string>",
"smart_money_direction": "<string>",
"subcategory": "<string>",
"token_id": "<string>"
}
],
"meta": {
"cached": true,
"limit": 123,
"offset": 123,
"empty_reason": "<string>",
"has_more": true,
"total": 123,
"watermark": 123
}
},
"aisa_pagination": {
"has_more": true,
"next_cursor": "<string>",
"next_param": "offset"
}
}
Request example pending verification. The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (X-AISA-Cost-Mode: quote) before running it.
Request contract
- Method and path: POST /apis/v1/surf/search/prediction-market
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/surf/search/prediction-market
{
"operationId": "post_surf_apis_v1_surf_search_prediction_market",
"method": "POST",
"path": "/apis/v1/surf/search/prediction-market",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"category": {
"enum": [
"crypto",
"culture",
"economics",
"financials",
"politics",
"stem",
"sports"
],
"type": "string"
},
"condition_id": {
"minLength": 1,
"type": "string"
},
"limit": {
"default": 20,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"market_ticker": {
"minLength": 1,
"type": "string"
},
"offset": {
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"order": {
"default": "desc",
"enum": [
"asc",
"desc"
],
"type": "string"
},
"platform": {
"enum": [
"polymarket",
"kalshi"
],
"type": "string"
},
"q": {
"maxLength": 100,
"minLength": 2,
"type": "string"
},
"smart_money": {
"enum": [
"bullish",
"bearish"
],
"type": "string"
},
"sort_by": {
"default": "volume_7d",
"enum": [
"volume_1d",
"volume_7d",
"volume_30d",
"open_interest",
"trade_count_7d",
"days_to_resolution"
],
"type": "string"
},
"status": {
"default": "active",
"enum": [
"active",
"closed",
"finalized"
],
"type": "string"
}
},
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Observed response structure
The response observations below come from successful probes or sampled requests. They are partial: fields and types may vary, and no field is guaranteed to be present. Reviewed response definitions take precedence. No real response values are published.- HTTP status / last observed: 200 / 2026-11-14
{
"additionalProperties": true,
"properties": {
"data": {
"additionalProperties": true,
"properties": {
"data": {
"items": {
"additionalProperties": true,
"properties": {
"category": {
"type": "string"
},
"condition_id": {
"type": "string"
},
"days_to_resolution": {
"type": "integer"
},
"event_group_slug": {
"type": "string"
},
"event_slug": {
"type": "string"
},
"event_title": {
"type": "string"
},
"latest_price": {
"type": "number"
},
"market_link": {
"type": "string"
},
"market_slug": {
"type": "string"
},
"open_interest_usd": {
"type": "number"
},
"outcome_label": {
"type": "string"
},
"platform": {
"type": "string"
},
"question": {
"type": "string"
},
"smart_money_direction": {
"type": "string"
},
"status": {
"type": "string"
},
"subcategory": {
"type": "string"
},
"token_id": {
"type": "string"
},
"trade_count_7d": {
"type": "integer"
},
"volume_1d": {
"type": "number"
},
"volume_30d": {
"type": "number"
},
"volume_7d": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"meta": {
"additionalProperties": true,
"properties": {
"cached": {
"type": "boolean"
},
"limit": {
"type": "integer"
},
"offset": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
Cost and request rules
Usage-based pricing. A price estimate is not currently available. Your account price may differ; use a request quote where supported.Pagination
- Pass
aisa_pagination.next_cursorasoffset(request body field) to fetch the next page; stop whenaisa_pagination.has_moreis false. - The same values are returned in the
X-AISA-Has-MoreandX-AISA-Next-Cursorresponse headers. - Page size parameter:
limit
Response time
- Typically returns within 10 seconds.
Authorizations
Body
application/json