Skip to main content
GET
/
v1
/
transactions
/
{walletAddress}
curl --request GET \
  --url 'https://api.bookie.app/v1/transactions/7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU?limit=20' \
  --header 'Authorization: Bearer bookie_live_abc123def456'
{
  "data": [
    {
      "signature": "5wHu1qwD...",
      "type": "swap",
      "timestamp": "2024-03-08T14:30:00Z",
      "status": "confirmed",
      "details": {
        "inputToken": "SOL",
        "outputToken": "USDC",
        "inputAmount": 5.0,
        "outputAmount": 736.25,
        "priceImpact": 0.12
      }
    },
    {
      "signature": "3kJd9sLp...",
      "type": "transfer",
      "timestamp": "2024-03-08T13:15:00Z",
      "status": "confirmed",
      "details": {
        "token": "USDC",
        "amount": 10.0,
        "recipient": "alice.sol"
      }
    }
  ],
  "pagination": {
    "hasMore": true,
    "before": "3kJd9sLp..."
  }
}

Authorization

Authorization
string
required
Bearer token. Format: Bearer bookie_live_abc123def456

Path Parameters

walletAddress
string
required
Solana wallet address. Format: Base58 encoded public key

Query Parameters

limit
number
default:"50"
Maximum number of transactions to return. Max: 100
before
string
Transaction signature to paginate before
type
string
Filter by transaction type. Options: swap, transfer, all

Response

data
array
Array of transaction objectsEach transaction contains:
  • signature (string): Transaction signature
  • type (string): Transaction type
  • timestamp (string): ISO 8601 timestamp
  • status (string): Transaction status
  • details (object): Type-specific details
pagination
object
Pagination metadataProperties:
  • hasMore (boolean): Whether more transactions exist
  • before (string): Signature for next page
curl --request GET \
  --url 'https://api.bookie.app/v1/transactions/7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU?limit=20' \
  --header 'Authorization: Bearer bookie_live_abc123def456'
{
  "data": [
    {
      "signature": "5wHu1qwD...",
      "type": "swap",
      "timestamp": "2024-03-08T14:30:00Z",
      "status": "confirmed",
      "details": {
        "inputToken": "SOL",
        "outputToken": "USDC",
        "inputAmount": 5.0,
        "outputAmount": 736.25,
        "priceImpact": 0.12
      }
    },
    {
      "signature": "3kJd9sLp...",
      "type": "transfer",
      "timestamp": "2024-03-08T13:15:00Z",
      "status": "confirmed",
      "details": {
        "token": "USDC",
        "amount": 10.0,
        "recipient": "alice.sol"
      }
    }
  ],
  "pagination": {
    "hasMore": true,
    "before": "3kJd9sLp..."
  }
}