> ## Documentation Index
> Fetch the complete documentation index at: https://www.ayrshare.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Interessen

> Durchsuchen Sie Snapchats Interessenkategorien per Stichwort, um die Interessen-IDs zu erhalten, die Sie in einem Snapchat-Boost ansprechen können.

Durchsuchen Sie Snapchats Interessenkategorien per Stichwort. Senden Sie die `id` jedes gewünschten Interesses in `targeting.interests`, wenn Sie [einen Snap boosten](https://www.ayrshare.com/docs/apis/ads/snapchat/boost-post.md).

<ul>
  <li>Snapchats Interessen sind seine Snap Lifestyle Categories, etwa „Bargain Hunters" oder „Beauty Mavens".</li>
  <li>Die Suche findet jedes Interesse, dessen Name Ihren Begriff enthält. Groß- und Kleinschreibung spielt keine Rolle.</li>
  <li>Die Antwort liefert bis zu 25 passende Interessen, alle auf einer Seite. Verwenden Sie einen spezifischeren Begriff, um die Liste einzugrenzen.</li>
  <li>Die Ergebnisse stammen aus Snapchats US-Kategorienliste.</li>
  <li>Jedes Ergebnis hat seine `id`, `name` und `path`. `path` zeigt, wo das Interesse in Snapchats Kategorienbaum liegt.</li>
</ul>

## Header-Parameter

**Authorization** `string` *required*

[API Key](https://www.ayrshare.com/docs/apis/overview.md#authorization) of the Primary Profile.

Format: `Authorization: Bearer API_KEY`
**Profile-Key** `string`

[Profile Key](https://www.ayrshare.com/docs/apis/overview.md#profile-key-format) of a User Profile.

Format: `Profile-Key: PROFILE_KEY`

## Query-Parameter

**search** `string` *required*

Der Suchbegriff, 1 bis 100 Zeichen. Kodieren Sie ihn in der URL, zum Beispiel `beauty%20mavens`.

```bash cURL theme={"system"}
curl \
-H "Authorization: Bearer API_KEY" \
-X GET "https://api.ayrshare.com/api/ads/snapchat/interests?search=beauty"
```

```json 200: Success theme={"system"}
{
  "status": "success",
  "kind": "interests",
  "results": [
    {
      "id": "SLC_2",
      "name": "Beauty Mavens",
      "path": "/Beauty/Beauty Mavens",
      "kind": "interests"
    }
  ],
  "meta": { "pagination": { "hasMore": false } }
}
```

```json 400: Missing search theme={"system"}
{
  "action": "request",
  "status": "error",
  "code": 101,
  "message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis",
  "details": "Targeting search needs a query of 1 to 100 characters."
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.