Param Filters
Parameters that filter by entity or address, such as base, from and to on GET /transfers, accept a plain entity ID or address and a small set of filter forms. Which forms apply depends on the endpoint, so check the support table below before combining them.
Filter forms
| Form | Example | What it matches |
|---|---|---|
| Entity ID | base=binance | Binance's own wallets, on either side. Entity IDs are lower case: Binance returns an error. |
| Address | base=0x28C6c06298d514Db089934071355E5743bf21d60 | That one address. |
Exclude with ! | base=!binance | Everything except Binance. ! goes in front of any form in this table. |
Entity type with type: | to=type:cex | Any entity of that type, here every centralised exchange. |
Shielded addresses with type:shielded | base=type:shielded | Shielded addresses on privacy chains such as Zcash. |
Deposit addresses with deposit: | to=deposit:binance | The addresses Binance's customers deposit to, not Binance's own wallets. |
Service wallets with service: | to=service:binance | Addresses attributed to Binance and marked as service wallets. to=service:all matches any service wallet. |
Address prefix with prefix: | base=prefix:0x28c6 | Every address that starts with those characters, on any chain. |
Contracts with contract: | to=contract:true | Smart contracts only. contract:false matches externally owned accounts only. |
Several forms can be combined in one value, for example base=type:cex,!binance for every exchange except Binance.
type: accepts the values returned by GET /intelligence/entity_types, in lower case. A value outside that list matches nothing and does not return an error. An entity ID that does not exist returns an error.
deposit: is a separate population from the entity itself: to=binance matches Binance's own wallets, while to=deposit:binance matches the addresses its customers send deposits to.
service: applies only to transfer from and to filters. Named selectors require both the entity and the service-wallet designation on the same address; an unknown entity matches nothing. Use service:all for any service wallet, or !service:binance to exclude Binance service wallets. Positive comma-separated selectors are alternatives: to=service:binance,deposit:binance matches Binance service wallets or Binance deposit addresses. Service-wallet filters support EVM, Tron, and Solana. Omit chains to search those chains, or specify only supported chains. These selectors are unavailable for Bitcoin-family chains, HyperCore, WebSocket streams, and alerts.
Support by endpoint
The columns are the parameters that accept filter forms:
- Transfers:
base,from,toonGET /transfers,GET /transfers/unenriched,GET /transfers/histogram - Swaps:
base,senders,receivers,protocolsonGET /swaps - HyperCore:
baseonGET /hypercore/trades,GET /hypercore/trades/aggregate - Tokens:
tokenson the transfers and swaps endpoints, andfrom/toonGET /swaps
| Form | Transfers | Swaps | HyperCore | Tokens |
|---|---|---|---|---|
! | Yes | Yes | Yes | Yes |
type: | Yes | No | No | No |
type:shielded | Yes | No | No | No |
deposit: | Yes | No | No | No |
service: | from and to only | No | No | No |
prefix: | Yes | Yes | Yes | No |
contract: | Yes | No | No | No |
On transfers, deposit: and service: apply on from and to, and the counterparties parameter takes plain entity IDs and addresses only. On swaps, prefix: does not apply on protocols. Token filters take token IDs or contract addresses, never ticker symbols, so tokens=!tether excludes Tether and tokens=BTC matches nothing.
Endpoints that take the address or entity as a path segment, such as GET /counterparties/entity/{entity}, do not accept these forms.