List markets for a page
curl --request GET \
--url https://api.limitless.exchange/market-pages/{id}/marketsimport requests
url = "https://api.limitless.exchange/market-pages/{id}/markets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.limitless.exchange/market-pages/{id}/markets', 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.limitless.exchange/market-pages/{id}/markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.limitless.exchange/market-pages/{id}/markets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.limitless.exchange/market-pages/{id}/markets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.limitless.exchange/market-pages/{id}/markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
"<string>"
],
"cursor": {
"nextCursor": "<string>"
},
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"totalPages": 123
},
"counts": {
"matches": 45,
"props": 3
}
}{
"message": "Invalid order data"
}Market Pages & Navigation
List Markets for a Page
Returns paginated list of markets for a specific market page with filtering and sorting
GET
/
market-pages
/
{id}
/
markets
List markets for a page
curl --request GET \
--url https://api.limitless.exchange/market-pages/{id}/marketsimport requests
url = "https://api.limitless.exchange/market-pages/{id}/markets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.limitless.exchange/market-pages/{id}/markets', 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.limitless.exchange/market-pages/{id}/markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.limitless.exchange/market-pages/{id}/markets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.limitless.exchange/market-pages/{id}/markets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.limitless.exchange/market-pages/{id}/markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
"<string>"
],
"cursor": {
"nextCursor": "<string>"
},
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"totalPages": 123
},
"counts": {
"matches": 45,
"props": 3
}
}{
"message": "Invalid order data"
}The
id parameter can be __home__ to list all markets when Home is not explicitly configured.Supports both offset pagination (page + limit) and cursor pagination (cursor). When cursor is present, offset pagination is ignored.Sorting: prefix field with - for descending (e.g., -updatedAt). Allowed fields: createdAt, updatedAt, deadline, id.includeNextMarket (optional). Pass includeNextMarket=true to attach the next round of upfront-scheduled markets to each affected result:"navigation": {
"nextMarket": { "slug": "...", "startAt": "...", "deadline": "...", "tradable": false }
}
includeNextMarket mid-pagination. The tradable flag is conservative in listings; fetch the successor directly with Get Market before trading.Path Parameters
Market page ID
Example:
"123e4567-e89b-12d3-a456-426614174000"
Query Parameters
Response
Markets retrieved successfully
Array of market/group data
Cursor pagination info (when using cursor parameter)
Show child attributes
Show child attributes
Offset pagination info (when using page parameter)
Show child attributes
Show child attributes
Counts per tab option for the active filter context
Example:
{ "matches": 45, "props": 3 }