NAV Navbar
shell http javascript ruby python php java go

AltMarket Public API v1.0.0

Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

Documentation of the Alt.Market API

Base URLs:

Assets

Code samples

# You can also use wget
curl -X GET https://api.alt.market/assets \
  -H 'Accept: application/json' \
  -H 'X-Fields: [object Object]'

GET https://api.alt.market/assets HTTP/1.1

Accept: application/json
X-Fields: [object Object]


const headers = {
  'Accept':'application/json',
  'X-Fields':{
  "type": "string",
  "format": "mask"
}

};

fetch('https://api.alt.market/assets',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

require 'rest-client'
require 'json'

headers = {
  'Accept' => 'application/json',
  'X-Fields' => {
  "type": "string",
  "format": "mask"
}
}

result = RestClient.get 'https://api.alt.market/assets',
  params: {
  }, headers: headers

p JSON.parse(result)

import requests
headers = {
  'Accept': 'application/json',
  'X-Fields': {
  "type": "string",
  "format": "mask"
}
}

r = requests.get('https://api.alt.market/assets', params={

}, headers = headers)

print r.json()

<?php

require 'vendor/autoload.php';

$headers = array(
    'Accept' => 'application/json',
    'X-Fields' => '[object Object]',

    );

$client = new \GuzzleHttp\Client();

// Define array of request body.
$request_body = array();

try {
    $response = $client->request('GET','https://api.alt.market/assets', array(
        'headers' => $headers,
        'json' => $request_body,
       )
    );
    print_r($response->getBody()->getContents());
 }
 catch (\GuzzleHttp\Exception\BadResponseException $e) {
    // handle exception or api errors.
    print_r($e->getMessage());
 }

 // ...

URL obj = new URL("https://api.alt.market/assets");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

package main

import (
       "bytes"
       "net/http"
)

func main() {

    headers := map[string][]string{
        "Accept": []string{"application/json"},
        "X-Fields": []string{"[object Object]"},

    }

    data := bytes.NewBuffer([]byte{jsonReq})
    req, err := http.NewRequest("GET", "https://api.alt.market/assets", data)
    req.Header = headers

    client := &http.Client{}
    resp, err := client.Do(req)
    // ...
}

GET /assets

Returns list of valid assets

Parameters

Name In Type Required Description
X-Fields header string(mask) false An optional fields mask

Example responses

200 Response

{
  "properties": {
    "assets": {
      "type": "array",
      "items": {
        "required": [
          "can_deposit",
          "can_withdraw",
          "name",
          "symbol",
          "withdrawal_fee"
        ],
        "properties": {
          "symbol": {
            "type": "string",
            "description": "Trading symbol"
          },
          "name": {
            "type": "string",
            "description": "Name of the asset"
          },
          "can_deposit": {
            "type": "string",
            "description": "Can deposit"
          },
          "can_withdraw": {
            "type": "string",
            "description": "Can withdraw"
          },
          "withdrawal_fee": {
            "type": "string",
            "description": "Withdrawal fee"
          }
        },
        "type": "object"
      }
    }
  },
  "type": "object"
}

Responses

Status Meaning Description Schema
200 OK Success Assets
401 Unauthorized Limit reached. None
500 Internal Server Error Critical error. None

Markets

Code samples

# You can also use wget
curl -X GET https://api.alt.market/markets \
  -H 'Accept: application/json' \
  -H 'X-Fields: [object Object]'

GET https://api.alt.market/markets HTTP/1.1

Accept: application/json
X-Fields: [object Object]


const headers = {
  'Accept':'application/json',
  'X-Fields':{
  "type": "string",
  "format": "mask"
}

};

fetch('https://api.alt.market/markets',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

require 'rest-client'
require 'json'

headers = {
  'Accept' => 'application/json',
  'X-Fields' => {
  "type": "string",
  "format": "mask"
}
}

result = RestClient.get 'https://api.alt.market/markets',
  params: {
  }, headers: headers

p JSON.parse(result)

import requests
headers = {
  'Accept': 'application/json',
  'X-Fields': {
  "type": "string",
  "format": "mask"
}
}

r = requests.get('https://api.alt.market/markets', params={

}, headers = headers)

print r.json()

<?php

require 'vendor/autoload.php';

$headers = array(
    'Accept' => 'application/json',
    'X-Fields' => '[object Object]',

    );

$client = new \GuzzleHttp\Client();

// Define array of request body.
$request_body = array();

try {
    $response = $client->request('GET','https://api.alt.market/markets', array(
        'headers' => $headers,
        'json' => $request_body,
       )
    );
    print_r($response->getBody()->getContents());
 }
 catch (\GuzzleHttp\Exception\BadResponseException $e) {
    // handle exception or api errors.
    print_r($e->getMessage());
 }

 // ...

URL obj = new URL("https://api.alt.market/markets");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

package main

import (
       "bytes"
       "net/http"
)

func main() {

    headers := map[string][]string{
        "Accept": []string{"application/json"},
        "X-Fields": []string{"[object Object]"},

    }

    data := bytes.NewBuffer([]byte{jsonReq})
    req, err := http.NewRequest("GET", "https://api.alt.market/markets", data)
    req.Header = headers

    client := &http.Client{}
    resp, err := client.Do(req)
    // ...
}

GET /markets

Returns list of market pairs

Parameters

Name In Type Required Description
X-Fields header string(mask) false An optional fields mask

Example responses

200 Response

{
  "properties": {
    "markets": {
      "type": "array",
      "items": {
        "required": [
          "base",
          "maker_fee",
          "market",
          "quote",
          "taker_fee"
        ],
        "properties": {
          "market": {
            "type": "string",
            "description": "A market pairing of assets"
          },
          "base": {
            "type": "string",
            "description": "The base asset"
          },
          "quote": {
            "type": "string",
            "description": "The quote asset"
          },
          "maker_fee": {
            "type": "string",
            "description": "Maker fee"
          },
          "taker_fee": {
            "type": "string",
            "description": "Taker fee"
          }
        },
        "type": "object"
      }
    }
  },
  "type": "object"
}

Responses

Status Meaning Description Schema
200 OK Success Markets
401 Unauthorized Limit reached. None
500 Internal Server Error Critical error. None

Orderbook

Code samples

# You can also use wget
curl -X GET https://api.alt.market/orderbook/{market_pair} \
  -H 'Accept: application/json' \
  -H 'X-Fields: [object Object]'

GET https://api.alt.market/orderbook/{market_pair} HTTP/1.1

Accept: application/json
X-Fields: [object Object]


const headers = {
  'Accept':'application/json',
  'X-Fields':{
  "type": "string",
  "format": "mask"
}

};

fetch('https://api.alt.market/orderbook/{market_pair}',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

require 'rest-client'
require 'json'

headers = {
  'Accept' => 'application/json',
  'X-Fields' => {
  "type": "string",
  "format": "mask"
}
}

result = RestClient.get 'https://api.alt.market/orderbook/{market_pair}',
  params: {
  }, headers: headers

p JSON.parse(result)

import requests
headers = {
  'Accept': 'application/json',
  'X-Fields': {
  "type": "string",
  "format": "mask"
}
}

r = requests.get('https://api.alt.market/orderbook/{market_pair}', params={

}, headers = headers)

print r.json()

<?php

require 'vendor/autoload.php';

$headers = array(
    'Accept' => 'application/json',
    'X-Fields' => '[object Object]',

    );

$client = new \GuzzleHttp\Client();

// Define array of request body.
$request_body = array();

try {
    $response = $client->request('GET','https://api.alt.market/orderbook/{market_pair}', array(
        'headers' => $headers,
        'json' => $request_body,
       )
    );
    print_r($response->getBody()->getContents());
 }
 catch (\GuzzleHttp\Exception\BadResponseException $e) {
    // handle exception or api errors.
    print_r($e->getMessage());
 }

 // ...

URL obj = new URL("https://api.alt.market/orderbook/{market_pair}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

package main

import (
       "bytes"
       "net/http"
)

func main() {

    headers := map[string][]string{
        "Accept": []string{"application/json"},
        "X-Fields": []string{"[object Object]"},

    }

    data := bytes.NewBuffer([]byte{jsonReq})
    req, err := http.NewRequest("GET", "https://api.alt.market/orderbook/{market_pair}", data)
    req.Header = headers

    client := &http.Client{}
    resp, err := client.Do(req)
    // ...
}

GET /orderbook/{market_pair}

Returns current ticker data for the market specified

Parameters

Name In Type Required Description
X-Fields header string(mask) false An optional fields mask
market_pair path string true A valid market pairing in the form TAO_BTC

Example responses

200 Response

{
  "properties": {
    "buy": {
      "type": "array",
      "items": {
        "required": [
          "price",
          "quantity"
        ],
        "properties": {
          "price": {
            "type": "number",
            "description": "Price"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity"
          }
        },
        "type": "object"
      }
    },
    "sell": {
      "type": "array",
      "items": {
        "required": [
          "price",
          "quantity"
        ],
        "properties": {
          "price": {
            "type": "number",
            "description": "Price"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity"
          }
        },
        "type": "object"
      }
    }
  },
  "type": "object"
}

Responses

Status Meaning Description Schema
200 OK Success Orderbook
401 Unauthorized Limit reached. None
404 Not Found Orderbook not found. None
500 Internal Server Error Critical error. None

Ticker

Code samples

# You can also use wget
curl -X GET https://api.alt.market/ticker/{market_pair} \
  -H 'Accept: application/json' \
  -H 'X-Fields: [object Object]'

GET https://api.alt.market/ticker/{market_pair} HTTP/1.1

Accept: application/json
X-Fields: [object Object]


const headers = {
  'Accept':'application/json',
  'X-Fields':{
  "type": "string",
  "format": "mask"
}

};

fetch('https://api.alt.market/ticker/{market_pair}',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

require 'rest-client'
require 'json'

headers = {
  'Accept' => 'application/json',
  'X-Fields' => {
  "type": "string",
  "format": "mask"
}
}

result = RestClient.get 'https://api.alt.market/ticker/{market_pair}',
  params: {
  }, headers: headers

p JSON.parse(result)

import requests
headers = {
  'Accept': 'application/json',
  'X-Fields': {
  "type": "string",
  "format": "mask"
}
}

r = requests.get('https://api.alt.market/ticker/{market_pair}', params={

}, headers = headers)

print r.json()

<?php

require 'vendor/autoload.php';

$headers = array(
    'Accept' => 'application/json',
    'X-Fields' => '[object Object]',

    );

$client = new \GuzzleHttp\Client();

// Define array of request body.
$request_body = array();

try {
    $response = $client->request('GET','https://api.alt.market/ticker/{market_pair}', array(
        'headers' => $headers,
        'json' => $request_body,
       )
    );
    print_r($response->getBody()->getContents());
 }
 catch (\GuzzleHttp\Exception\BadResponseException $e) {
    // handle exception or api errors.
    print_r($e->getMessage());
 }

 // ...

URL obj = new URL("https://api.alt.market/ticker/{market_pair}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

package main

import (
       "bytes"
       "net/http"
)

func main() {

    headers := map[string][]string{
        "Accept": []string{"application/json"},
        "X-Fields": []string{"[object Object]"},

    }

    data := bytes.NewBuffer([]byte{jsonReq})
    req, err := http.NewRequest("GET", "https://api.alt.market/ticker/{market_pair}", data)
    req.Header = headers

    client := &http.Client{}
    resp, err := client.Do(req)
    // ...
}

GET /ticker/{market_pair}

Returns current ticker data for the market specified

Parameters

Name In Type Required Description
X-Fields header string(mask) false An optional fields mask
market_pair path string true A valid market pairing in the form TAO_BTC

Example responses

200 Response

{
  "required": [
    "ask",
    "bid",
    "day_avg_price",
    "day_change",
    "day_high",
    "day_low",
    "day_open",
    "day_volume_base",
    "day_volume_market",
    "last",
    "market"
  ],
  "properties": {
    "ask": {
      "type": "number",
      "description": "Asking price"
    },
    "bid": {
      "type": "number",
      "description": "Bid price"
    },
    "day_avg_price": {
      "type": "number",
      "description": "24 hour average"
    },
    "day_change": {
      "type": "number",
      "description": "24 hour change"
    },
    "day_high": {
      "type": "number",
      "description": "24 hour high"
    },
    "day_low": {
      "type": "number",
      "description": "24 hour low"
    },
    "day_open": {
      "type": "number",
      "description": "24 hour open"
    },
    "day_volume_base": {
      "type": "number",
      "description": "24 hour base volume"
    },
    "day_volume_market": {
      "type": "number",
      "description": "24 hour market volume"
    },
    "last": {
      "type": "number",
      "description": "Last price"
    },
    "market": {
      "type": "string",
      "description": "A market pairing of assets"
    }
  },
  "type": "object"
}

Responses

Status Meaning Description Schema
200 OK Success Ticker
401 Unauthorized Limit reached. None
404 Not Found Ticker not found. None
500 Internal Server Error Critical error. None

Tickers

Code samples

# You can also use wget
curl -X GET https://api.alt.market/tickers \
  -H 'Accept: application/json' \
  -H 'X-Fields: [object Object]'

GET https://api.alt.market/tickers HTTP/1.1

Accept: application/json
X-Fields: [object Object]


const headers = {
  'Accept':'application/json',
  'X-Fields':{
  "type": "string",
  "format": "mask"
}

};

fetch('https://api.alt.market/tickers',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

require 'rest-client'
require 'json'

headers = {
  'Accept' => 'application/json',
  'X-Fields' => {
  "type": "string",
  "format": "mask"
}
}

result = RestClient.get 'https://api.alt.market/tickers',
  params: {
  }, headers: headers

p JSON.parse(result)

import requests
headers = {
  'Accept': 'application/json',
  'X-Fields': {
  "type": "string",
  "format": "mask"
}
}

r = requests.get('https://api.alt.market/tickers', params={

}, headers = headers)

print r.json()

<?php

require 'vendor/autoload.php';

$headers = array(
    'Accept' => 'application/json',
    'X-Fields' => '[object Object]',

    );

$client = new \GuzzleHttp\Client();

// Define array of request body.
$request_body = array();

try {
    $response = $client->request('GET','https://api.alt.market/tickers', array(
        'headers' => $headers,
        'json' => $request_body,
       )
    );
    print_r($response->getBody()->getContents());
 }
 catch (\GuzzleHttp\Exception\BadResponseException $e) {
    // handle exception or api errors.
    print_r($e->getMessage());
 }

 // ...

URL obj = new URL("https://api.alt.market/tickers");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

package main

import (
       "bytes"
       "net/http"
)

func main() {

    headers := map[string][]string{
        "Accept": []string{"application/json"},
        "X-Fields": []string{"[object Object]"},

    }

    data := bytes.NewBuffer([]byte{jsonReq})
    req, err := http.NewRequest("GET", "https://api.alt.market/tickers", data)
    req.Header = headers

    client := &http.Client{}
    resp, err := client.Do(req)
    // ...
}

GET /tickers

Returns current ticker data for the market specified

Parameters

Name In Type Required Description
X-Fields header string(mask) false An optional fields mask

Example responses

200 Response

{
  "properties": {
    "tickers": {
      "type": "array",
      "items": {
        "required": [
          "ask",
          "bid",
          "day_avg_price",
          "day_change",
          "day_high",
          "day_low",
          "day_open",
          "day_volume_base",
          "day_volume_market",
          "last",
          "market"
        ],
        "properties": {
          "ask": {
            "type": "number",
            "description": "Asking price"
          },
          "bid": {
            "type": "number",
            "description": "Bid price"
          },
          "day_avg_price": {
            "type": "number",
            "description": "24 hour average"
          },
          "day_change": {
            "type": "number",
            "description": "24 hour change"
          },
          "day_high": {
            "type": "number",
            "description": "24 hour high"
          },
          "day_low": {
            "type": "number",
            "description": "24 hour low"
          },
          "day_open": {
            "type": "number",
            "description": "24 hour open"
          },
          "day_volume_base": {
            "type": "number",
            "description": "24 hour base volume"
          },
          "day_volume_market": {
            "type": "number",
            "description": "24 hour market volume"
          },
          "last": {
            "type": "number",
            "description": "Last price"
          },
          "market": {
            "type": "string",
            "description": "A market pairing of assets"
          }
        },
        "type": "object"
      }
    }
  },
  "type": "object"
}

Responses

Status Meaning Description Schema
200 OK Success Tickers
401 Unauthorized Limit reached. None
404 Not Found Tickers not found. None
500 Internal Server Error Critical error. None

Schemas

Assets

{
  "properties": {
    "assets": {
      "type": "array",
      "items": {
        "required": [
          "can_deposit",
          "can_withdraw",
          "name",
          "symbol",
          "withdrawal_fee"
        ],
        "properties": {
          "symbol": {
            "type": "string",
            "description": "Trading symbol"
          },
          "name": {
            "type": "string",
            "description": "Name of the asset"
          },
          "can_deposit": {
            "type": "string",
            "description": "Can deposit"
          },
          "can_withdraw": {
            "type": "string",
            "description": "Can withdraw"
          },
          "withdrawal_fee": {
            "type": "string",
            "description": "Withdrawal fee"
          }
        },
        "type": "object"
      }
    }
  },
  "type": "object"
}

Properties

Name Type Required Restrictions Description
assets [Asset] false none none

Asset

{
  "required": [
    "can_deposit",
    "can_withdraw",
    "name",
    "symbol",
    "withdrawal_fee"
  ],
  "properties": {
    "symbol": {
      "type": "string",
      "description": "Trading symbol"
    },
    "name": {
      "type": "string",
      "description": "Name of the asset"
    },
    "can_deposit": {
      "type": "string",
      "description": "Can deposit"
    },
    "can_withdraw": {
      "type": "string",
      "description": "Can withdraw"
    },
    "withdrawal_fee": {
      "type": "string",
      "description": "Withdrawal fee"
    }
  },
  "type": "object"
}

Properties

Name Type Required Restrictions Description
symbol string true none Trading symbol
name string true none Name of the asset
can_deposit string true none Can deposit
can_withdraw string true none Can withdraw
withdrawal_fee string true none Withdrawal fee

Markets

{
  "properties": {
    "markets": {
      "type": "array",
      "items": {
        "required": [
          "base",
          "maker_fee",
          "market",
          "quote",
          "taker_fee"
        ],
        "properties": {
          "market": {
            "type": "string",
            "description": "A market pairing of assets"
          },
          "base": {
            "type": "string",
            "description": "The base asset"
          },
          "quote": {
            "type": "string",
            "description": "The quote asset"
          },
          "maker_fee": {
            "type": "string",
            "description": "Maker fee"
          },
          "taker_fee": {
            "type": "string",
            "description": "Taker fee"
          }
        },
        "type": "object"
      }
    }
  },
  "type": "object"
}

Properties

Name Type Required Restrictions Description
markets [Market] false none none

Market

{
  "required": [
    "base",
    "maker_fee",
    "market",
    "quote",
    "taker_fee"
  ],
  "properties": {
    "market": {
      "type": "string",
      "description": "A market pairing of assets"
    },
    "base": {
      "type": "string",
      "description": "The base asset"
    },
    "quote": {
      "type": "string",
      "description": "The quote asset"
    },
    "maker_fee": {
      "type": "string",
      "description": "Maker fee"
    },
    "taker_fee": {
      "type": "string",
      "description": "Taker fee"
    }
  },
  "type": "object"
}

Properties

Name Type Required Restrictions Description
market string true none A market pairing of assets
base string true none The base asset
quote string true none The quote asset
maker_fee string true none Maker fee
taker_fee string true none Taker fee

Orderbook

{
  "properties": {
    "buy": {
      "type": "array",
      "items": {
        "required": [
          "price",
          "quantity"
        ],
        "properties": {
          "price": {
            "type": "number",
            "description": "Price"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity"
          }
        },
        "type": "object"
      }
    },
    "sell": {
      "type": "array",
      "items": {
        "required": [
          "price",
          "quantity"
        ],
        "properties": {
          "price": {
            "type": "number",
            "description": "Price"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity"
          }
        },
        "type": "object"
      }
    }
  },
  "type": "object"
}

Properties

Name Type Required Restrictions Description
buy [Order] false none none
sell [Order] false none none

Order

{
  "required": [
    "price",
    "quantity"
  ],
  "properties": {
    "price": {
      "type": "number",
      "description": "Price"
    },
    "quantity": {
      "type": "number",
      "description": "Quantity"
    }
  },
  "type": "object"
}

Properties

Name Type Required Restrictions Description
price number true none Price
quantity number true none Quantity

Ticker

{
  "required": [
    "ask",
    "bid",
    "day_avg_price",
    "day_change",
    "day_high",
    "day_low",
    "day_open",
    "day_volume_base",
    "day_volume_market",
    "last",
    "market"
  ],
  "properties": {
    "ask": {
      "type": "number",
      "description": "Asking price"
    },
    "bid": {
      "type": "number",
      "description": "Bid price"
    },
    "day_avg_price": {
      "type": "number",
      "description": "24 hour average"
    },
    "day_change": {
      "type": "number",
      "description": "24 hour change"
    },
    "day_high": {
      "type": "number",
      "description": "24 hour high"
    },
    "day_low": {
      "type": "number",
      "description": "24 hour low"
    },
    "day_open": {
      "type": "number",
      "description": "24 hour open"
    },
    "day_volume_base": {
      "type": "number",
      "description": "24 hour base volume"
    },
    "day_volume_market": {
      "type": "number",
      "description": "24 hour market volume"
    },
    "last": {
      "type": "number",
      "description": "Last price"
    },
    "market": {
      "type": "string",
      "description": "A market pairing of assets"
    }
  },
  "type": "object"
}

Properties

Name Type Required Restrictions Description
ask number true none Asking price
bid number true none Bid price
day_avg_price number true none 24 hour average
day_change number true none 24 hour change
day_high number true none 24 hour high
day_low number true none 24 hour low
day_open number true none 24 hour open
day_volume_base number true none 24 hour base volume
day_volume_market number true none 24 hour market volume
last number true none Last price
market string true none A market pairing of assets

Tickers

{
  "properties": {
    "tickers": {
      "type": "array",
      "items": {
        "required": [
          "ask",
          "bid",
          "day_avg_price",
          "day_change",
          "day_high",
          "day_low",
          "day_open",
          "day_volume_base",
          "day_volume_market",
          "last",
          "market"
        ],
        "properties": {
          "ask": {
            "type": "number",
            "description": "Asking price"
          },
          "bid": {
            "type": "number",
            "description": "Bid price"
          },
          "day_avg_price": {
            "type": "number",
            "description": "24 hour average"
          },
          "day_change": {
            "type": "number",
            "description": "24 hour change"
          },
          "day_high": {
            "type": "number",
            "description": "24 hour high"
          },
          "day_low": {
            "type": "number",
            "description": "24 hour low"
          },
          "day_open": {
            "type": "number",
            "description": "24 hour open"
          },
          "day_volume_base": {
            "type": "number",
            "description": "24 hour base volume"
          },
          "day_volume_market": {
            "type": "number",
            "description": "24 hour market volume"
          },
          "last": {
            "type": "number",
            "description": "Last price"
          },
          "market": {
            "type": "string",
            "description": "A market pairing of assets"
          }
        },
        "type": "object"
      }
    }
  },
  "type": "object"
}

Properties

Name Type Required Restrictions Description
tickers [Ticker] false none none

Errors

The AltMarket API uses the following error codes:

Error Code Meaning
400 Bad Request -- Your request is invalid.
401 Unauthorized -- Your API key is wrong or your limit has been reached.
403 Forbidden -- The endpoint requested is hidden for administrators only.
404 Not Found -- The specified item could not be found.
405 Method Not Allowed -- You tried to access an endpoint with an invalid method.
406 Not Acceptable -- You requested a format that isn't json.
500 Internal Server Error -- We had a problem with our server. Try again later.
503 Service Unavailable -- We're temporarily offline for maintenance. Please try again later.