# Reddit Details API (reddit.profile)

- Canonical page: [https://everyinfra.com/en/reddit-api/profile](https://everyinfra.com/en/reddit-api/profile?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "reddit", "action": "profile", "params": {...}}
- Price: $0.000792 per call ($0.79 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=reddit&action=profile

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| username | not declared | yes | not declared | One Reddit user: `spez`, `u/spez` or a profile link. One user per call. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| user_id | User's unique ID on the platform. |
| username | Username (@handle). |
| display_name | Display name; can differ from username. |
| url | Link to the record on the platform. |
| bio | Profile bio written by the account; may contain line breaks and emoji. |
| avatar_url | Avatar image link. Some platforms return sized CDN links that can expire. |
| banner_url | Image URL of the banner on the community page (`subreddit_info`, `subreddit_rules`) or on the user's profile (`profile`). |
| karma | The user's total karma (`profile`); `post_karma` and `comment_karma` give the parts earned from posts and from comments. |
| post_karma | Karma the user earned from posts (`profile`). |
| comment_karma | Karma the user earned from comments (`profile`). |
| post_count | Total posts. null means not disclosed, not 0. |
| comment_count | Comments. null means not disclosed, not 0. |
| created_at | Creation time, same format as posted_at. |
| is_premium | Whether the user has Reddit Premium (`profile`). |
| is_admin | Whether the account belongs to Reddit staff (`profile`). |
| is_nsfw | Whether the community (`search_suggest`) or the user (`profile`) is marked NSFW. |
| content_hidden | Whether the user has hidden their posts and comments (`profile`). When true, `user_posts`, `user_comments` and `user_subreddits` return empty results. |
| trophy_count | How many older trophies the user has in the Trophy Case on their profile (`profile`). |
| achievement_count | How many achievements the user has unlocked (`profile`). The list is in `user_trophies`. |
| moderated_communities | Names of the communities the user moderates, without the r/ prefix (`profile`): an array. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "reddit",
  "action": "profile",
  "params": {
    "username": "spez"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "reddit",
        "action": "profile",
        "params": {
            "username": "spez",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "reddit",
  "action": "profile",
  "results": {
    "user_id": …,
    "username": …,
    "display_name": …,
    "url": …,
    "bio": …,
    "avatar_url": …,
    "banner_url": …,
    "karma": …,
    "post_karma": …,
    "comment_karma": …,
    "post_count": …,
    "comment_count": …,
    "created_at": …,
    "is_premium": …,
    "is_admin": …,
    "is_nsfw": …,
    "content_hidden": …,
    "trophy_count": …,
    "achievement_count": …,
    "moderated_communities": …,
    "platform": …
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=reddit
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
