getorderbook

Retrieve the orderbook for a given instrument.
URI: https://deribit.com/api/v1/public/getorderbook
URI Path: /api/v1/public/getorderbook
Parameters: instrument – string [optional], instrument name, example “BTC-19DEC14”, see getinstruments
Method: GET
Result is JSON object:
{
    "success": true,  // true or false
    "message": "",    // empty or text message
    "result": {
        "bids": [      // buy orders
            {
                "quantity": 2,     // quantity, in contracts ($10 per contract for futures, ฿1 — for options)
                "price": 416.02,   // float USD for futures, BTC for options
                "cm": 2            // cumulative quantity, with better orders, "quantity" is less or equal to the "cm"
            }
        ],
        "asks": [
            {
                "quantity": 1,
                "price": 420.02,
                "cm": 1
            },
            {
                "quantity": 2,
                "price": 421.02,
                "cum": 3
            }
        ],
		"last": 418.75, // last, BTC
        "low": 414.75,  // 24H low 
        "high": 420.75, // 24H high
		"slip": 0 // reserved, system purpose, usually 0
    }
}
getcurrencies
getlasttrades