Waves Data Feed API allows you to get market data in raw or OHLCV (candlestick) formats for unconfirmed and confirmed DEX transactions.

REST API URLs:

http://marketdata.wavesplatform.com/api/
http://marketdata.wavesplatform.com/api/v1/

REST API Secure URLs:

https://marketdata.wavesplatform.com/api/
https://marketdata.wavesplatform.com/api/v1/

Asset Symbols

Get list of asset symbols

GET /symbols

#Example:
http://marketdata.wavesplatform.com/api/symbols

Response:

[
	{
	  "symbol" : "B@",
	  "assetID" : "APz41KyoKuBBh8t3oZjqvhbbsg6f63tpZM5Ck5LYx6h"
	}, {
	  "symbol" : "BTC",
	  "assetID" : "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS"
	}, {
	  "symbol" : "CNY",
	  "assetID" : "DEJbZipbKQjwEiRjx2AqQFucrj5CZ3rAc4ZvFM8nAsoA"
	}, {
	  "symbol" : "EFYT",
	  "assetID" : "725Yv9oceWsB4GsYwyy4A52kEwyVrL5avubkeChSnL46"
	}, {
	  "symbol" : "ETT",
	  "assetID" : "8ofu3VpEaVCFjRqLLqzTMNs5URKUUQMrPp3k6oFmiCc6"
	}, {
	  "symbol" : "EUR",
	  "assetID" : "Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU"
	}, {
	  "symbol" : "INCNT",
	  "assetID" : "FLbGXzrpqkvucZqsHDcNxePTkh2ChmEi4GdBfDRRJVof"
	}, {
	  "symbol" : "KLN",
	  "assetID" : "EYz8Zvs62D4d7F5ZgXHCWuzuFaZg63FYnfVQrTWQoLSK"
	}, {
	  "symbol" : "MER",
	  "assetID" : "HzfaJp8YQWLvQG4FkUxq2Q7iYWMYQ2k8UF89vVJAjWPj"
	}, {
	  "symbol" : "MGO",
	  "assetID" : "2Y8eFFXDTkxgCvXbMT5K4J38cpDYYbQdciJEZb48vTDj"
	}, {
	  "symbol" : "MRT",
	  "assetID" : "4uK8i4ThRGbehENwa6MxyLtxAjAo1Rj9fduborGExarC"
	}, {
	  "symbol" : "PBKX",
	  "assetID" : "39wcSXj4MdRNRJXA88rVxF7EXWjYixaA3J3EteoN6DMM"
	}, {
	  "symbol" : "PING",
	  "assetID" : "Bi4w2UuGRt2jAJFfRb8b3SwDUV5x8krCzX2zZHcRfPNc"
	}, {
	  "symbol" : "RBX",
	  "assetID" : "AnERqFRffNVrCbviXbDEdzrU6ipXCP5Y1PKpFdRnyQAy"
	}, {
	  "symbol" : "TKS",
	  "assetID" : "BDMRyZsmDZpgKhdM7fUTknKcUbVVkDpMcqEj31PUzjMy"
	}, {
	  "symbol" : "UPC",
	  "assetID" : "4764Pr9DpKQAHAjAVA2uqnrYidLMnM7vpDDLCDWujFTt"
	}, {
	  "symbol" : "USD",
	  "assetID" : "Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck"
	}, {
	  "symbol" : "WAVES",
	  "assetID" : "WAVES"
	}, {
	  "symbol" : "WCT",
	  "assetID" : "DHgwrRvVyqJsepd32YbBqUeDH4GJ1N984X8QoekjgH8J"
	}, {
	  "symbol" : "WGO",
	  "assetID" : "4eT6R8R2XuTcBuTHiXVQsh2dN2mg3c2Qnp95EWBNHygg"
	}, {
	  "symbol" : "WPN",
	  "assetID" : "BkFyeRdrLquxds5FenxyonyfTwMVJJ6o6L7VTaPr5fs3"
	}, {
	  "symbol" : "ZRC",
	  "assetID" : "5ZPuAVxAwYvptbCgSVKdTzeud9dhbZ7vvxHVnZUoxf4h"
	} 
]

Markets

Get list of all traded markets with 24h stats and matchers info

GET /markets

#Example:
http://marketdata.wavesplatform.com/api/markets

Response:

