# A wallet's OTC history

> Every buy and sale the wallet made through the locker, newest first (up to 200): the coin, amount, SOL paid, the 5% fee, what a seller received, the price as a market cap and the other wallet.


`GET https://dev.payday.direct/api/v1/otc/history/{wallet}`

Every buy and sale the wallet made through the locker, newest first (up to 200): the coin, amount, SOL paid, the 5% fee, what a seller received, the price as a market cap and the other wallet.

## Parameters

- `wallet` (path, string, required): A Solana wallet

## Responses

- 200: OK
- 400: Not a wallet address
- 401: Missing or invalid key

```json
{
  "ok": true,
  "wallet": "BuyerWa11et11111111111111111111111111111111",
  "items": [
    {
      "side": "buy",
      "sig": "5Xy...q1",
      "listing": "L1st1ngAddre55111111111111111111111111111111",
      "mint": "3unDHbPUsLqQtoHgvuCsRSArnuhVjhsn11vRht5Xpump",
      "coin": {
        "mint": "3unDHbPUsLqQtoHgvuCsRSArnuhVjhsn11vRht5Xpump",
        "name": "Example Coin",
        "symbol": "Example",
        "image": "https://payday.direct/img/example.png",
        "decimals": 6
      },
      "amount": 250000,
      "pay": 0.0081,
      "fee": 0.000405,
      "received": null,
      "each": 3.24e-8,
      "mcapUsd": 4536,
      "quote": "sol",
      "mode": "usd",
      "counterparty": "SellerWa11et1111111111111111111111111111111",
      "offerStatus": "partly",
      "at": "2026-11-17T15:40:02.000Z"
    }
  ]
}
```

## Example

```bash
curl "https://dev.payday.direct/api/v1/otc/history/WALLET" \
  -H "Authorization: Bearer pd_YOUR_KEY"
```