GET /dex/dex/v1/search/similar
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/dex/dex/v1/search/similarCache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing freeTokens similar to query q on a platform (tks rows).
name=dex_similar. q=SOL and platform=Solana (capital S) returned rows.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
q | query | str | required | Search string. example: SOL |
platform | query | str | required | Verified search used Solana with a capital S. example: Solana |
limit | query | int | optional | Maximum rows to return. |
sort | query | str | optional | Sort field. |
code | query | str | optional | dex_similar filter. No verified value is recorded. |
Response
type: object
data key: tks
count key: total
pagination: none
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/cmc/dex/dex/v1/search/similar?q=SOL&platform=Solana"