# Reddit User achievements API (reddit.user_trophies)

- Canonical page: [https://everyinfra.com/en/reddit-api/user_trophies](https://everyinfra.com/en/reddit-api/user_trophies?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "reddit", "action": "user_trophies", "params": {...}}
- Price: $0.000792 per call ($0.79 per 1,000 requests); failed calls and empty results are not charged
- Returns: list
- 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=user_trophies

## 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. |
| limit | integer (1–) | no | not declared | The most rows to return in this call, an integer of 1 or more. The default applies when you leave it out, and a call can return fewer rows. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| name | Name of the explore topic on `explore` `topic` rows, and the name of the achievement on `user_trophies` rows. |
| description | Summary or description, usually shorter than text. |
| icon_url | Image URL of the icon: the community icon (`subreddit_info`, `subreddit_rules`, `search_suggest`, `user_subreddits`, `explore`, `topic_subreddits`) or the achievement icon (`user_trophies`). |
| unlocked_at | When the user unlocked the achievement (`user_trophies`, ISO 8601, UTC). |
| unlock_count | How many times the user earned the achievement (`user_trophies`). It is above 1 only for achievements that can be earned again; for the rest it is 1. |
| rarity | How rare the achievement is (`user_trophies`): `common`, `rare`, `epic` or `legendary`. A newly added achievement may not have one yet. |
| 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": "user_trophies",
  "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": "user_trophies",
        "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": "user_trophies",
  "results": [
    {
      "id": …,
      "name": …,
      "description": …,
      "icon_url": …,
      "unlocked_at": …,
      "unlock_count": …,
      "rarity": …,
      "platform": …
    }
  ],
  "count": …,
  "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
