curl --request GET \
--url https://api.whop.com/api/v1/trades/marketsimport requests
url = "https://api.whop.com/api/v1/trades/markets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.whop.com/api/v1/trades/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.whop.com/api/v1/trades/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.whop.com/api/v1/trades/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.whop.com/api/v1/trades/markets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.whop.com/api/v1/trades/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": [
{
"id": "BTC",
"instrument_type": "perpetual",
"max_leverage": 40,
"price": {
"amount": "80155.500000",
"currency": "usd",
"decimals": 6,
"display_decimals": 6
},
"size_decimals": 5
},
{
"id": "BTC",
"instrument_type": "spot",
"max_leverage": null,
"price": {
"amount": "80065.50000000",
"currency": "usd",
"decimals": 8,
"display_decimals": 8
},
"size_decimals": 5
},
{
"id": "ETH",
"instrument_type": "perpetual",
"max_leverage": 25,
"price": {
"amount": "2322.350000",
"currency": "usd",
"decimals": 6,
"display_decimals": 6
},
"size_decimals": 4
},
{
"id": "ETH",
"instrument_type": "spot",
"max_leverage": null,
"price": {
"amount": "2320.65000000",
"currency": "usd",
"decimals": 8,
"display_decimals": 8
},
"size_decimals": 4
},
{
"id": "SOL",
"instrument_type": "perpetual",
"max_leverage": 20,
"price": {
"amount": "101.325000",
"currency": "usd",
"decimals": 6,
"display_decimals": 6
},
"size_decimals": 2
},
{
"id": "SOL",
"instrument_type": "spot",
"max_leverage": null,
"price": {
"amount": "101.23500000",
"currency": "usd",
"decimals": 8,
"display_decimals": 8
},
"size_decimals": 3
},
{
"id": "XAUT",
"instrument_type": "spot",
"max_leverage": null,
"price": {
"amount": "4012.85000000",
"currency": "usd",
"decimals": 8,
"display_decimals": 8
},
"size_decimals": 2
}
],
"page_info": {
"end_cursor": null,
"has_next_page": false,
"has_previous_page": false,
"start_cursor": "MQ"
}
}{
"error": {
"message": "account_id is required",
"type": "bad_request",
"code": "<string>"
}
}{
"error": {
"message": "account_id is required",
"type": "bad_request",
"code": "<string>"
}
}List Markets
Returns every market you can trade on Whop.
- Spot: listed by symbol:
BTC,ETH,SOLandXAUT(gold). - Perpetuals: such as
BTC. Send theidasmarketwhen you create a trade.
The same symbol can appear twice, once as a perpetual and once as spot, so use id together with instrument_type to tell them apart. Results are sorted by id, then instrument_type.
This endpoint is public: no API key is needed, and each IP address can make up to 60 requests a minute.
curl --request GET \
--url https://api.whop.com/api/v1/trades/marketsimport requests
url = "https://api.whop.com/api/v1/trades/markets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.whop.com/api/v1/trades/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.whop.com/api/v1/trades/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.whop.com/api/v1/trades/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.whop.com/api/v1/trades/markets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.whop.com/api/v1/trades/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": [
{
"id": "BTC",
"instrument_type": "perpetual",
"max_leverage": 40,
"price": {
"amount": "80155.500000",
"currency": "usd",
"decimals": 6,
"display_decimals": 6
},
"size_decimals": 5
},
{
"id": "BTC",
"instrument_type": "spot",
"max_leverage": null,
"price": {
"amount": "80065.50000000",
"currency": "usd",
"decimals": 8,
"display_decimals": 8
},
"size_decimals": 5
},
{
"id": "ETH",
"instrument_type": "perpetual",
"max_leverage": 25,
"price": {
"amount": "2322.350000",
"currency": "usd",
"decimals": 6,
"display_decimals": 6
},
"size_decimals": 4
},
{
"id": "ETH",
"instrument_type": "spot",
"max_leverage": null,
"price": {
"amount": "2320.65000000",
"currency": "usd",
"decimals": 8,
"display_decimals": 8
},
"size_decimals": 4
},
{
"id": "SOL",
"instrument_type": "perpetual",
"max_leverage": 20,
"price": {
"amount": "101.325000",
"currency": "usd",
"decimals": 6,
"display_decimals": 6
},
"size_decimals": 2
},
{
"id": "SOL",
"instrument_type": "spot",
"max_leverage": null,
"price": {
"amount": "101.23500000",
"currency": "usd",
"decimals": 8,
"display_decimals": 8
},
"size_decimals": 3
},
{
"id": "XAUT",
"instrument_type": "spot",
"max_leverage": null,
"price": {
"amount": "4012.85000000",
"currency": "usd",
"decimals": 8,
"display_decimals": 8
},
"size_decimals": 2
}
],
"page_info": {
"end_cursor": null,
"has_next_page": false,
"has_previous_page": false,
"start_cursor": "MQ"
}
}{
"error": {
"message": "account_id is required",
"type": "bad_request",
"code": "<string>"
}
}{
"error": {
"message": "account_id is required",
"type": "bad_request",
"code": "<string>"
}
}Headers
Pins the request to a dated API version.
"2026-10-24"
Query Parameters
Only return perpetuals or only spot markets.
perpetual, spot Number of results to return from the start of the range.
x <= 100Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.
Number of results to return from the end of the range.
x <= 100Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.

