# Reddit Explore API (reddit.explore)

- Canonical page: [https://everyinfra.com/en/reddit-api/explore](https://everyinfra.com/en/reddit-api/explore?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "reddit", "action": "explore", "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=explore

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| 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 |
|---|---|
| row_type | Row kind. On `painpoint`: summary (one per call), post (a discussion analyzed) or pain_comment (one of the most upvoted negative comments, in full). On `search_suggest`: keyword (a completion) or community. On `explore`: topic or community. |
| rank | platform-native meaning |
| topic_id | ID of an explore topic (`explore` `topic` rows): starts with `tx1_`, or is `most_visited`. Pass it as `topic` to `topic_subreddits`. |
| name | Name of the explore topic on `explore` `topic` rows, and the name of the achievement on `user_trophies` rows. |
| url | Link to the record on the platform. |
| community | platform-native meaning |
| community_id | Reddit's ID for the community, starting with t5_ (`subreddit_info`, `subreddit_rules`, `search_suggest`, `user_subreddits`, `explore`, `topic_subreddits`). |
| 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`). |
| weekly_visitor_count | Weekly visitors to the community as Reddit shows it (`subreddit_info`, `explore`, `topic_subreddits`). In `search_suggest` it is the rounded figure from the dropdown, so 93K is recorded as 93000, and not every row has it. |
| section | Title of the group a row belongs to: the recommended section on `explore` `community` rows, and the subtopic under the chosen topic on `topic_subreddits` rows. |
| 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": "explore",
  "params": {}
}'
```

```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": "explore",
        "params": {},
    },
    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": "explore",
  "results": [
    {
      "row_type": …,
      "rank": …,
      "topic_id": …,
      "name": …,
      "url": …,
      "community": …,
      "community_id": …,
      "description": …,
      "icon_url": …,
      "weekly_visitor_count": …,
      "section": …,
      "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