[
    {
      "symbol" : "B@/BTC",
      "amountAssetID" : "APz41KyoKuBBh8t3oZjqvhbbsg6f63tpZM5Ck5LYx6h",
      "amountAssetName" : "[email protected]",
      "amountAssetDecimals" : 8,
      "amountAssetTotalSupply" : "25000000.00000000",
      "amountAssetMaxSupply" : "infinite",
      "amountAssetCirculatingSupply" : "11411669.00000000",
      "priceAssetID" : "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS",
      "priceAssetName" : "WBTC",
      "priceAssetDecimals" : 8,
      "priceAssetTotalSupply" : "21000000.00000000",
      "priceAssetMaxSupply" : "21000000.00000000",
      "priceAssetCirculatingSupply" : "1769.00000000",
      "24h_open" : "0.00040000",
      "24h_high" : "0.00040000",
      "24h_low" : "0.00040000",
      "24h_close" : "0.00040000",
      "24h_vwap" : "0.00040000",
      "24h_volume" : "40.00000000",
      "24h_priceVolume" : "0.01600000",
      "totalTrades" : 110,
      "firstTradeDay" : 1493251200000,
      "lastTradeDay" : 1493251308864,
      "matchers" : [ {
        "publicKey" : "7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy",
        "url" : "http://138.201.152.164:6886"
      } ]
    }, {
      "symbol" : "B@/WAVES",
      "amountAssetID" : "APz41KyoKuBBh8t3oZjqvhbbsg6f63tpZM5Ck5LYx6h",
      "amountAssetName" : "[email protected]",
      "amountAssetDecimals" : 8,
      "amountAssetTotalSupply" : "25000000.00000000",
      "amountAssetMaxSupply" : "infinite",
      "amountAssetCirculatingSupply" : "11411669.00000000",
      "priceAssetID" : "WAVES",
      "priceAssetName" : "WAVES",
      "priceAssetDecimals" : 8,
      "priceAssetTotalSupply" : "100000000.00000000",
      "priceAssetMaxSupply" : "100000000.00000000",
      "priceAssetCirculatingSupply" : "100000000.00000000",
      "24h_open" : "0.33000000",
      "24h_high" : "0.51000000",
      "24h_low" : "0.33000000",
      "24h_close" : "0.39990000",
      "24h_vwap" : "0.46096734",
      "24h_volume" : "3035.53760139",
      "24h_priceVolume" : "1399.28369358",
      "totalTrades" : 112,
      "firstTradeDay" : 1492128000000,
      "lastTradeDay" : 1492128131328,
      "matchers" : [ {
        "publicKey" : "7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy",
        "url" : "http://138.201.152.164:6886"
      } ]
    }, {
      "symbol" : "BTC/EUR",
      "amountAssetID" : "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS",
      "amountAssetName" : "WBTC",
      "amountAssetDecimals" : 8,
      "amountAssetTotalSupply" : "21000000.00000000",
      "amountAssetMaxSupply" : "21000000.00000000",
      "amountAssetCirculatingSupply" : "1769.00000000",
      "priceAssetID" : "Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU",
      "priceAssetName" : "WEUR",
      "priceAssetDecimals" : 2,
      "priceAssetTotalSupply" : "1000000000.00000000",
      "priceAssetMaxSupply" : "infinite",
      "priceAssetCirculatingSupply" : "110100.00000000",
      "24h_open" : "2228.46",
      "24h_high" : "2231.48",
      "24h_low" : "2200.42",
      "24h_close" : "2231.48",
      "24h_vwap" : "2225.87",
      "24h_volume" : "0.18654724",
      "24h_priceVolume" : "415.22",
      "totalTrades" : 87,
      "firstTradeDay" : 1492473600000,
      "lastTradeDay" : 1492473726144,
      "matchers" : [ {
        "publicKey" : "7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy",
        "url" : "http://138.201.152.164:6886"
      } ]
    }
..
..
]

Matchers

Get list of all discovered matchers with traded markets

GET /matchers

#Example:
http://marketdata.wavesplatform.com/api/matchers

Response:

