---
title: "Count Links"
method: GET
path: "/links/count"
tags: ["Links"]
---

# Count Links

`GET /links/count`

## Request

- Base URL: `https://api.rebrandly.com/v1`
- URL: `https://api.rebrandly.com/v1/links/count`
- Auth: API key in header `apikey`

Get total count of links with optional filtering.

**Requires:** Authenticated user with workspace access.

**Authorization:**

## Query parameters

- `domain.id` string
- `favourite` boolean

## Headers

- `Workspace` string
- `apikey` string, required

## Response `200`

Link count

- object
  - `count` integer

---

[API](https://skmtc.dev/rebrandly/apis/rebrandly-api.md) - [All operations](https://skmtc.dev/rebrandly/apis/rebrandly-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rebrandly/apis/rebrandly-api/revisions/b098bf9fb684?raw)
