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

# Orbscan: Polymarket On-Chain Explorer and REST API

> Orbscan is a REST API and on-chain explorer for Polymarket. Query trader activity, deposits, withdrawals, and decoded transactions via JSON.

Orbscan is a REST API and on-chain explorer built on top of Polymarket, the world's largest prediction market. It indexes every wallet, trade, and position on Polymarket and exposes that data through clean, queryable JSON endpoints — so you can answer questions like "What trades has this wallet made recently?", "When did this wallet deposit or withdraw USDC?", and "What exactly happened in this transaction?" without manually scraping the blockchain.

## Why Orbscan exists

Polymarket generates a continuous stream of on-chain trading data, but that raw data is difficult to work with directly. Orbscan solves three core problems:

* **Aggregation** — raw contract events are normalized into structured records for wallets, trades, and transfers.
* **Decoding** — individual transaction hashes are decoded into human-readable summaries with every on-chain fill enumerated.
* **Accessibility** — everything is available over standard REST endpoints that any HTTP client can query in minutes.

Whether you're a trader reviewing your own history, a developer building a portfolio tracker, or a researcher studying prediction market dynamics, Orbscan gives you the data layer you need.

## Open API endpoints

The Orbscan Open API exposes three public endpoints. The broader [orbscan.com](https://orbscan.com) platform also offers a web explorer with leaderboards, market search, and analytics — but the programmatic API is focused on the three endpoints below.

<CardGroup cols={3}>
  <Card title="Trader Activity" icon="bolt">
    Query paginated buy, sell, and redeem history for any Polymarket wallet address, with optional filters by market, block range, or timestamp.
  </Card>

  <Card title="Deposits & Withdrawals" icon="money-bill-transfer">
    Retrieve the full USDC deposit and withdrawal history for any wallet, including timestamps, amounts, and counterparty addresses.
  </Card>

  <Card title="Transaction Decode" icon="magnifying-glass">
    Look up any transaction hash and get a decoded, human-readable summary of every on-chain action it contains.
  </Card>
</CardGroup>

## What data Orbscan surfaces

The three endpoints cover three primary data domains. Each is paginated with cursor-based pagination and returns results in the standard `{ success, code, message, data }` envelope.

| Domain           | Endpoint                                        | Description                                                                                                                        |
| ---------------- | ----------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| **Activity**     | `GET /v1/trader/{address}/activity`             | Every buy, sell, and redeem event for a wallet, with price (in cents), quantity, fees, and market details.                         |
| **Transfers**    | `GET /v1/trader/{address}/deposits-withdrawals` | USDC deposits and withdrawals for a wallet, including amount, timestamp, and counterparty address.                                 |
| **Transactions** | `GET /v1/tx/{txHash}`                           | A decoded summary of a single on-chain transaction, with a plain-English sentence and a list of every individual fill it contains. |

<Note>
  Orbscan data is updated in near real time, with most endpoints reflecting on-chain state within seconds of a new trade settling.
</Note>
