> ## Documentation Index
> Fetch the complete documentation index at: https://generaltranslation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Spaces Search

> कीवर्ड के आधार पर लाइव या शेड्यूल किए गए Spaces खोजें

export const Button = ({href, children}) => {
  return <div className="not-prose group">
    <a href={href}>
      <button className="flex items-center space-x-2.5 py-1 px-4 bg-primary-dark dark:bg-white text-white dark:text-gray-950 rounded-full group-hover:opacity-[0.9] font-medium">
        <span>
          {children}
        </span>
        <svg width="3" height="24" viewBox="0 -9 3 24" class="h-6 rotate-0 overflow-visible"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg>
      </button>
    </a>
  </div>;
};

Spaces Search एंडपॉइंट आपको कीवर्ड के आधार पर लाइव या शेड्यूल किए गए Spaces खोजने की सुविधा देता है। अपनी रुचि के विषयों से जुड़े Spaces खोजें।

<div id="overview">
  ## अवलोकन
</div>

<CardGroup cols={2}>
  <Card title="कीवर्ड खोज" icon="magnifying-glass">
    शीर्षक के आधार पर Spaces खोजें
  </Card>

  <Card title="Spaces ढूँढें" icon="microphone">
    लाइव और आगामी Spaces ढूँढें
  </Card>
</CardGroup>

***

<div id="endpoint">
  ## एंडपॉइंट
</div>

| Method | Endpoint                                             | Description         |
| :----- | :--------------------------------------------------- | :------------------ |
| GET    | [`/2/spaces/search`](/hi/x-api/spaces/search-spaces) | Spaces के लिए खोजें |

***

<div id="parameters">
  ## पैरामीटर
</div>

| पैरामीटर       | विवरण                                         |
| :------------- | :-------------------------------------------- |
| `query`        | खोज क्वेरी (आवश्यक)                           |
| `state`        | `live` या `scheduled` के आधार पर फ़िल्टर करें |
| `space.fields` | अतिरिक्त Space फ़ील्ड्स                       |
| `expansions`   | शामिल किए जाने वाले संबंधित ऑब्जेक्ट्स        |

***

<div id="example-request">
  ## अनुरोध का उदाहरण
</div>

```bash theme={null}
curl "https://api.x.com/2/spaces/search?\
query=AI&\
state=live&\
space.fields=title,host_ids,participant_count" \
  -H "Authorization: Bearer $BEARER_TOKEN"
```

<div id="example-response">
  ## रिस्पॉन्स का उदाहरण
</div>

```json theme={null}
{
  "data": [
    {
      "id": "1DXxyRYNejbKM",
      "state": "live",
      "title": "Discussing AI and the Future",
      "host_ids": ["1234567890"],
      "participant_count": 245
    }
  ],
  "meta": {
    "result_count": 1
  }
}
```

***

<div id="getting-started">
  ## शुरुआत करें
</div>

<Note>
  **पूर्वापेक्षाएँ**

  * एक स्वीकृत [डेवलपर खाता](https://developer.x.com/en/portal/petition/essential/basic-info)
  * डेवलपर कंसोल में एक [Project और ऐप](/hi/resources/fundamentals/developer-apps)
  * आपके ऐप की [की और टोकन](/hi/resources/fundamentals/authentication)
</Note>

<CardGroup cols={2}>
  <Card title="त्वरित शुरुआत" icon="rocket" href="/hi/x-api/spaces/search/quickstart">
    अपना पहला Space खोजें
  </Card>

  <Card title="Spaces खोज" icon="microphone" href="/hi/x-api/spaces/lookup/introduction">
    ID से Spaces खोजें
  </Card>

  <Card title="API संदर्भ" icon="code" href="/hi/x-api/spaces/search-spaces">
    एंडपॉइंट का पूरा दस्तावेज़ीकरण
  </Card>
</CardGroup>
