# 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.

## Community profile on each platform

| Platform | Endpoint | Path | A page | Returns | Price |
| --- | --- | --- | --- | --- | --- |
| Reddit | [Reddit community profile](https://dataxapi.com/apis/reddit/subreddits/get.md) | `GET /v1/reddit/subreddits/get` | 1 | Community | $0.0020 / call |
| X (Twitter) | [X community profile](https://dataxapi.com/apis/x/communities/get.md) | `GET /v1/x/communities/get` | 1 | Community | $0.0004 / call |

Prices are the prices in force. A call that fails, or whose result is uncertain, costs nothing.

## The Community object

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

| Field | Type | Description |
| --- | --- | --- |
| `id` | text | ID; pass it unchanged to the endpoints that get the community and list its posts |
| `name` | text | Name of the community |
| `url` | link | Link that opens the community |
| `description` | text | What the community says it is about |
| `avatar_url` | link | The community's icon |
| `nsfw` | yes/no | Whether it is marked not safe for work |
| `created_at` | time | When the community was created |
| `metrics.members` | integer | Members |

[The object's own page →](https://dataxapi.com/docs/objects/community/)

### 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.

| Platform | `avatar_url` |
| --- | --- |
| Reddit | available |
| X (Twitter) | not available |

## The same call on two platforms

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

```bash
# Reddit
curl -G "https://api.dataxapi.com/v1/reddit/subreddits/get" \
  --data-urlencode "id=nasa" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"

# X (Twitter): the same call on its own path
curl -G "https://api.dataxapi.com/v1/x/communities/get" \
  --data-urlencode "id=1493446837214187523" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
```

### 200 · application/json

Reddit community profile: From a response recorded 2026-10-12 22:02 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.

```jsonc
{
  "code": "ok",
  "request_id": "fded571b-1116-4e81-ab12-7e679fd21337",
  "data": {
    "item": {
      "id": "t5_q2zdmb",
      "name": "Weekendhiking",
      "url": "https://www.reddit.com/r/hannahwphoto/",
      "description": "Photos, trails and too much coffee.",
      "avatar_url": "https://styles.redditmedia.com/t5_q9lkec/styles/profileIcon_4x7pgnjzbu4u4.png",
      "nsfw": false,
      "created_at": "2008-05-10T16:54:23.304Z",
      "metrics": { "members": 127858 }
    }
  },
  "warnings": [],
  "meta": {
    "capability": "reddit.subreddits.get",
    "result_status": "complete",
    "fetched_at": "2026-10-12T22:02:32.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": {},
    "billing": {
      "amount": "0.002",
      "currency": "USD",
      "balance_after": "9.998"
    }
  }
}
```

## What comes back

- [The Community object](https://dataxapi.com/docs/objects/community/): Fields 8, Endpoints that return it 3, Platforms 2

## Questions about the Community profile API

### How much does it cost?

$0.0020 a call on Reddit; $0.0004 a call on X (Twitter). 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

[Comment replies API](https://dataxapi.com/roles/comments-replies-list/), [Hashtag posts API](https://dataxapi.com/roles/topics-posts-list/), [Trending topics API](https://dataxapi.com/roles/trends-list/), [Account profile API](https://dataxapi.com/roles/accounts-get/), [Account posts API](https://dataxapi.com/roles/accounts-posts-list/), [Comments API](https://dataxapi.com/roles/posts-comments-list/), [Post detail API](https://dataxapi.com/roles/posts-get/), [Post search API](https://dataxapi.com/roles/posts-search/), [Trending posts API](https://dataxapi.com/roles/posts-trending/), [Account search API](https://dataxapi.com/roles/accounts-search/), [Post metrics API](https://dataxapi.com/roles/posts-metrics/), [Community posts API](https://dataxapi.com/roles/communities-posts-list/), [Ad detail API](https://dataxapi.com/roles/ads-get/), [Advertiser ads API](https://dataxapi.com/roles/advertisers-ads-list/), [Advertiser search API](https://dataxapi.com/roles/advertisers-search/), [Ad library search API](https://dataxapi.com/roles/ads-search/), [Video transcript API](https://dataxapi.com/roles/transcripts-get/), [Followers API](https://dataxapi.com/roles/accounts-followers-list/), [Product detail API](https://dataxapi.com/roles/products-get/), [Product reviews API](https://dataxapi.com/roles/products-reviews-list/), [Product search API](https://dataxapi.com/roles/products-search/), [Creator search API](https://dataxapi.com/roles/creators-search/), [Creator profile API](https://dataxapi.com/roles/creators-get/), [Creator audience API](https://dataxapi.com/roles/creators-audience-get/), [Creator metrics API](https://dataxapi.com/roles/creators-metrics/), [Creator posts API](https://dataxapi.com/roles/creators-posts-list/), [All 21 platforms →](https://dataxapi.com/apis/)

---

Last checked 2026-10-21 11:10 UTC. Catalog revision c48ce454ae6c4c65. [HTML version](https://dataxapi.com/roles/communities-get/)
