> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindcase.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Reddit Profiles API

> Reddit user profiles with display name, bio and total, post and comment karma. Pass the usernames.

`POST /v1/data/reddit/profiles/run`

**Pricing:** $0.0035 per profile ($3.50 per 1,000).

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**usernames** `string[]` *required*

One or more usernames. One request reads them all.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/reddit/profiles/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "usernames": [
      "thisisbillgates",
      "AutoModerator",
      "nasa"
    ]
  }
}'
```

```python Python theme={null}
import os, requests

r = requests.post(
    "https://api.mindcase.co/v1/data/reddit/profiles/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "usernames": [
        "thisisbillgates",
        "AutoModerator",
        "nasa"
    ]
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/reddit/profiles/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "usernames": [
    "thisisbillgates",
    "AutoModerator",
    "nasa"
  ]
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one profile, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `redditId` | Reddit ID | text |
| `username` | Username | text |
| `profileUrl` | Profile URL | url |
| `displayName` | Display Name | text |
| `bio` | Bio | text |
| `totalKarma` | Total Karma | number |
| `postKarma` | Post Karma | number |
| `commentKarma` | Comment Karma | number |
| `created` | Created | text |
| `premium` | Premium | boolean |
| `verified` | Verified | boolean |
| `hasVerifiedEmail` | Has Verified Email | boolean |
| `employee` | Employee | boolean |
| `moderator` | Moderator | boolean |
| `over18` | Over 18 | boolean |
| `avatar` | Avatar | image |
| `snoovatar` | Snoovatar | image |
| `banner` | Banner | image |
| `previousNames` | Previous Names | array |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "reddit/profiles",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "hasVerifiedEmail": true,
      "employee": false,
      "redditId": "91u3j",
      "commentKarma": 945766,
      "previousNames": [],
      "postKarma": 184813,
      "premium": true,
      "over18": false,
      "bio": null,
      "profileUrl": "https://www.reddit.com/user/thisisbillgates/",
      "username": "thisisbillgates",
      "moderator": true,
      "created": "2012-09-18T19:38:34.000Z",
      "verified": true,
      "avatar": "https://styles.redditmedia.com/t5_9mq9t/styles/profileIcon_7fcxns3sq5501.jpg?width=256&height=256&crop=256:256,smart&s=be2c2f5f32170c1a62b0a20bbf3c6a536c317cfa",
      "totalKarma": 1130579,
      "displayName": "Bill Gates",
      "snoovatar": null,
      "banner": "https://styles.redditmedia.com/t5_9mq9t/styles/profileBanner_suo9ozlzq5501.jpg?width=1280&height=384&crop=1280:384,smart&s=9657b08ff1be5c321551d39a9de26df172..."
    }
  ]
}
```

## Related APIs

For their posts use [`reddit/posts`](https://docs.mindcase.co/apis/reddit/posts).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.