General
GET Statistics
GET StatisticsGET /v1/general/statistics
Get all statistics related to Moby.
Query Examples
curl --request GET \
--url https://api.moby.trade/v1/general/statistics \
--header 'accept: application/json' \
--header 'content-type: application/json'import axios from 'axios';
async function sendRequest() {
try {
const response = await axios.get('https://api.moby.trade/v1/general/statistics', {
headers: {
'accept': 'application/json',
'content-type': 'application/json'
}
});
console.log(response.data);
} catch (error) {
console.error('Error fetching statistics:', error);
}
}
sendRequest();import requests
def send_request():
url = 'https://api.moby.trade/v1/general/statistics'
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.get(url, headers=headers)
print(response.json())
send_request()async function sendRequest() {
try {
const response = await fetch('https://api.moby.trade/v1/general/statistics', {
method: 'GET',
headers: {
'accept': 'application/json',
'content-type': 'application/json'
}
});
const data = await response.json();
console.log(data);
} catch (error) {
console.error('Error fetching statistics:', error);
}
}
sendRequest();Response Examples
The unit of all values is USD.
{
"revenue": {
"result": {
"daily_premium_volume": "25677.05",
"daily_fee_volume": "384.43",
"total_premium_volume": "7407337.69",
"total_fee_volume": "223060.70"
}
},
"protocolNetRevenue": {
"result": {
"daily_fee_usd": "384.43",
"total_fee_usd": "223060.70",
"daily_risk_premium_usd": "100.92",
"total_risk_premium_usd": "56760.75"
}
},
"volumeData": {
"result": {
"daily_notional_volume": "3711500.53",
"daily_premium_volume": "25677.05",
"total_notional_volume": "1221181263.48",
"total_premium_volume": "7407337.69"
}
}
}GET Revenue
GET RevenueGET /v1/general/statistics/revenue
Get revenue related to Moby.
Query Examples
curl --request GET \
--url https://api.moby.trade/v1/general/statistics/revenue \
--header 'accept: application/json' \
--header 'content-type: application/json'import axios from 'axios';
async function sendRequest() {
try {
const response = await axios.get('https://api.moby.trade/v1/general/statistics/revenue', {
headers: {
'accept': 'application/json',
'content-type': 'application/json'
}
});
console.log(response.data);
} catch (error) {
console.error('Error fetching statistics:', error);
}
}
sendRequest();import requests
def send_request():
url = 'https://api.moby.trade/v1/general/statistics/revenue'
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.get(url, headers=headers)
print(response.json())
send_request()async function sendRequest() {
try {
const response = await fetch('https://api.moby.trade/v1/general/statistics/revenue', {
method: 'GET',
headers: {
'accept': 'application/json',
'content-type': 'application/json'
}
});
const data = await response.json();
console.log(data);
} catch (error) {
console.error('Error fetching statistics:', error);
}
}
sendRequest();Response Examples
{
"result": {
"daily_premium_volume": "25677.05",
"daily_fee_volume": "384.43",
"total_premium_volume": "7407337.69",
"total_fee_volume": "223060.70"
}
}Properties in the Response
daily_premium_volume
string
The daily volume of option trading
daily_fee_volume
string
The daily execution fee for trading option
total_premium_volume
string
The total premium volume
total_fee_volume
string
The total fee volume
GET Protocol Net Revenue
GET Protocol Net RevenueGET /v1/general/statistics/protocolNetRevenue
Get the Moby's protocol net revenue.
Query Examples
curl --request GET \
--url https://api.moby.trade/v1/general/statistics/protocolNetRevenue \
--header 'accept: application/json' \
--header 'content-type: application/json'import axios from 'axios';
async function sendRequest() {
try {
const response = await axios.get('https://api.moby.trade/v1/general/statistics/protocolNetRevenue', {
headers: {
'accept': 'application/json',
'content-type': 'application/json'
}
});
console.log(response.data);
} catch (error) {
console.error('Error fetching statistics:', error);
}
}
sendRequest();import requests
def send_request():
url = 'https://api.moby.trade/v1/general/statistics/protocolNetRevenue'
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.get(url, headers=headers)
print(response.json())
send_request()async function sendRequest() {
try {
const response = await fetch('https://api.moby.trade/v1/general/statistics/protocolNetRevenue', {
method: 'GET',
headers: {
'accept': 'application/json',
'content-type': 'application/json'
}
});
const data = await response.json();
console.log(data);
} catch (error) {
console.error('Error fetching statistics:', error);
}
}
sendRequest();Response Examples
{
"result": {
"daily_fee_usd": "384.43",
"total_fee_usd": "223060.70",
"daily_risk_premium_usd": "100.92",
"total_risk_premium_usd": "56760.75"
}
}Properties in the Response
daily_fee_usd
string
The daily execution fee in USD
total_fee_usd
string
The total fee in USD
daily_risk_premium_usd
string
Daily sum of risk premium amount in USD
total_risk_premium_usd
string
Total sum of risk premium amount in USD
GET Volume Data
GET Volume DataGET /v1/general/statistics/volumeData
Get the volume data of Moby.
Query Examples
curl --request GET \
--url https://api.moby.trade/v1/general/statistics/volumeData \
--header 'accept: application/json' \
--header 'content-type: application/json'import axios from 'axios';
async function sendRequest() {
try {
const response = await axios.get('https://api.moby.trade/v1/general/statistics/volumeData', {
headers: {
'accept': 'application/json',
'content-type': 'application/json'
}
});
console.log(response.data);
} catch (error) {
console.error('Error fetching statistics:', error);
}
}
sendRequest();import requests
def send_request():
url = 'https://api.moby.trade/v1/general/statistics/volumeData'
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.get(url, headers=headers)
print(response.json())
send_request()async function sendRequest() {
try {
const response = await fetch('https://api.moby.trade/v1/general/statistics/volumeData', {
method: 'GET',
headers: {
'accept': 'application/json',
'content-type': 'application/json'
}
});
const data = await response.json();
console.log(data);
} catch (error) {
console.error('Error fetching statistics:', error);
}
}
sendRequest();Response Examples
{
"result": {
"daily_notional_volume": "3711501.11",
"daily_premium_volume": "25677.06",
"total_notional_volume": "1221181264.05",
"total_premium_volume": "7407337.69"
}
}Properties in the Response
daily_notional_volume
string
Daily traded amount of contacts times underlying assets' spot price in USD
daily_premium_volume
string
Daily traded amount of contacts times option price in USD
total_notional_volume
string
Accumulated volume of all day
total_premium_volume
string
Accumulated volume of all day
GET Time
GET TimeGET /v1/general/time
Get the servertime in seconds.
Query Examples
curl --request GET \
--url https://api.moby.trade/v1/general/time \
--header 'accept: application/json' \
--header 'content-type: application/json'import axios from 'axios';
async function sendRequest() {
try {
const response = await axios.get('https://api.moby.trade/v1/general/time', {
headers: {
'accept': 'application/json',
'content-type': 'application/json'
}
});
console.log(response.data);
} catch (error) {
console.error('Error fetching time:', error);
}
}
sendRequest();import requests
def send_request():
url = 'https://api.moby.trade/v1/general/time'
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.get(url, headers=headers)
print(response.json())
send_request()async function sendRequest() {
try {
const response = await fetch('https://api.moby.trade/v1/general/time', {
method: 'GET',
headers: {
'accept': 'application/json',
'content-type': 'application/json'
}
});
const data = await response.json();
console.log(data);
} catch (error) {
console.error('Error fetching time:', error);
}
}
sendRequest();Response Examples
{
"timestamp": 1720518979
}Last updated