{"uid":"cap_604RqXmkj-Umhk4knurYI","slug":"twit-sh-x-communities-lookup-by-id-37832f02","name":"twit.sh — X Communities Lookup by ID","description":"Real-time Twitter/X data for AI agents. No sign-up, no API keys. Pay per request in USDC on Base via x402. Fully autonomous.","url":"https://twit.sh/communities/by/id","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Numeric community ID"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{"id":"1693573582226665701","name":"Crypto DeFi Community","admin":{"id":"2809989583","name":"Gabor Gurbacs","username":"gaborgurbacs","verified":true,"verified_type":"blue","public_metrics":{"followers_count":84938}},"topic":{"id":"847877002","name":"Cryptocurrency"},"is_nsfw":false,"created_at":"2023-08-21T10:39:41.000Z","description":"A community for DeFi enthusiasts.","join_policy":"Open","member_count":72053,"invites_policy":"ModeratorInvitesAllowed","moderator_count":2}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__ET5k6XBUsXrfrqbvDNvw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches detailed metadata for a Twitter/X Community by its numeric community ID, including name, admin, topic, membership count, and join policy.","exampleAgentPrompt":"Can you pull up the details for the X community with ID 1693573582226665701 — I want to know its name, how many members it has, who admins it, and whether it's open to join?","exampleUseCases":[{"title":"Vetting a crypto X community","prompt":"Look up the X community with ID 1693573582226665701 and tell me who the admin is, how many members it has, and whether anyone can join or if it's invite-only."},{"title":"Monitoring community growth","prompt":"Fetch the current member count and moderator count for the Twitter community with ID 1693573582226665701 — I want to track how fast it's growing."},{"title":"Qualifying a community for outreach","prompt":"Check the X community ID 847877002 for me — is it open to join, what topic is it under, and is it marked NSFW?"}],"resultDescription":"Returns a JSON object with full community metadata: community ID, name, admin details (ID, name, username, verification status, follower count), topic (ID and name), NSFW flag, creation timestamp, description, join policy, member count, invites policy, and moderator count.","failureModes":["Invalid or non-numeric community ID returns an error or empty response","Community ID does not exist returns 404 or null data","Payment failure via x402 results in 402 response blocking data access","Rate limiting may occur under high request volume","Private or deleted communities may return restricted or no data"],"whenToPreferThis":"Use this endpoint when you have a specific numeric Twitter/X community ID and need structured metadata about that community — such as its admin, size, topic, or join policy — without needing to authenticate with the Twitter API directly. Ideal for AI agents that need to programmatically enrich or qualify X communities at low cost per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:42:37.658Z","isFirstParty":false}