---
title: "Count Search Results"
method: GET
path: "/search/count"
tags: ["Search"]
---

# Count Search Results

`GET /search/count`

## Request

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

Get the count of links and domains matching a search term in the workspace.

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

## Query parameters

- `term` string
- `mode` 'strict' | 'flexible'

## Headers

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

## Response `200`

Search result counts

- object
  - `links` integer: Number of matching links
  - `domains` integer: Number of matching domains

---

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