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

# Wallet Credit Totals

> Lifetime or time-windowed totals per credit type for one wallet, in one call. Polymarket's own API only exposes these as a raw activity feed you would have to page and sum yourself.

Total credits received by a wallet, per program, in one call. Add `start_ts`/`end_ts` for time-windowed totals (for example, rebates earned this month).

<Note>
  The response includes an `identity` block: `username`, controlling `eoa`, `wallet_type`, and `other_wallets` — the user's other deployed Polymarket wallets (same controlling account). Polymarket's own API does not expose this anywhere.
</Note>

## Credit types

Every credits endpoint accepts these values in `type`/`types`:

| Value             | Program                                       |
| ----------------- | --------------------------------------------- |
| `reward`          | [Liquidity rewards](/credits/rewards)         |
| `yield`           | [Yield on balances](/credits/yield)           |
| `maker_rebate`    | [Maker rebates](/credits/maker-rebates)       |
| `taker_rebate`    | [Taker rebates](/credits/taker-rebates)       |
| `referral_reward` | [Referral rewards](/credits/referral-rewards) |

`types` accepts a comma-separated set (`types=maker_rebate,taker_rebate`) or `all`.

## Examples

All five programs at once:

```bash theme={null}
curl "https://api.polynode.dev/v3/wallets/0x204f72f35326db932158cba6adff0b9a1da95e14/credits/totals" \
  -H "x-api-key: $POLYNODE_API_KEY"
```

Rebates only, June 2026:

```bash theme={null}
curl "https://api.polynode.dev/v3/wallets/0x204f72f35326db932158cba6adff0b9a1da95e14/credits/totals?types=maker_rebate,taker_rebate&start_ts=1780272000&end_ts=1782950400" \
  -H "x-api-key: $POLYNODE_API_KEY"
```


## OpenAPI

````yaml GET /v3/wallets/{addr}/credits/totals
openapi: 3.1.0
info:
  title: PolyNode API
  description: >-
    Real-time Polymarket data API with decoded mempool settlements, OHLCV
    candles, and full Polygon JSON-RPC proxy.
  contact:
    name: PolyNode
    url: https://polynode.dev
  license:
    name: ''
  version: 2.0.0
servers:
  - url: https://api.polynode.dev
    description: Production
security:
  - api_key: []
paths:
  /v3/wallets/{addr}/credits/totals:
    get:
      tags:
        - Credits
      summary: Wallet Credit Totals
      description: >-
        Lifetime or time-windowed totals per credit type for one wallet, in one
        call. Polymarket's own API only exposes these as a raw activity feed you
        would have to page and sum yourself.
      operationId: credits_wallet_totals
      parameters:
        - name: addr
          in: path
          required: true
          description: Wallet (proxy) address.
          schema:
            type: string
        - name: types
          in: query
          required: false
          description: >-
            Comma-separated set of credit types (One of `reward`, `yield`,
            `maker_rebate`, `taker_rebate`, `referral_reward`), or `all` for
            every type.
          schema:
            type: string
        - name: start_ts
          in: query
          required: false
          description: Unix seconds start bound (inclusive).
          schema:
            type: integer
        - name: end_ts
          in: query
          required: false
          description: Unix seconds end bound (inclusive).
          schema:
            type: integer
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                end_ts: null
                identity:
                  eoa: '0xafcd9f5f78cb559c99d93f1914880df74cc3fc21'
                  other_wallets: []
                  username: swisstony
                  wallet_type: null
                start_ts: null
                total_amount: '1667868.567600'
                totals:
                  maker_rebate:
                    amount: '303821.696700'
                    count: 130
                    first_ts: 1772075366
                    last_ts: 1783730716
                  taker_rebate:
                    amount: '1364046.870900'
                    count: 39
                    first_ts: 1781914210
                    last_ts: 1783728617
                wallet: '0x204f72f35326db932158cba6adff0b9a1da95e14'
components:
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: x-api-key

````