---
title: "Count Script Links"
method: GET
path: "/scripts/{script_id}/links/count"
tags: ["Scripts"]
---

# Count Script Links

`GET /scripts/{script_id}/links/count`

## Request

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

Count links that use a specific script.

## Path parameters

- `script_id` string, required

## Headers

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

## 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)
