How to fetch an X community's public details by URL
Get an X community's name, description, member count, join policy, rules, and creator from its URL. Use the returned fields to compare communities before you join or monitor them
On this page
You have 25 X community URLs and need to compare their public details before deciding which communities to join or monitor. The deliverable is a table with one row per community and columns for the community URL, name, member count, join policy, creator handle, created time and NSFW marker. This guide sets up the call and the planned cost; no run has been executed for this article, so the tables are designs
The table is the working sheet: one row per community, with the URL you supplied and the fields the call returns. Use member count and join policy to order the list; use creator handle, created time and NSFW marker as context
Example input and table design
Example input, invented for this guide: a community URL. Replace it with community URLs copied from X community pages
Values here are placeholders showing the shape
| Community URL (reader-added) | Community name | Member count | Join policy | Creator handle | Created UTC | NSFW |
|---|---|---|---|---|---|---|
| Reader-supplied community URL | (community name) | (integer) | open or restricted | (handle) | (Unix seconds) | true or false |
The row is a template, not a result. The reader replaces the URL and fills the other cells from the tool response
The response also includes data.description and data.rules. Keep them in a notes column or a separate sheet if you need context for outreach; the comparison table keeps the columns named in the brief
What the tool takes
anyapi.twitter.community takes a required url string. The contract gives a community URL as an example. Copy the community URL from the X community page; the path includes the community id
The input schema lists a required url string, so plan one call per community. For 25 URLs, that is 25 calls, each with its own URL
How to read the output fields
Start with found. When it is true, data holds the community record. When it is false, data is null and reason is present. The only reason in the contract is not_found: the source states the target does not exist, or returned nothing for it
Limit: a found: false answer with reason: not_found is a successful billed call, not an error. Budget the call even when the community is missing
Use data.name as the label in the table. data.memberCount and data.joinPolicy are the two comparison fields named in the brief: member count gives size, join policy tells you if joining is open or restricted. data.creatorHandle identifies the creator. data.createdUtc is a UTC epoch timestamp in seconds; multiply by 1000 for a JS Date in milliseconds. data.nsfw marks the community not-safe-for-work
data.id is the community identifier. data.description and data.rules are also in the record; the rules array has entries with a name. Those two fields can inform notes, while member count and join policy drive the comparison
The table surfaces member counts and join policies so you can prioritize outreach and track community health. If found is false, leave the data cells empty and note not_found
The agent prompt
Run this prompt with your list in place of the example URL
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch public details for each X community URL in the list. Check the current inputs and price of `anyapi.twitter.community` before running anything. Call the tool once per URL. Return a table with Community URL, Community name, Member count, Join policy, Creator handle, Created UTC, NSFW, found and reason. Leave data cells empty when found is false and reason is not_found. Do not guess values.
Example URL:
(community URL from your list)The prompt keeps found and reason in the returned table so a missing community stays visible instead of being dropped. It asks for one call per URL and leaves the data cells empty when there is no record
Estimated tool cost
Price from the Purrkey catalog for POST /v1/runs with toolId anyapi.twitter.community, read November 12, 2026. The unit is max_call: the catalog says "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings. Model fees for the agent are not counted
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Check one community | 1 call x max price | up to $0.0036 per call | 1 | $0.0036 |
| Compare 25 communities | 25 calls x max price | up to $0.0036 per call | 25 | $0.09 |
A 25-URL run is at most $0.09. Checking one community first is at most $0.0036
If you check one community and the result is found: false, the ceiling does not change because the call is still billed. The 25-URL table uses 25 calls; the one-URL check uses 1 call
Next action
Open the X community details tool page to check the current listing and start with one URL: https://purrkey.app/tools/twitter?q=community
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with X (Twitter).FAQ
How do I fetch an X community's public details by URL?
Call anyapi.twitter.community with the community URL in url. The response has found and data; when found is true, data includes name, description, member count, join policy, creator handle, created time and NSFW marker.
What does the url input need to look like?
The url field is required and takes the community URL from the X community page. Copy it from that page.
What do found: false and reason: not found mean?
They mean no community was found, and the call is still a successful billed call. data is null in that case.
Which output fields should I compare across communities?
Use data.memberCount and data.joinPolicy for size and access, with data.creatorHandle, data.createdUtc and data.nsfw as extra columns. data.name is the community label.
How much does it cost to compare 25 X communities?
At most $0.09: 25 calls at up to $0.0036 per call. The price unit is maximum per call, and successful runs settle at the actual AnyAPI charge.
What does createdUtc contain?
It is a UTC epoch timestamp in seconds. Multiply by 1000 for a JS Date in milliseconds.
Next step
Try this with X (Twitter)
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.