---
title: "List Tracking Links"
method: GET
path: "/api/{account}/tracking-links"
tags: ["Tracking Links"]
---

# List Tracking Links

`GET /api/{account}/tracking-links`

List all tracking links for the account and revenue data

## Query parameters

- `startDate` string, nullable — The start date for Tracking Links. Keep empty to get all.
- `endDate` string, nullable — The end date for Tracking Links. Keep empty to get all.
- `with_deleted` boolean, nullable — Whether or not to include deleted tracking links in the response. Default `false`
- `sortby` 'claims' | 'created_date', nullable — Sort by subscriber count (claims), or creation date
- `sort` 'desc' | 'asc', nullable — Sort the results. Default `desc`
- `limit` integer, nullable — The number of tracking links to return. Default `3`
- `offset` integer, nullable — The offset used for pagination. Default `0`
- `synchronous` boolean, nullable — Wait for the revenue data to finish processing, instead of processing in the background. **Will result in longer response times, use with caution**. Default `false`

## Response `200`

Success

- object
  - `data` object
    - `list` object[]
      - `id` integer
      - `campaignCode` integer
      - `campaignName` string
      - `campaignUrl` string
      - `subscribersCount` integer
      - `clicksCount` integer
      - `createdAt` string
      - `endDate` string, nullable
      - `tags` string[]
      - `revenue` object
        - `total` integer
        - `revenuePerSubscriber` integer
        - `revenuePerClick` number
        - `spendersCount` integer
        - `calculatedAt` string
        - `isLoading` boolean
      - `links` object
        - `related` object
          - `subscribers` string
    - `hasMore` boolean
  - `_pagination` object
    - `next_page` string
  - `_meta` object
    - `_credits` object
      - `used` integer
      - `balance` integer
      - `note` string
    - `_cache` object
      - `is_cached` boolean
      - `note` string
    - `_rate_limits` object
      - `limit_minute` integer
      - `limit_day` integer
      - `remaining_minute` integer
      - `remaining_day` integer

---

[API](https://skmtc.net/onlyfansapi/apis/onlyfans-api.md) · [All operations](https://skmtc.net/onlyfansapi/apis/onlyfans-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onlyfansapi/onlyfans-api/revisions/4a99d36f28a3/schema)