[
    {
      "matcherID" : "",
      "publicKey" : "14DJe1HwbboNZheubK9PPzhUg551Bbv7LuhxChUs3dPr",
      "url" : "http://2.236.102.236:6886",
      "fee" : 0,
      "isp" : "Fastweb",
      "city" : "Rome",
      "country" : "IT",
      "markets" : [ ]
    }, {
      "matcherID" : "",
      "publicKey" : "2n3WysRnJo8CucPprgh4fuX1bkDHJP9UaLUdsSvJZM9a",
      "url" : "http://94.214.44.158:6886",
      "fee" : 0,
      "isp" : "Ziggo",
      "city" : "Oss",
      "country" : "NL",
      "markets" : [ ]
    }, {
      "matcherID" : "",
      "publicKey" : "3L13v1csuK9UL7xBovgQFKbs459sSxe2dJo3ZuR3bmCe",
      "url" : "http://139.59.140.223:6886",
      "fee" : 0,
      "isp" : "Digital Ocean",
      "city" : "Frankfurt am Main",
      "country" : "DE",
      "markets" : [ {
        "amountAsset" : "WAVES",
        "priceAsset" : "9raden5PRWfW3NJvHyt6GPJtrYZYjeaQMkBVrpGVxBEE"
      } ]
    }, {
      "matcherID" : "",
      "publicKey" : "5CGQFJFev3AEWChsV33Gnt2NwXoWC3pwckJxfjkLZ4mf",
      "url" : "http://178.238.236.94:6886",
      "fee" : 0,
      "isp" : "Contabo GmbH",
      "city" : "Munich (Ramersdorf - Perlach)",
      "country" : "DE",
      "markets" : [ {
        "amountAsset" : "WAVES",
        "priceAsset" : "Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe"
      }, {
        "amountAsset" : "WAVES",
        "priceAsset" : "HyFJ3rrq5m7FxdkWtQXkZrDat1F7LjVVGfpSkUuEXQHj"
      }, {
        "amountAsset" : "WAVES",
        "priceAsset" : "2xnE3EdpqXtFgCP156qt1AbyjpqdZ5jGjWo3CwTawcux"
      }, {
        "amountAsset" : "WAVES",
        "priceAsset" : "6pmDivReTLikwYqQtJTv6dTcE59knriaodB3AK8T9cF8"
      }, {
        "amountAsset" : "Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe",
        "priceAsset" : "2aSqCbvCTgvCpwkGsk4mea4tCLG4Zgp69aQDhHNvRUZv"
      }, {
        "amountAsset" : "Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe",
        "priceAsset" : "8zEZuJcKPQmFuYgVe5ZMpxgiPLu5zBhjA6xgdGomQDaP"
      }, {
        "amountAsset" : "Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe",
        "priceAsset" : "D2MNuUyA38pSKoV7F7vpS15Uhw9nw5qfbrGUfCLRNuRo"
      }
..
..
]

Tickers

Get tickers for all traded markets

GET /tickers

#Example:
http://marketdata.wavesplatform.com/api/tickers

Response:

[
    {
      "symbol" : "B@/BTC",
      "amountAssetID" : "APz41KyoKuBBh8t3oZjqvhbbsg6f63tpZM5Ck5LYx6h",
      "amountAssetName" : "[email protected]",
      "amountAssetDecimals" : 8,
      "amountAssetTotalSupply" : "25000000.00000000",
      "amountAssetMaxSupply" : "infinite",
      "amountAssetCirculatingSupply" : "11411669.00000000",
      "priceAssetID" : "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS",
      "priceAssetName" : "WBTC",
      "priceAssetDecimals" : 8,
      "priceAssetTotalSupply" : "21000000.00000000",
      "priceAssetMaxSupply" : "21000000.00000000",
      "priceAssetCirculatingSupply" : "1769.00000000",
      "24h_open" : "0.00040000",
      "24h_high" : "0.00040000",
      "24h_low" : "0.00040000",
      "24h_close" : "0.00040000",
      "24h_vwap" : "0.00040000",
      "24h_volume" : "40.00000000",
      "24h_priceVolume" : "0.01600000",
      "timestamp" : 1498798060195
    }, {
      "symbol" : "B@/WAVES",
      "amountAssetID" : "APz41KyoKuBBh8t3oZjqvhbbsg6f63tpZM5Ck5LYx6h",
      "amountAssetName" : "[email protected]",
      "amountAssetDecimals" : 8,
      "amountAssetTotalSupply" : "25000000.00000000",
      "amountAssetMaxSupply" : "infinite",
      "amountAssetCirculatingSupply" : "11411669.00000000",
      "priceAssetID" : "WAVES",
      "priceAssetName" : "WAVES",
      "priceAssetDecimals" : 8,
      "priceAssetTotalSupply" : "100000000.00000000",
      "priceAssetMaxSupply" : "100000000.00000000",
      "priceAssetCirculatingSupply" : "100000000.00000000",
      "24h_open" : "0.33000000",
      "24h_high" : "0.51000000",
      "24h_low" : "0.33000000",
      "24h_close" : "0.39990000",
      "24h_vwap" : "0.46096734",
      "24h_volume" : "3035.53760139",
      "24h_priceVolume" : "1399.28369358",
      "timestamp" : 1498798060195
    }, {
      "symbol" : "BTC/EUR",
      "amountAssetID" : "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS",
      "amountAssetName" : "WBTC",
      "amountAssetDecimals" : 8,
      "amountAssetTotalSupply" : "21000000.00000000",
      "amountAssetMaxSupply" : "21000000.00000000",
      "amountAssetCirculatingSupply" : "1769.00000000",
      "priceAssetID" : "Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU",
      "priceAssetName" : "WEUR",
      "priceAssetDecimals" : 2,
      "priceAssetTotalSupply" : "1000000000.00000000",
      "priceAssetMaxSupply" : "infinite",
      "priceAssetCirculatingSupply" : "110100.00000000",
      "24h_open" : "2228.46",
      "24h_high" : "2231.48",
      "24h_low" : "2200.42",
      "24h_close" : "2231.48",
      "24h_vwap" : "2225.87",
      "24h_volume" : "0.18654724",
      "24h_priceVolume" : "415.22",
      "timestamp" : 1498798060195
    }
..
..
]

Ticker

Get ticker for a specified asset pair

GET /ticker/{AMOUNT_ASSET}/{PRICE_ASSET}

    # {AMOUNT_ASSET} and {PRICE_ASSET} are asset IDs or asset Symbols

#Example:
http://marketdata.wavesplatform.com/api/ticker/WAVES/BTC
http://marketdata.wavesplatform.com/api/ticker/WAVES/8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS

Response:

    {
      "symbol" : "WAVES/BTC",
      "amountAssetID" : "WAVES",
      "amountAssetName" : "WAVES",
      "amountAssetDecimals" : 8,
      "amountAssetTotalSupply" : "100000000.00000000",
      "amountAssetMaxSupply" : "100000000.00000000",
      "amountAssetCirculatingSupply" : "100000000.00000000",
      "priceAssetID" : "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS",
      "priceAssetName" : "WBTC",
      "priceAssetDecimals" : 8,
      "priceAssetTotalSupply" : "21000000.00000000",
      "priceAssetMaxSupply" : "21000000.00000000",
      "priceAssetCirculatingSupply" : "1769.00000000",
      "24h_open" : "0.00167870",
      "24h_high" : "0.00177000",
      "24h_low" : "0.00150001",
      "24h_close" : "0.00154037",
      "24h_vwap" : "0.00159388",
      "24h_volume" : "38772.93226749",
      "24h_priceVolume" : "61.79940128",
      "timestamp" : 1498798083804
    }

Trades

Get unconfirmed and confirmed trades for a specified asset pair

GET /ticker/{AMOUNT_ASSET}/{PRICE_ASSET}/{LIMIT}        # get the last {LIMIT} trades
GET /ticker/{AMOUNT_ASSET}/{PRICE_ASSET}/{FROM}/{TO}    # get trades within the {FROM} / {TO} time range

    # {AMOUNT_ASSET} and {PRICE_ASSET} are asset IDs or asset Symbols
    # valid {LIMIT} values are between 1 and 100
    # {FROM} and {TO} are Unix epoch timestamps in milliseconds

#Example:
http://marketdata.wavesplatform.com/api/trades/WAVES/BTC/3
http://marketdata.wavesplatform.com/api/trades/WAVES/BTC/1495296000000/1495296280000

Response:

[
    {
      "timestamp" : 1495296143670,
      "id" : "5esGG7Q8Hzvjajsac486B5N3JsNHrdiMifwzCMqStakK",
      "confirmed" : true,
      "type" : "buy",
      "price" : "0.00077975",
      "amount" : "317.01051775",
      "buyer" : "3P2TcKrVqphRL4VrFnDK59TgKkEyEugcjAd",
      "seller" : "3P2r8iNt6owth5r514C5ACTufJRABXxhpi5",
      "matcher" : "7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy"
    }, {
      "timestamp" : 1495296062249,
      "id" : "3HGJCmCQ9QwQaVjF2Bge5wiKsVZzjZP6xq35tkYHzWyq",
      "confirmed" : true,
      "type" : "buy",
      "price" : "0.00079000",
      "amount" : "130.00000000",
      "buyer" : "3P3iQKHYfSkDnCQAB5zBdUfhnWwxEss1NKQ",
      "seller" : "3PP88DWupShvM5jVZTAragjhdeP53qfhmSw",
      "matcher" : "7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy"
    }, {
      "timestamp" : 1495296042552,
      "id" : "E4FPRMYP7Ad2Hb3FS58cgtWr1LQpJyXMUwNrLHtYzrQX",
      "confirmed" : true,
      "type" : "sell",
      "price" : "0.00077977",
      "amount" : "82.00000000",
      "buyer" : "3PJFr7vvZVJnhFtexiDZu3HCUR8RjG4c78c",
      "seller" : "3PPnoB3kiMrG6ZEnfmnWBDnTvYcrVTVucSd",
      "matcher" : "7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy"
    }
]

Trades (by address)

Get trades for a specified asset pair and address

GET /ticker/{AMOUNT_ASSET}/{PRICE_ASSET}/{ADDRESS}/{LIMIT}

    # {AMOUNT_ASSET} and {PRICE_ASSET} are asset IDs or asset Symbols
    # valid {LIMIT} values are between 1 and 100

#Example:
http://marketdata.wavesplatform.com/api/trades/WAVES/BTC/3PCfUovRHpCoGL54UakGBTSDEXTbmYMU3ib/2

Response:

[
    {
      "timestamp" : 1498536758694,
      "id" : "BwbTgRw8FQkkF2xAqLz7J2rqkiiw5enqZt1exNW3Vqgb",
      "confirmed" : true,
      "type" : "sell",
      "price" : "0.00165618",
      "amount" : "60.00000000",
      "buyer" : "3PCfUovRHpCoGL54UakGBTSDEXTbmYMU3ib",
      "seller" : "3PFkYGpVfdPuUtSwHrqatdWPk1WXLQHaLfa",
      "matcher" : "7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy"
    }, {
      "timestamp" : 1498534434123,
      "id" : "4dUvAQcrN1JwoBWBaCLVKfdm8eEYJzzhhJeCwx1Z3SCB",
      "confirmed" : true,
      "type" : "buy",
      "price" : "0.00167384",
      "amount" : "25.76843292",
      "buyer" : "3PCfUovRHpCoGL54UakGBTSDEXTbmYMU3ib",
      "seller" : "3PR8QqY5dkgBhitrkEHDmXU42Kk8eqps2xF",
      "matcher" : "7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy"
    }
]

Candles

Get OHLCV candlestick data for the specified asset pair

GET /candles/{AMOUNT_ASSET}/{PRICE_ASSET}/{TIMEFRAME}/{LIMIT}        # get the last {LIMIT} candles
GET /candles/{AMOUNT_ASSET}/{PRICE_ASSET}/{TIMEFRAME}/{FROM}/{TO}    # get candles within the {FROM} / {TO} time range

    # {AMOUNT_ASSET} and {PRICE_ASSET} are asset IDs or asset Symbols
    # {TIMEFRAME} is expressed in minutes; valid timeframes are valid timeframes are 5, 15, 30, 60, 240, 1440 minutes
    # valid {LIMIT} values are between 1 and 100
    # {FROM} and {TO} are Unix epoch timestamps in milliseconds

#Example:
http://marketdata.wavesplatform.com/api/ticker/WAVES/BTC/30/5
http://marketdata.wavesplatform.com/api/candles/WAVES/BTC/1440/1495238400000/1496102400000

Response:

[
    {
      "timestamp" : 1498536000000,
      "open" : "0.00170430",
      "high" : "0.00170430",
      "low" : "0.00165618",
      "close" : "0.00165618",
      "vwap" : "0.00168210",
      "volume" : "264.43216559",
      "priceVolume" : "0.44480134",
      "confirmed" : true
    }, {
      "timestamp" : 1498534200000,
      "open" : "0.00167384",
      "high" : "0.00170331",
      "low" : "0.00166789",
      "close" : "0.00166789",
      "vwap" : "0.00169317",
      "volume" : "409.26779823",
      "priceVolume" : "0.69295995",
      "confirmed" : true
    }, {
      "timestamp" : 1498532400000,
      "open" : "0.00166756",
      "high" : "0.00166756",
      "low" : "0.00164021",
      "close" : "0.00166366",
      "vwap" : "0.00165797",
      "volume" : "464.69898252",
      "priceVolume" : "0.77045697",
      "confirmed" : true
    }, {
      "timestamp" : 1498530600000,
      "open" : "0.00168726",
      "high" : "0.00168726",
      "low" : "0.00164658",
      "close" : "0.00166753",
      "vwap" : "0.00166071",
      "volume" : "152.10897130",
      "priceVolume" : "0.25260888",
      "confirmed" : true
    }, {
      "timestamp" : 1498528800000,
      "open" : "0.00169710",
      "high" : "0.00169945",
      "low" : "0.00164072",
      "close" : "0.00166644",
      "vwap" : "0.00167681",
      "volume" : "657.62552303",
      "priceVolume" : "1.10271305",
      "confirmed" : true
    }
]