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

> Suchen Sie Reddits Werbeinteressen nach Namen, bis zu 25 Treffer, und erhalten Sie die IDs für targeting.interests, wenn Sie einen Reddit-Beitrag bewerben.

Finden Sie Reddit-Interessen für Ihr Targeting. Senden Sie die `id` jedes gewählten Interesses in `targeting.interests`, wenn Sie [einen Beitrag bewerben](https://www.ayrshare.com/docs/apis/ads/reddit/boost-post.md).

<ul>
  <li>`search` findet jeden Teil eines Interessennamens, ohne Groß- und Kleinschreibung zu beachten.</li>
  <li>Es werden bis zu 25 Treffer auf einer Seite zurückgegeben. `meta.pagination.hasMore` ist immer `false`.</li>
  <li>Ein fehlendes, leeres oder mehr als 100 Zeichen langes `search` führt zu `code: 101`.</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 Text, nach dem in Interessennamen gesucht wird, 1 bis 100 Zeichen.

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

```json 200: Success theme={"system"}
{
  "status": "success",
  "kind": "interests",
  "results": [
    { "id": "2707000000101", "name": "Technology", "kind": "interests" },
    { "id": "2707000000102", "name": "Tech News", "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.