For AI

Community profile API

2 endpoints on 2 platforms return the same Community object. One community: name, description, members. A call costs from $0.0004 to $0.0020, each endpoint at its own price; a failed call is free.

Run it in the PlaygroundSee the callSign in to run it; it runs on your own balance.
Platforms2 platforms
Endpoints2 endpointsone on each platform
PriceFrom $0.0004per call. A failed call is free
ReturnsCommunityone object a call

Community profile on each platform

One row per endpoint: what it is called, how much comes back in a call, and what a call costs.

PlatformEndpointA pageReturnsPrice
X (Twitter)X community profileGET/v1/x/communities/get1Community$0.0004
RedditReddit community profileGET/v1/reddit/subreddits/get1Community$0.0020
Prices are the prices in force. A call that fails, or whose result is uncertain, costs nothing.Live status →

The Community object

Every endpoint above returns these fields, with the same names and types.

The object's own page →
idtextID; pass it unchanged to the endpoints that get the community and list its posts
nametextName of the community
urllinkLink that opens the community
descriptiontextWhat the community says it is about
avatar_urllinkThe community's icon
nsfwyes/noWhether it is marked not safe for work
created_attimeWhen the community was created
metrics.membersintegerMembers

Which platform fills which field

A field an endpoint cannot give is listed in meta.unavailable on every answer, so a gap is never a surprise.

Platformavatar_url
X (Twitter)
Reddit

The same call on two platforms

Same parameter names, same paging, same answer. Only the path changes.

# X (Twitter)
curl -G "https://api.dataxapi.com/v1/x/communities/get" \
  --data-urlencode "id=1493446837214187523" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"

# Reddit: the same call on its own path
curl -G "https://api.dataxapi.com/v1/reddit/subreddits/get" \
  --data-urlencode "id=nasa" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
// X (Twitter)
import { DataXAPI } from "@dataxapi/sdk";

const dx = new DataXAPI(); // reads DATAXAPI_API_KEY
const result = await dx.x.communities.get({ id: "1493446837214187523" });
console.log(result.data.item);

// Reddit: the same call on its own path
const other = await dx.reddit.subreddits.get({ id: "nasa" });
console.log(other.data.item);
# X (Twitter)
from dataxapi import DataXAPI

dx = DataXAPI()  # reads DATAXAPI_API_KEY
result = dx.x.communities.get(id="1493446837214187523")
print(result["data"]["item"])

# Reddit: the same call on its own path
other = dx.reddit.subreddits.get(id="nasa")
print(other["data"]["item"])
# X (Twitter)
dataxapi call x.communities.get id=1493446837214187523

# Reddit: the same call on its own path
dataxapi call reddit.subreddits.get id=nasa
200 · application/json · charged $0.0004
{
  "code": "ok",
  "request_id": "7e1508ca-5774-4c9e-8cd7-7cea0122a06e",
  "data": {
    "item": {
      "id": "1880166407908944826",
      "name": "Gear talk",
      "url": "https://x.com/i/communities/1880166407908944826",
      "description": "Photos, trails and too much coffee.",
      "nsfw": false,
      "created_at": "2022-02-15T04:47:27.000Z",
      "metrics": { "members": 268685 }
    }
  },
  "warnings": [],
  "meta": {
    "capability": "x.communities.get",
    "result_status": "complete",
    "fetched_at": "2026-10-12T21:39:16.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": { "avatar_url": "platform" },
    "billing": {
      "amount": "0.0004",
      "currency": "USD",
      "balance_after": "9.9996"
    }
  }
}

X community profile: From a response recorded 2026-10-12 21:39 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.

What comes back

The objects these endpoints answer with: one set of fields each, the same on every platform.

All skills →

Questions about the Community profile API

Short answers. Each endpoint's page has its own limits and examples.

X community profile API →
How much does it cost?

$0.0004 a call on X (Twitter); $0.0020 a call on Reddit. You are charged when data comes back; a failed call costs nothing. No subscription, no monthly minimum.

Does every platform fill every field?

No. 1 of the 8 fields are missing on at least one platform; the table on this page says which. A field an endpoint cannot give is named in meta.unavailable on every answer, never filled with a guess.

Do I need an account on the platform?

No. One DataXAPI key reads all 2 platforms. No platform account and no cookie.

Other data types

The same idea everywhere: one action, every platform that has it.

Start with one key.

207 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.

Start free