Skip to main content

getExchanges

Retrieve information about supported cryptocurrency exchanges.

Parameters

skip
Int
Number of records to skip (offset pagination)
take
Int
Number of records to return (default: 10)
where
ExchangeFilterInput
Filter conditions for exchanges
order
ExchangeSortInput
Sort order for results. Can sort by: name, description

Response

exchanges
CollectionSegment<Exchange>
Paginated collection of exchange records
pageInfo
CollectionSegmentInfo
totalCount
Int
Total number of exchanges

Supported Exchanges

PriceSignal currently supports the following exchanges:
  • Binance - Global cryptocurrency exchange
  • Coinbase - US-based cryptocurrency exchange
  • Kraken - European cryptocurrency exchange
  • DexScreener - Decentralized exchange aggregator

Examples

query GetExchanges {
  exchanges {
    items {
      id
      name
      description
    }
    pageInfo {
      hasNextPage
      hasPreviousPage
    }
    totalCount
  }
}

Usage with Other Queries

Exchange data is commonly used as a filter in other queries:
query GetBinancePrices {
  prices(
    interval: ONE_MIN
    where: {
      exchange: { name: { eq: "Binance" } }
    }
  ) {
    nodes {
      symbol
      close
      exchange {
        name
      }
    }
  }
}

Build docs developers (and LLMs) love