> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bebop.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Look up historical trades and transaction details across all Bebop-supported chains.

The Trade History API gives you read-only access to every trade executed through Bebop. Look up trades by wallet address or inspect individual transactions - all from a single endpoint that aggregates across every supported chain.

## When to Use

* You need **post-trade analytics** - reconciling fills, tracking volumes, or reviewing trades attributed to your integration
* You want to **inspect any Bebop transaction across all supported chains** from a single endpoint, without querying each chain separately

## At a Glance

| | |
| - | - |
| **Transport** | REST |
| **Authentication** | Optional (required to see your integration's trades) |
| **Base URL** | `https://api.bebop.xyz/history/v2/` |
| **Complexity** | Low - standard REST GET requests |

## How It Works

| Step | Action | You send | You get back |
| - | - | - | - |
| 1 | Query trades | Wallet address → `GET /history/v2/trades` | Paginated list of trades with token + USD details |
| 2 | Inspect a transaction | Tx hash → `GET /history/v2/tx/{tx_hash}` | Full trade breakdown: tokens, amounts, gas, type |

To see trades attributed to your integration, [authenticate with your API key](https://docs.bebop.xyz/core-concepts/authentication.md). The results are scoped to your integration automatically.

## Key Endpoints

| Endpoint | Purpose |
| - | - |
| `GET /history/v2/trades` | Query trades by wallet address with time range and pagination |
| `GET /history/v2/tx/{tx_hash}` | Look up a specific transaction by hash |

## Next Steps

> [card] [Quickstart](https://docs.bebop.xyz/trade-history-api/quickstart.md)
>
> Fetch your first trade history in a few minutes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.