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

# रुचियाँ

> Snapchat की interest categories को keyword से खोजें, ताकि Snapchat boost में target करने के लिए interest IDs मिल सकें।

Snapchat की interest categories को keyword से खोजें। जब आप [Snap boost करें](https://www.ayrshare.com/docs/apis/ads/snapchat/boost-post.md), तो हर चाही गई interest का `id` `targeting.interests` में भेजें।

<ul>
  <li>Snapchat की interests उसकी Snap Lifestyle Categories हैं, जैसे "Bargain Hunters" या "Beauty Mavens"।</li>
  <li>खोज हर उस interest से match करती है जिसके नाम में आपका term हो। Case से फ़र्क नहीं पड़ता।</li>
  <li>Response अधिकतम 25 matching interests लौटाता है, सभी एक ही page पर। सूची छोटी करने के लिए ज़्यादा specific term उपयोग करें।</li>
  <li>परिणाम Snapchat की US categories सूची से आते हैं।</li>
  <li>हर परिणाम में उसका `id`, `name` और `path` होता है। `path` दिखाता है कि interest Snapchat के category tree में कहाँ है।</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*

खोजने का term, 1 से 100 characters। इसे URL में escape करें, उदाहरण के लिए `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.