ok router query

Streams pairs as they happen, where market network bid contains sol, market protocol family is OKX and time duration is 10: duration, market address, market name, network, network bid, protocol family, protocol and 12 more fields.

By gaurav · saved 17 October 2025 · run 4 times · Bitquery API v2

What it returns

Filters

The subscription

subscription PairsOhlc {
  Trading {
    Pairs(
      where: {Interval: {Time: {Duration: {eq: 10}}}, Market: {NetworkBid: {includes: "sol"}, ProtocolFamily: {is: "OKX"}}, Volume: {Usd: {gt: 5}}}
    ) {
      Interval {
        Time {
          Duration
        }
      }
      Market {
        Address
        Name
        Network
        NetworkBid
        ProtocolFamily
        Protocol
        Program
        Id
      }
      Price {
        IsQuotedInUsd
        Ohlc {
          Close
          Open
        }
      }
      Token {
        Address
        Network
        Name
        NetworkBid
        TokenId
        Symbol
      }
      QuoteToken {
        Address
        Network
        Name
        NetworkBid
        TokenId
        Symbol
      }
    }
  }
}

Similar queries