# SLAMai Wallet Trades

> SLAMai Wallet Trades is a paid API for AI agents from api.slamai.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns trade history for a specified wallet address, filterable by token, pair, side, block range, or timestamp range.

## Facts

- Endpoint: POST https://api.slamai.dev/wallet/trades
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-slamai-dev-c926fc76
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7JD2CqdInwvk4peymZ-D2

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-slamai-dev-c926fc76 -d '<json body>'
```

Example prompt: Pull all trades for wallet 0xABC123...def on SLAMai where they were the trader, filtered to buy-side trades for the USDC/ETH pair over the last 7 days.

## When to prefer this

Use this endpoint when you need on-chain trade history for a specific wallet address, especially for smart money tracking, whale watching, or analyzing DeFi trading patterns. Prefer this over general blockchain explorers when you need structured, filterable trade data with token and pair context rather than raw transaction data.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Unknown token or pair address returns empty results or error
- Block range or timestamp range out of bounds returns empty set
- Wallet with no trade history returns empty array
- Missing required wallet address field returns validation error
- Rate limit or payment failure returns 402 or 429 status

## How this service works

Returns trades for a specified wallet address as the trader (default) or maker, with optional filtering by token, paired token, pair, side, block range, or timestamp range.

## Output

A list of trade records for the specified wallet, each containing trade details such as token addresses, trading pair, trade side (buy/sell), block number, timestamp, and transaction metadata. Results can be scoped by role (trader or maker), token, paired token, pair, side, block range, or timestamp range.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-slamai-dev-c926fc76/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.slamai.dev](https://www.zero.xyz/host/api.slamai.dev/llms.txt)
