Pear Exchange
Posts

GET /api/posts/feed

Backs the mobile Activity tab. Returns auto_trade posts (server-created on FILLED ≥ $5 USD), manual posts, and auto_position_close (PnL highlight) posts in reverse-chronological order. See the Activity feed guide for the full card-to-field mapping and a designer-grade enriched shape.

GET
/api/posts/feed

Query Parameters

scope?string
Value in"following" | "global"
limit?integer
Default25
Range1 <= value <= 100
cursor?string

ISO timestamp from previous response's nextCursor

Response Body

application/json

curl -X GET "https://api.pear.trade/api/posts/feed"

What /api/posts/feed?scope=global returns today. Mirrors the three activity cards in the design (whale_mike.eth $2400 BTC, kw_trades $850 AZ Senate, alex_l $1200 Lakers).

{
  "scope": "global",
  "items": [
    {
      "id": "post_01HX9WQK4D2A7N6F4W5T3KZQXQ",
      "source": "auto_trade",
      "body": null,
      "trade": {
        "id": "ord_8c1f4a30",
        "venue": "polymarket",
        "venueMarketId": "0x5f7c2e9a8b1d4e6f3a2c8d9e7b1f4a3c6d2e8b9f1a4c7e3d2b6a9f8c1e4d7b3a",
        "outcome": "yes",
        "sizeUsd": 2400
      },
      "event": {
        "pearEventId": "pear_btc_5pm_edt",
        "slug": "btc-price-today-5pm-edt",
        "title": "Bitcoin price today at 5pm EDT",
        "imageUrl": "https://cdn.pear.trade/events/btc.png"
      },
      "market": {
        "venue": "polymarket",
        "venueMarketId": "0x5f7c2e9a8b1d4e6f3a2c8d9e7b1f4a3c6d2e8b9f1a4c7e3d2b6a9f8c1e4d7b3a",
        "title": "BTC above $70,800"
      },
      "author": {
        "userId": "did:privy:cmmthssoe00rd0cjsllawl7m9",
        "handle": "whale_mike.eth",
        "displayName": "Whale Mike",
        "avatarUrl": "https://cdn.pear.trade/avatars/whale_mike.png"
      },
      "imageUrl": null,
      "likeCount": 5,
      "commentCount": 12,
      "copyCount": 2,
      "liked": false,
      "visibility": "public",
      "createdAt": "2026-04-24T16:09:30.000Z"
    },
    {
      "id": "post_01HX9WPS3M8N1V2K7H6L9DQXR2",
      "source": "auto_trade",
      "body": null,
      "trade": {
        "id": "ord_b3a91d6c",
        "venue": "polymarket",
        "venueMarketId": "0xa1b2c3d4e5f60718293a4b5c6d7e8f9012345678abcdef0123456789abcdef01",
        "outcome": "yes",
        "sizeUsd": 850
      },
      "event": {
        "pearEventId": "pear_az_senate_2026",
        "slug": "az-senate-2026",
        "title": "Will Dem candidate win Arizona Senate?",
        "imageUrl": "https://cdn.pear.trade/events/az-senate.png"
      },
      "market": {
        "venue": "polymarket",
        "venueMarketId": "0xa1b2c3d4e5f60718293a4b5c6d7e8f9012345678abcdef0123456789abcdef01",
        "title": "Democrat wins Arizona Senate 2026"
      },
      "author": {
        "userId": "did:privy:cmm2x1n7w00aa0cjs5g2ftkpd",
        "handle": "kw_trades",
        "displayName": "KW Trades",
        "avatarUrl": "https://cdn.pear.trade/avatars/kw_trades.png"
      },
      "imageUrl": null,
      "likeCount": 8,
      "commentCount": 4,
      "copyCount": 1,
      "liked": false,
      "visibility": "public",
      "createdAt": "2026-04-24T16:09:00.000Z"
    },
    {
      "id": "post_01HX9WP3Y6F1Q2W8E7R4T9YQXS3",
      "source": "auto_position_close",
      "body": null,
      "trade": {
        "id": "ord_4d8c7b1e",
        "venue": "kalshi",
        "venueMarketId": "KXNBASPREAD-26APR-LAL",
        "outcome": "yes",
        "sizeUsd": 1200
      },
      "event": {
        "pearEventId": "pear_lakers_spread_apr",
        "slug": "lakers-cover-spread-apr",
        "title": "Will Lakers cover -4.5 spread?",
        "imageUrl": "https://cdn.pear.trade/events/lakers-warriors.png"
      },
      "market": {
        "venue": "kalshi",
        "venueMarketId": "KXNBASPREAD-26APR-LAL",
        "title": "Lakers to cover -4.5"
      },
      "author": {
        "userId": "did:privy:cmm9p4lz500jx0cjslckrnp7v",
        "handle": "alex_l",
        "displayName": "Alex L.",
        "avatarUrl": "https://cdn.pear.trade/avatars/alex_l.png"
      },
      "imageUrl": null,
      "likeCount": 14,
      "commentCount": 3,
      "copyCount": 0,
      "liked": false,
      "visibility": "public",
      "createdAt": "2026-04-24T16:08:00.000Z"
    }
  ],
  "nextCursor": "2026-04-24T16:08:00.000Z",
  "coldStart": false
}