API
Orders
List Fills

The maximum number of values returned in a single call is 1000.

Any parameter filter must be lowercased, including addresses (0xDeAd -> 0xdead)

List Historical Trades by Pair

{
buys: takes(first: 1000, orderBy:timestamp, orderDirection:desc,
        where: {take_gem: "0xasset", give_gem: "0xquote"}) {
    take_gem
    take_amt
    give_gem
    give_amt
    taker { 
      id 
    }
    offer {
      maker { 
        id
      }
      id
    }
    transaction {
      timestamp
    }
}
 
sells: takes(first: 1000, orderBy:timestamp, orderDirection:desc,
        where: {take_gem: "0xquote", give_gem: "0xasset"}) {
    take_gem
    take_amt
    give_gem
    give_amt
    taker { 
      id 
    }
    offer {
      maker { 
        id
      }
      id
    }
    transaction {
      timestamp
    }
  }
}

List Historical Trades by Maker

{
buys: takes(first: 1000, orderBy:timestamp, orderDirection:desc,
        where:  {offer_ : { maker: "0xinput_address" }}) {
    take_gem
    take_amt
    give_gem
    give_amt
    taker { 
      id 
    }
    offer {
      maker { 
        id
      }
      id
    }
    transaction {
      timestamp
    }
}
 
sells: takes(first: 1000, orderBy:timestamp, orderDirection:desc,
        where:  {offer_ : { maker: "0xinput_address" }}) {
    take_gem
    take_amt
    give_gem
    give_amt
    taker { 
      id 
    }
    offer {
      maker { 
        id
      }
      id
    }
    transaction {
      timestamp
    }
  }
}