GET /solana/pools/{pool_address}/swaps

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/arkham/solana/pools/{pool_address}/swapsCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing credits

Recent swap transactions for a Solana DEX pool.

Parameters

nameintypedescription
pool_addresspathstrrequiredSolana DEX pool address
example: 58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2
limitqueryintoptionalMaximum swaps to return
example: 5

Response

type: object
data key: swaps
pagination: none
sample: {
  "swaps": "array[5]"
}

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/arkham/solana/pools/58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2/swaps?limit=5"