Skip to main content
Account setupTo access these endpoints, you will need:Learn more about getting access to the X API v2 endpoints in our getting started guide.
Getting started

Authentication

You can authenticate this endpoint with either OAuth 1.0a User Context, [OAuth 2.0 App-Only](https://developer.x.com(/resources/fundamentals/authentication#app-only-authentication-and-oauth-2-0-bearer-token), or OAuth 2.0 Authorization Code with PKCE.  

Making a request

You can call the Communities Lookup endpoint by providing an ID as shown below (using the ID 1758747817642700922):
If the request is successful, you should see the JSON response as shown below:

Community fields

You can fetch additional data associated with a community by specifying Community Fields. The following Community Fields are available:

Example Request

You can call the Communities Lookup endpoint with additional community fields as shown below (using the ID 1758747817642700922):
Example Response If the request is successful, you should see the JSON response as shown below: