List active markets
curl --request GET \
--url https://api.ironflow.sh/v1/markets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ironflow.sh/v1/markets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ironflow.sh/v1/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.ironflow.sh/v1/markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.ironflow.sh/v1/markets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.ironflow.sh/v1/markets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ironflow.sh/v1/markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"count": 3,
"data": [
{
"market_id": 1,
"source": "hyperliquid",
"market_class": "perp",
"issuer": "",
"base_asset": "BTC",
"quote_asset": "USDC",
"base_market": "BTC-PERP",
"display_symbol": "BTC-PERP",
"hl_coin": "BTC",
"active_from_ms": 1722038400000
},
{
"market_id": 132,
"source": "hyperliquid",
"market_class": "perp",
"issuer": "flx",
"base_asset": "GAS",
"quote_asset": "USDC",
"base_market": "GAS-PERP",
"display_symbol": "flx:GAS-PERP",
"hl_coin": "@132",
"active_from_ms": 1730000000000
},
{
"market_id": 5000,
"source": "hyperliquid",
"market_class": "spot",
"issuer": "",
"base_asset": "HFUN",
"quote_asset": "USDC",
"base_market": "HFUN/USDC",
"display_symbol": "HFUN/USDC",
"hl_coin": "HFUN",
"active_from_ms": 1722038400000
}
]
}{
"error": {
"code": "BAD_REQUEST",
"message": "address is required"
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Retry after 60 seconds."
}
}Market Data
List Hyperliquid markets
GET /v1/markets returns every active Hyperliquid market: native perps, HIP-3 builder markets, HIP-4 outcomes and spot, with the symbols other endpoints accept.
GET
/
v1
/
markets
List active markets
curl --request GET \
--url https://api.ironflow.sh/v1/markets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ironflow.sh/v1/markets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ironflow.sh/v1/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.ironflow.sh/v1/markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.ironflow.sh/v1/markets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.ironflow.sh/v1/markets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ironflow.sh/v1/markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"count": 3,
"data": [
{
"market_id": 1,
"source": "hyperliquid",
"market_class": "perp",
"issuer": "",
"base_asset": "BTC",
"quote_asset": "USDC",
"base_market": "BTC-PERP",
"display_symbol": "BTC-PERP",
"hl_coin": "BTC",
"active_from_ms": 1722038400000
},
{
"market_id": 132,
"source": "hyperliquid",
"market_class": "perp",
"issuer": "flx",
"base_asset": "GAS",
"quote_asset": "USDC",
"base_market": "GAS-PERP",
"display_symbol": "flx:GAS-PERP",
"hl_coin": "@132",
"active_from_ms": 1730000000000
},
{
"market_id": 5000,
"source": "hyperliquid",
"market_class": "spot",
"issuer": "",
"base_asset": "HFUN",
"quote_asset": "USDC",
"base_market": "HFUN/USDC",
"display_symbol": "HFUN/USDC",
"hl_coin": "HFUN",
"active_from_ms": 1722038400000
}
]
}{
"error": {
"code": "BAD_REQUEST",
"message": "address is required"
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Retry after 60 seconds."
}
}Authorizations
Ironflow API key, format if_xxxx. Free keys at https://ironflow.sh/key. Optional on read endpoints.
Query Parameters
Venue identifier. Defaults to hyperliquid.
Available options:
hyperliquid Restrict to one class. Omit to return every active market.
Available options:
perp, spot, prediction, option HIP-3 builder/issuer namespace (e.g. flx). For native HL perps the issuer
is the empty string; do not combine issuer="" with this filter — omit the
parameter instead. Commonly paired with base_market to disambiguate a
builder-deployed market from its native counterpart.
Example:
"flx"