We offer a monthly flat-rate option with unlimited requests to receive ALL price updates across an entire network. Supported on Solana, Base and more. Contact us for more information.
Usage Guidelines
- Recommended: ~25 tokens per subscription. You may have multiple subscriptions on a connection.
- There is no βhard limitβ on how many subscriptions you can have open on a connection, but we generally recommend ~20-30.
- Your internet connection, and geolocation (proximity to US-West), may affect connection health and speeds, especially with many subscriptions.
- See our Subscriptions concept for more information.
Troubleshooting Tips
Token prices are changing between API calls for the same timestamp
Token prices are changing between API calls for the same timestamp
On chains with sub-second block times (like BSC), multiple price updates can occur within a single second. Since blockchain timestamps only have 1-second precision, multiple different prices can validly exist for the same timestamp.To workaround this, weβve added a
Β
blockNumberΒ input and response field. This will give you pricing accuracy down to the blocknumber if blockchain timestamps are causing unexpected pricing discrepancies.Β
If I subscribe to multiple trading pairs, can I later cancel a certain trading pair?
If I subscribe to multiple trading pairs, can I later cancel a certain trading pair?
Yes. You should be able to use shouldResubscribe for this. (https://www.apollographql.com/docs/react/data/subscriptions#options)