Skip to content

Latest commit

 

History

History
91 lines (67 loc) · 3.13 KB

File metadata and controls

91 lines (67 loc) · 3.13 KB

Chainlink External Adapter for CryptoMKT

1.3.32 v2

Base URL https://api.exchange.cryptomkt.com/api/3/

This document was generated automatically. Please see README Generator for more info.

Environment Variables

Required? Name Description Type Options Default
API_ENDPOINT string https://api.exchange.cryptomkt.com/api/3/

Data Provider Rate Limits

Name Requests/credits per second Requests/credits per minute Requests/credits per hour Note
free 10 only mentions minute limit

Input Parameters

Every EA supports base input parameters from this list

Required? Name Description Type Options Default
endpoint The endpoint to use string crypto, ticker crypto

Crypto Endpoint

NOTE: the ticker endpoint is temporarily still supported, however, is being deprecated. Please use the crypto endpoint instead.

Supported names for this endpoint are: crypto, ticker.

Input Params

Required? Name Aliases Description Type Options Default Depends On Not Valid With
base coin, from, fsym The symbol of the currency to query string
quote market, to, tsym The symbol of the currency to convert to string

Example

Request:

{
  "id": "1",
  "data": {
    "base": "BTC",
    "quote": "ARS",
    "endpoint": "crypto",
    "resultPath": "last"
  },
  "debug": {
    "cacheKey": "CcS8zsdvjPOtcrwvJC+eqUSZheg="
  },
  "rateLimitMaxAge": 6666
}

Response:

{
  "jobRunID": "1",
  "data": {
    "ask": "12395990",
    "bid": "12339900",
    "last": "12396935",
    "low": "11716731",
    "high": "12403061",
    "open": "11845809",
    "volume": "1.62057",
    "volume_quote": "19483671.75328",
    "timestamp": "2021-11-25T16:27:54.000Z",
    "result": 12396935
  },
  "result": 12396935,
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License