{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bitstamp Market Data API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Market Data",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get ticker data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.bitstamp.net/api/v2/ticker/:currency_pair/",
            "params": [
              {
                "name": "currency_pair",
                "value": "",
                "type": "path",
                "description": "Currency pair symbol (e.g., btcusd, ethusd, btceur)"
              }
            ]
          },
          "docs": "Returns ticker data for the specified currency pair including last price, bid, ask, volume, and 24-hour statistics."
        },
        {
          "info": {
            "name": "Get hourly ticker data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.bitstamp.net/api/v2/ticker_hour/:currency_pair/",
            "params": [
              {
                "name": "currency_pair",
                "value": "",
                "type": "path",
                "description": "Currency pair symbol (e.g., btcusd, ethusd)"
              }
            ]
          },
          "docs": "Returns hourly ticker data for the specified currency pair."
        },
        {
          "info": {
            "name": "Get order book",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.bitstamp.net/api/v2/order_book/:currency_pair/",
            "params": [
              {
                "name": "currency_pair",
                "value": "",
                "type": "path",
                "description": "Currency pair symbol (e.g., btcusd, ethusd)"
              },
              {
                "name": "group",
                "value": "",
                "type": "query",
                "description": "Group orders with the same price (0 = disabled, 1 = enabled, 2 = orders grouped by order price with additional decimal places)"
              }
            ]
          },
          "docs": "Returns a JSON dictionary with bids and asks lists of open orders for the specified currency pair."
        },
        {
          "info": {
            "name": "Get recent transactions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.bitstamp.net/api/v2/transactions/:currency_pair/",
            "params": [
              {
                "name": "currency_pair",
                "value": "",
                "type": "path",
                "description": "Currency pair symbol (e.g., btcusd, ethusd)"
              },
              {
                "name": "time",
                "value": "",
                "type": "query",
                "description": "Time interval from which to get transactions (minute, hour, day)"
              }
            ]
          },
          "docs": "Returns a descending list of recent transactions for the specified currency pair."
        },
        {
          "info": {
            "name": "Get trading pairs info",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.bitstamp.net/api/v2/trading-pairs-info/"
          },
          "docs": "Returns a list of all available trading pairs with their details including minimum order size and decimal precision."
        },
        {
          "info": {
            "name": "Get OHLC data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.bitstamp.net/api/v2/ohlc/:currency_pair/",
            "params": [
              {
                "name": "currency_pair",
                "value": "",
                "type": "path",
                "description": "Currency pair symbol (e.g., btcusd, ethusd)"
              },
              {
                "name": "step",
                "value": "",
                "type": "query",
                "description": "Timeframe in seconds (60, 180, 300, 900, 1800, 3600, 7200, 14400, 21600, 43200, 86400, 259200)"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Limit OHLC results (minimum 1, maximum 1000)"
              },
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "Unix timestamp from when OHLC data will be started"
              },
              {
                "name": "end",
                "value": "",
                "type": "query",
                "description": "Unix timestamp to when OHLC data will be shown"
              },
              {
                "name": "exclude_current_candle",
                "value": "",
                "type": "query",
                "description": "Exclude the current (not yet closed) candle"
              }
            ]
          },
          "docs": "Returns OHLC (Open, High, Low, Close) candlestick data for the specified currency pair."
        },
        {
          "info": {
            "name": "Get available currencies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.bitstamp.net/api/v2/currencies/"
          },
          "docs": "Returns a list of available currencies."
        }
      ]
    }
  ],
  "bundled": true
}