curl --request GET \
--url https://api.numofx.com/v1/integrations/tickersimport requests
url = "https://api.numofx.com/v1/integrations/tickers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.numofx.com/v1/integrations/tickers', 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.numofx.com/v1/integrations/tickers",
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.numofx.com/v1/integrations/tickers"
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.numofx.com/v1/integrations/tickers")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.numofx.com/v1/integrations/tickers")
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[
{
"ticker_id": "<string>",
"base_currency": "<string>",
"target_currency": "<string>",
"last_price": "<string>",
"base_volume": "<string>",
"target_volume": "<string>",
"bid": "<string>",
"ask": "<string>",
"high": "<string>",
"low": "<string>"
}
]List tickers
One ticker per enabled market, in the pair orientation GET /v1/markets advertises: base_currency is the asset priced, target_currency the asset it is priced in. On USDCcNGN-SPOT that is USDC priced in cNGN, the inverse of the engine values GET /v1/book and GET /v1/trades report. Use this endpoint, not stats_24h, for a market data listing. Responses are cached for up to 5 seconds and carry Cache-Control: public, max-age=5, so polling faster than that returns the same data.
curl --request GET \
--url https://api.numofx.com/v1/integrations/tickersimport requests
url = "https://api.numofx.com/v1/integrations/tickers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.numofx.com/v1/integrations/tickers', 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.numofx.com/v1/integrations/tickers",
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.numofx.com/v1/integrations/tickers"
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.numofx.com/v1/integrations/tickers")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.numofx.com/v1/integrations/tickers")
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[
{
"ticker_id": "<string>",
"base_currency": "<string>",
"target_currency": "<string>",
"last_price": "<string>",
"base_volume": "<string>",
"target_volume": "<string>",
"bid": "<string>",
"ask": "<string>",
"high": "<string>",
"low": "<string>"
}
]Response
Tickers for every enabled market, sorted by ticker_id
Market symbol, such as USDCcNGN-SPOT. Pass it as ticker_id to the orderbook and trades endpoints.
The asset priced. USDC on USDCcNGN-SPOT.
The asset prices are quoted in. cNGN on USDCcNGN-SPOT.
Price of the most recent fill, at any age, in target_currency per base_currency.
Base asset traded over the trailing 24 hours. USDC on USDCcNGN-SPOT. 0 when nothing traded.
Target asset traded over the trailing 24 hours. cNGN on USDCcNGN-SPOT. 0 when nothing traded.
Best bid. Equals the orderbook's top bid level price.
Best ask. Equals the orderbook's top ask level price.
Highest fill price over the trailing 24 hours.
Lowest fill price over the trailing 24 hours.
Was this page helpful?

