Skip to main content
GET
/
v1
/
twitter
/
search_communities
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/twitter/search_communities?query=superman' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "code": 0,
  "message": "success",
  "data": {
    "communities": [
      {
        "community_id": "1589365710655979520",
        "member_count": 110116,
        "name": "DC",
        "primary_topic": "Comics",
        "is_nsfw": false,
        "custom_banner": "https://pbs.twimg.com/community_banner_img/2009016448375525376/ZURf0uRs?format=jpg&name=orig",
        "default_banner": "https://pbs.twimg.com/media/FECQfL3UcAc3IfU.jpg",
        "user_id": ""
      },
      {
        "community_id": "1497576897756246016",
        "member_count": 1699,
        "name": "Superman Twitter Community",
        "primary_topic": "Comics",
        "is_nsfw": false,
        "custom_banner": "https://pbs.twimg.com/community_banner_img/1497578888414826499/IshOr5VG?format=jpg&name=orig",
        "default_banner": "https://pbs.twimg.com/media/FECPklzVUAEYfqd.jpg",
        "user_id": ""
      },
      {
        "community_id": "2010060912426648020",
        "member_count": 92,
        "name": "Fortress Terminal",
        "primary_topic": "Cryptocurrency",
        "is_nsfw": false,
        "custom_banner": "https://pbs.twimg.com/community_banner_img/2045205784561172480/COA02iQE?format=jpg&name=orig",
        "default_banner": "https://pbs.twimg.com/media/FECRHJRVkAEB9n7.jpg",
        "user_id": ""
      },
      {
        "community_id": "1610235650363604992",
        "member_count": 185,
        "name": "SUPERMAN🇺🇸 — ZSJL",
        "primary_topic": null,
        "is_nsfw": false,
        "custom_banner": "https://pbs.twimg.com/community_banner_img/1907416918757081088/beMLPs_S?format=jpg&name=orig",
        "default_banner": "https://pbs.twimg.com/media/FECQTD9VkAgZkxu.jpg",
        "user_id": ""
      },
      {
        "community_id": "1945073931959906780",
        "member_count": 14,
        "name": "Superman",
        "primary_topic": null,
        "is_nsfw": false,
        "custom_banner": "https://pbs.twimg.com/community_banner_img/1945074231378661376/M1CgA2Di?format=jpg&name=orig",
        "default_banner": "https://pbs.twimg.com/media/FECSqInVQAIMy4o.jpg",
        "user_id": ""
      },
      {
        "community_id": "1747642357527281822",
        "member_count": 156,
        "name": "SUPERMAN Fans & DC Nerds",
        "primary_topic": "Celebrities",
        "is_nsfw": false,
        "custom_banner": "https://pbs.twimg.com/community_banner_img/1747648168819314688/WdMZEI6Q?format=jpg&name=orig",
        "default_banner": "https://pbs.twimg.com/media/FECRpOaUUAQVDL-.jpg",
        "user_id": ""
      }
    ],
    "next_cursor": "WzgwLjM5ODAzLDE5NDM5Mjk1MzU4ODU3MjIwMTBd"
  },
  "requestId": "cd15a40e-496c-4a80-bfbf-f3b29f0f2d37"
}

Documentation Index

Fetch the complete documentation index at: https://docs.keyapi.ai/llms.txt

Use this file to discover all available pages before exploring further.

🪙1 creditper request

Copy for AI

🤖 Why Code When AI Can Do It For You?

Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.

Authorizations

Authorization
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx Get your API key from the Dashboard.

Query Parameters

query
string
required
Example:

"superman"

cursor
string

Response

The response is of type object.