curl --request GET \
--url https://api.gm.ondo.finance/v1/itn/status \
--header 'x-api-key: <api-key>'import requests
url = "https://api.gm.ondo.finance/v1/itn/status"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.gm.ondo.finance/v1/itn/status', 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.gm.ondo.finance/v1/itn/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.gm.ondo.finance/v1/itn/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.gm.ondo.finance/v1/itn/status")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gm.ondo.finance/v1/itn/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"timestamp": 1759777200000,
"currentSession": "regular",
"mint": {
"isOpen": true,
"reason": null
},
"redeem": {
"isOpen": true,
"reason": null
},
"assets": [
{
"symbol": "AAPLon",
"networks": [
{
"networkChainId": "bsc-56",
"alpacaNetwork": "binance",
"mint": {
"enabled": false,
"reason": {
"code": "PAUSED_GM_CHAIN",
"message": "chain is paused",
"documentation": "https://docs.ondo.finance/api-reference/error-codes#paused_gm_chain"
}
},
"redeem": {
"enabled": true,
"reason": null
}
},
{
"networkChainId": "ethereum-1",
"alpacaNetwork": "ethereum",
"mint": {
"enabled": true,
"reason": null
},
"redeem": {
"enabled": true,
"reason": null
}
}
]
},
"..."
]
}{
"code": "MISSING_API_KEY",
"message": "missing API key",
"documentation": "https://docs.ondo.finance/api-reference/error-codes#missing_api_key"
}{
"code": "RATE_LIMITED",
"message": "rate limit exceeded",
"documentation": "https://docs.ondo.finance/api-reference/error-codes#rate_limited"
}{
"code": "INTERNAL_ERROR",
"message": "An internal server error occurred. Please see the returned message and documentation for details.",
"documentation": "https://docs.ondo.finance/api-reference/error-codes#internal_error"
}Get ITN Status
This endpoint reports whether ITN minting and redeeming are open, both globally and for each asset on each network.
Global Status
The top-level mint and redeem objects report whether each side is open globally. When a side is closed, every asset on every network is also unavailable for that side.
Per-Network Availability
Each entry in assets[].networks reports whether minting and redeeming are enabled for that asset on that network.
ITN Status Reason Codes
When a side is closed or unavailable, reason is set. Otherwise, reason is null.
reason.code is one of:
ITN_UNAVAILABLE: ITN is temporarily unavailable, either platform-wide or for the asset.MARKET_PAUSED: ITN minting or redeeming is paused for all assets.PAUSED_GM_CHAIN: ITN minting or redeeming is paused on the network. Only returned per network.ASSET_PAUSED: The asset is paused for ITN. Only returned per network.
For limits on how much you can mint or redeem, see Get ITN Limits for an Asset.
For caching details on this endpoint, please see: Endpoint Caching.
For the complete ITN workflow, see ITN Integration.
curl --request GET \
--url https://api.gm.ondo.finance/v1/itn/status \
--header 'x-api-key: <api-key>'import requests
url = "https://api.gm.ondo.finance/v1/itn/status"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.gm.ondo.finance/v1/itn/status', 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.gm.ondo.finance/v1/itn/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.gm.ondo.finance/v1/itn/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.gm.ondo.finance/v1/itn/status")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gm.ondo.finance/v1/itn/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"timestamp": 1759777200000,
"currentSession": "regular",
"mint": {
"isOpen": true,
"reason": null
},
"redeem": {
"isOpen": true,
"reason": null
},
"assets": [
{
"symbol": "AAPLon",
"networks": [
{
"networkChainId": "bsc-56",
"alpacaNetwork": "binance",
"mint": {
"enabled": false,
"reason": {
"code": "PAUSED_GM_CHAIN",
"message": "chain is paused",
"documentation": "https://docs.ondo.finance/api-reference/error-codes#paused_gm_chain"
}
},
"redeem": {
"enabled": true,
"reason": null
}
},
{
"networkChainId": "ethereum-1",
"alpacaNetwork": "ethereum",
"mint": {
"enabled": true,
"reason": null
},
"redeem": {
"enabled": true,
"reason": null
}
}
]
},
"..."
]
}{
"code": "MISSING_API_KEY",
"message": "missing API key",
"documentation": "https://docs.ondo.finance/api-reference/error-codes#missing_api_key"
}{
"code": "RATE_LIMITED",
"message": "rate limit exceeded",
"documentation": "https://docs.ondo.finance/api-reference/error-codes#rate_limited"
}{
"code": "INTERNAL_ERROR",
"message": "An internal server error occurred. Please see the returned message and documentation for details.",
"documentation": "https://docs.ondo.finance/api-reference/error-codes#internal_error"
}Response
OK

