---
title: "GET /affiliates/snapshot"
method: GET
path: "/affiliates/snapshot"
---

# GET /affiliates/snapshot

`GET /affiliates/snapshot`

## Query parameters

- `offset` number, double
- `limit` number, double
- `sortByReferredFees` boolean

## Response `200`

Ok

- AffiliateSnapshotResponse
  - `affiliateList` AffiliateSnapshotResponseObject[], required
    - `affiliateAddress` string, required
    - `affiliateEarnings` number, double, required
    - `affiliateReferralCode` string, required
    - `affiliateReferredTrades` number, double, required
    - `affiliateTotalReferredFees` number, double, required
    - `affiliateReferredUsers` number, double, required
    - `affiliateReferredNetProtocolEarnings` number, double, required
  - `total` number, double, required
  - `currentOffset` number, double, required

## Changes

- **2024-08-27** `0500c83096af` — 1 info
  - endpoint added
- **2024-05-14** `90fd32395633` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/dydxprotocol/apis/indexer-api/changes/affiliates/snapshot/get.md)

---

[API](https://skmtc.dev/dydxprotocol/apis/indexer-api.md) · [All operations](https://skmtc.dev/dydxprotocol/apis/indexer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dydxprotocol/indexer-api/revisions/d4e4efd86cde/schema)
