Market Data

Fetch spot prices, OHLC candles, and order book depth.

v2.0.0financeby norien · updated 10h ago
$ norien tool install market-data@2.0.0
Category
finance
Runtime
Permissions
0
Environment
0
declared variables

Details

Slug
market-data
Version
2.0.0
Runtime
Entrypoint
Authentication
api_key · X-Market-Key
License
Published
10h ago

Requirements

Permissions

None requested.

Dependencies

None.

Tags

marketpricestrading

Environment variables

No environment variables

This tool needs no configuration.

Input schema

{
  "type": "object",
  "required": [
    "symbol"
  ],
  "properties": {
    "depth": {
      "type": "number"
    },
    "symbol": {
      "type": "string",
      "description": "Trading pair, e.g. ETH-USD."
    },
    "interval": {
      "enum": [
        "1m",
        "5m",
        "1h",
        "1d"
      ],
      "type": "string"
    }
  }
}

Output schema

{
  "type": "object",
  "properties": {
    "price": {
      "type": "number"
    },
    "candles": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "c": {
            "type": "number"
          },
          "h": {
            "type": "number"
          },
          "l": {
            "type": "number"
          },
          "o": {
            "type": "number"
          },
          "t": {
            "type": "number"
          }
        }
      }
    }
  }
}

Version history