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). Send either cursor or page. An empty cursor starts cursor mode. Sending cursor together with page greater than 1 returns 400 pagination mode conflict.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.Query Parameters
Response
Markets retrieved successfully