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

# रुचियाँ

> Reddit की ad interests नाम से खोजें, अधिकतम 25 matches, और Reddit post boost करते समय targeting.interests में भेजने के लिए interest IDs पाएँ।

Target करने के लिए Reddit interests खोजें। जब आप [कोई पोस्ट boost करें](https://www.ayrshare.com/docs/apis/ads/reddit/boost-post.md), तो चुनी गई हर interest का `id` `targeting.interests` में भेजें।

<ul>
  <li>`search` interest के नाम के किसी भी हिस्से से मेल खाता है, अक्षरों के case को अनदेखा करते हुए।</li>
  <li>अधिकतम 25 परिणाम एक ही पेज में लौटाए जाते हैं। `meta.pagination.hasMore` हमेशा `false` होता है।</li>
  <li>`search` न भेजने, खाली भेजने या 100 characters से लंबा भेजने पर `code: 101` लौटाया जाता है।</li>
</ul>

## हैडर पैरामीटर

**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`

## क्वेरी पैरामीटर

**search** `string` *required*

Interest के नामों में खोजने के लिए text, 1 से 100 characters।

```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.