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

> ## Agent Instructions
> The Markdown of an API reference page leaves out the OpenAPI schema.
> Every object an endpoint returns or a webhook carries, with each field's type, presence and meaning, is on https://docs.0xinsider.com/api-reference/objects.md.
> The full OpenAPI 3.1 spec names each operation's and each webhook's exact parameters, request body and response schema: https://docs.0xinsider.com/api-reference/openapi.json.
> Both files are too large for one page fetch, so read the part you need with curl and jq, for example: curl -s https://docs.0xinsider.com/api-reference/openapi.json | jq '.paths["/api/v1/large-trades"].get'.

# Trader copy test

> Get what a follower buying 1 or 5 minutes after a wallet's large buys would have made, after the taker fee.

Use this endpoint to check whether a wallet's edge survives follower delay and Polymarket's taker fee. It replays the wallet's sports and esports large buys (`$5,000` or more) against the live top-of-book asks recorded 60 and 300 seconds after each fill, and scores each settled buy against the market's result.

For pre-kickoff price quality against the market's closing line instead of settled payout, use [Trader closing line value](https://docs.0xinsider.com/api-reference/endpoint/get-trader-clv.md). To filter candidate wallets by trading style before testing them, pass `execution_mode` to [Leaderboard](https://docs.0xinsider.com/api-reference/endpoint/get-leaderboard.md).

## Parameters

| Parameter | Description |
| - | - |
| `address` | The wallet address, a known username, or the trader's `trd_` id. A valid `0x` address with no trader record returns `200` with `status` set to `unknown_wallet`. |
| `window` | Lookback window ending now: `7d`, `30d` (default), or `90d`. Requesting `90d` before 90 days of recorded coverage exist returns `status` set to `no_coverage`. |
| `delay` | Follower horizon in seconds: `60` or `300`. Omit `delay` to return both horizons. |
| `category` | Count only buys in this sports or esports category, using the same values as [Large trade history](https://docs.0xinsider.com/api-reference/endpoint/get-large-trades-history.md). |
| `phase` | Filter buys by game phase: `pregame` (strictly before kickoff), `in_play` (at or after kickoff), or `all` (default). |
| `side_rule` | Entry rule per market: `all_buys` (default) scores every large buy, while `first_buy_per_market` keeps only the earliest large buy per `condition_id` in the window. |

## How the copy test is measured

Polymarket retains 1-minute price history for 7 days only, so 0xinsider records the live order-book best ask, best bid, midpoint, and market fee rate prospectively at fill plus 60 seconds and fill plus 300 seconds, starting `coverage_from` (`2026-12-01`). `window.from` is clipped to `coverage_from` so `at_wallet_price` and the follower asks evaluate the same cohort of buys.

Each settled buy pays `1.0` on a win, `0.5` on a 50-50 split, or `0.0` on a loss. Edge per buy is `(settled_payout - price) * 100` in probability points, where 1 point equals 1 cent per share. The after-fee fields subtract `fee_rate * p * (1 - p) * 100` evaluated at the follower's ask `p`.

## Key response fields

| Field | Meaning |
| - | - |
| `status` | `measured` once `buys.settled_with_follow_quote` reaches `min_buys` (`30`) on the requested horizon, `not_enough_buys` below `30`, `no_coverage` when `window=90d` precedes 90 days of coverage, or `unknown_wallet`. |
| `coverage_from` | First UTC date with recorded follower asks (`2026-12-01`). |
| `buys` | Counts of matching `total` buys, `settled` buys, `settled_50_50` splits, `with_follow_quote`, and `settled_with_follow_quote` at `60` and `300` seconds. |
| `edge_points.at_wallet_price` | Average `(payout - wallet_price) * 100` across `buys.settled`. |
| `edge_points.follower_60s_ask`, `edge_points.follower_60s_ask_after_fee` | Average follower edge at the 60-second ask, before and after the taker fee. |
| `edge_points.follower_300s_ask`, `edge_points.follower_300s_ask_after_fee` | Average follower edge at the 300-second ask, before and after the taker fee. |
| `interval_95` | Normal 95% confidence intervals `[low, high]` around the after-fee edges when at least 2 settled buys carry a measured follow quote. |
| `examples` | Up to 10 newest large buys in the window, with `wallet_price`, `price_60s`, `price_300s`, `fee_rate`, `settled`, and `pre_kickoff`. |

## Example

```bash theme={null}
curl -H "Authorization: Bearer $OXINSIDER_API_KEY" \
  "https://api.0xinsider.com/api/v1/trader/Substantial-Service/copy-test?window=30d&side_rule=first_buy_per_market"
```

## What it does not return

* Trades under `$5,000`, sells, or markets outside sports and esports. A follower copies entries, so sells are excluded.
* Historical follower asks before `2026-12-01`. Earlier fills predate prospective order-book recording.
* A summary over more than 25,000 large buys in one window. That returns `400`.

## Caching

Save the response's `ETag` and send it in `If-None-Match` on your next request. If nothing has changed, the server returns `304 Not Modified` with no body. Responses are cached per wallet and filter combination for up to 10 minutes.


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.0xinsider.com/llms.txt).


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