---
title: "Search Strings"
method: GET
path: "/strings"
tags: ["Source Strings"]
---

# Search Strings

`GET /strings`

## Request

- Base URL: `https://api.crowdin.com/api/v2`
- URL: `https://api.crowdin.com/api/v2/strings`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crowdin/apis/crowdin-api-v2/docs/strings/get.ts> (a function with typed inputs; its response is checked against the schema)

**Required scopes:** `project.source.string` (Read only).

Searches source strings by text/context/key. Provide up to 50 `projectIds`, or omit them to search all your own projects — or another owner's accessible projects via `userId`.

## Query parameters

- `filter` string, required
- `projectIds` string
- `userId` integer
- `scope` 'all' | 'text' | 'context' | 'key'
- `denormalizePlaceholders` 0 | 1
- `limit` integer
- `offset` integer

## Response `200`

Matched source strings

- CrowdinStringSearchCollectionResource: Base schema of resource container. Container is a wrapper object that contains payload in required `data` property and provides space for adding any other metadata.
  - `data` union[], required
    - union
      - CrowdinFileBasedStringResource: Base schema of resource container. Container is a wrapper object that contains payload in required `data` property and provides space for adding any other metadata.
        - `data` FileBasedString, required
          - `id` integer
          - `projectId` integer
          - `branchId` integer, nullable
          - `identifier` string
          - `text` union
            - string
            - object
          - `type` string
          - `context` string
          - `maxLength` integer
          - `isHidden` boolean
          - `isDuplicate` boolean
          - `masterStringId` integer, nullable
          - `hasPlurals` boolean: Use fields `type` and `text` instead
          - `isIcu` boolean: Use field `type` instead
          - `labelIds` integer[]
          - `webUrl` string
          - `createdAt` string, date-time, nullable
          - `updatedAt` string, date-time, nullable
          - `fileId` integer
          - `directoryId` integer, nullable
          - `revision` integer
      - CrowdinStringBasedStringResource: Base schema of resource container. Container is a wrapper object that contains payload in required `data` property and provides space for adding any other metadata.
        - `data` StringBasedString, required
          - `id` integer
          - `projectId` integer
          - `branchId` integer, nullable
          - `identifier` string
          - `text` union
            - string
            - object
          - `type` string
          - `context` string
          - `maxLength` integer
          - `isHidden` boolean
          - `isDuplicate` boolean
          - `masterStringId` integer, nullable
          - `hasPlurals` boolean: Use fields `type` and `text` instead
          - `isIcu` boolean: Use field `type` instead
          - `labelIds` integer[]
          - `webUrl` string
          - `createdAt` string, date-time, nullable
          - `updatedAt` string, date-time, nullable
  - `pagination` Pagination: Pagination Response Model
    - `offset` integer
    - `limit` integer

## Other responses

- `400`: Invalid Request Parameters
- `404`: One of the requested projects was not found, or you have no projects to search
- `422`: The search was too broad to complete within the time limit

---

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