API reference
History
An account's deposits, swaps and withdrawals, newest first.
GET
https://api.gum.ag/app/v1/history/{address}Parameters
| Parameter | In | Required | Description |
|---|---|---|---|
address | path | Yes | A Solana address, an EVM 0x address or a GUM address. |
type | query | No | deposit, swap or withdrawal. Omit for all. |
limit | query | No | 1–100, default 20. |
cursor | query | No | The previous page’s nextCursor. |
chainId | query | No | Only one market: the token’s chain. Pass it with token. |
token | query | No | Only one market: the token’s address on chainId. Pass it with chainId. |
mint | query | No | Only one market, by its GUM mint. Use instead of chainId and token. |
The market filter works with every type: a swap’s token, or the token a
deposit or withdrawal moved. Keep it on every page you fetch with cursor.
Response
items holds Activity objects,
newest first. nextCursor fetches the next page and is null on the last.