X

Get an X community

Fetch one community: its name, description, member_count, created_at, join_policy, rules and creator. x/posts with community_url gives its posts.

Give exactly one of url or id to identify the community.

Costs 3 credits, whether the answer is fetched or served from cache. A failed call is refunded automatically.

get/x/community

Request

  • Base URL: https://api.scrapefield.com/v1
  • URL: https://api.scrapefield.com/v1/x/community
  • Auth: one of:
    • HTTP bearer
    • none

Query parameters

urlstring

The community's URL, https://x.com/i/communities/<id>.

idstring
Example:1926186499399139650

The number in its URL.

freshboolean

Skip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it.

demoboolean

With no key: a fixed demo answer in the same shape, charged nothing.

Response

The request succeeded.

Changes

No recorded changes to this operation across all 1 revision of this API.