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

# कम्युनिटीज़ लुकअप

> ID के आधार पर कम्युनिटी का विवरण प्राप्त करें

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>;
};

कम्युनिटीज़ lookup एंडपॉइंट आपको X कम्युनिटीज़ की ID के आधार पर उनके बारे में जानकारी प्राप्त करने देता है।

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

कम्युनिटीज़, X पर सार्वजनिक या निजी समूह हैं, जहाँ सदस्य पोस्ट्स साझा कर सकते हैं, विषयों पर चर्चा कर सकते हैं, और समान रुचियों के आधार पर जुड़ सकते हैं।

<CardGroup cols={2}>
  <Card title="ID के अनुसार" icon="users-rectangle">
    किसी विशिष्ट कम्युनिटी का विवरण प्राप्त करें
  </Card>

  <Card title="खोज" icon="magnifying-glass">
    कीवर्ड के आधार पर कम्युनिटीज़ खोजें
  </Card>
</CardGroup>

***

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

| विधि | एंडपॉइंट                                                          | विवरण                                |
| :--- | :---------------------------------------------------------------- | :----------------------------------- |
| GET  | [`/2/communities/:id`](/hi/x-api/communities/get-community-by-id) | ID के आधार पर कम्युनिटी प्राप्त करें |

***

<div id="response-fields">
  ## रिस्पॉन्स फ़ील्ड्स
</div>

| फ़ील्ड         | विवरण                  |
| :------------- | :--------------------- |
| `id`           | कम्युनिटी ID           |
| `name`         | कम्युनिटी का नाम       |
| `description`  | कम्युनिटी का विवरण     |
| `created_at`   | बनाए जाने की तारीख     |
| `member_count` | सदस्यों की संख्या      |
| `is_private`   | क्या कम्युनिटी निजी है |

***

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

```bash theme={null}
curl "https://api.x.com/2/communities/1234567890?\
community.fields=name,description,member_count,created_at" \
  -H "Authorization: Bearer $BEARER_TOKEN"
```

***

<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="magnifying-glass" href="/hi/x-api/communities/search/introduction">
    कीवर्ड के आधार पर कम्युनिटीज़ खोजें
  </Card>

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