# Paxie Copy-Leader Buy History API

> Paxie Copy-Leader Buy History API is a paid API for AI agents from api.paxie.fun, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Returns the last 100 buys by a tracked Solana copy-leader wallet with full copy-trading analytics: leader size, curve position, token age, co-buyers, quote drift, paper fill slippage, leader's next action, 60-minute token price path, and replayed copy return.

## Facts

- Endpoint: GET https://api.paxie.fun/v1/sol/wallets/:addr/copy-stats?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/paxie-copy-leader-buy-history-api-3d3e54c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ecS7PfPQSslVhesTw_QPw

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability paxie-copy-leader-buy-history-api-3d3e54c4
```

Example prompt: Pull the last 100 buys for Solana wallet 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU on Paxie and show me the replay copy returns, slippage, and what the leader did after each buy.

## When to prefer this

Choose this endpoint when you need granular per-buy analytics for a specific tracked Solana copy-leader wallet, including execution quality metrics (slippage, drift), post-buy leader behavior, and backtested copy returns. It is uniquely suited for evaluating whether a leader wallet is worth following, auditing copy-trade execution quality, or building leader scoreboards. Prefer over generic token or wallet analytics when the question is specifically about copy-trading performance of a leader over the last 14 days.

## Known failure modes

- 404 if the wallet address is not tracked by Paxie (not charged)
- 400 if the address does not match base58 pattern (32-44 chars)
- Empty buys array if no purchases recorded in the last 14 days
- Stale data up to 1 hour old due to hourly rebuild cadence
- null fields for metrics where on-chain data was unavailable or trade was not replayed

## How this service works

Every buy by one Solana copy-leader wallet that the desk observed in the last 14 days (newest 100): leader size, curve position, token age, other leaders on it, our quote drift and paper fill slip vs the leader, what the leader did next, the token's 60-minute path after the buy and the replayed copy return, plus a summary. On-chain addresses only. Rebuilt hourly; untracked wallets answer 404 and are not charged.

## Output

A JSON object containing the wallet address, chain, schema version, generation timestamp, cache age in seconds, and an array of up to 100 buy records (newest first). Each buy record includes: Unix timestamp, token mint, whether the trade was copied, leader's SOL position size, bonding curve percentage, token age in minutes, number of co-buying leaders, quote drift %, paper fill slip %, time-to-fill in milliseconds, whether the leader sold first, seconds until leader sold, leader's sell gain, 60-minute token price path (shadow object), and replayed copy return. Also includes aggregated summary statistics and top-level copied count and date range.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "addr"
     ],
     "properties": {
      "addr": {
       "type": "string",
       "pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
       "description": "Solana wallet address (base58), e.g. from /v1/sol/wallets/leaders"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "number",
       "default": 100,
       "maximum": 100,
       "minimum": 1,
       "description": "Max buys, newest first, 1-100 (default 100)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "schemaVersion",
      "generatedAt",
      "ageSec",
      "wallet",
      "buys"
     ],
     "properties": {
      "n": {
       "type": "integer"
      },
      "buys": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "at",
         "mint"
        ],
        "properties": {
         "at": {
          "type": "integer"
         },
         "mint": {
          "type": "string"
         },
         "copied": {
          "type": "boolean"
         },
         "ourRet": {
          "type": [
           "number",
           "null"
          ]
         },
         "shadow": {
          "type": "object"
         },
         "slipPct": {
          "type": [
           "number",
           "null"
          ]
         },
         "coBuyers": {
          "type": "integer"
         },
         "curvePct": {
          "type": [
           "number",
           "null"
          ]
         },
         "driftPct": {
          "type": [
           "number",
           "null"
          ]
         },
         "leaderSol": {
          "type": [
           "number",
           "null"
          ]
         },
         "replayRet": {
          "type": [
           "number",
           "null"
          ]
         },
         "tokenAgeMin": {
          
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/paxie-copy-leader-buy-history-api-3d3e54c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.paxie.fun](https://www.zero.xyz/host/api.paxie.fun/llms.txt)
