Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Reddit Profile

Документация API
https://api.sandbase.ai/v1/api/reddit/profile

Fetch a Reddit user's public profile (karma split, post and comment counts, bio, avatar, account age) by username.

Цена
От $0.0008USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 1 необязательных

Песочница

Ввод
Reddit username, without the u/ prefix. Example: "spez".
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `verified`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по API

Reddit Profile API

Returns the public profile of a Reddit user: karma split, post and comment counts, bio, avatar, trophy count and account creation time. It needs one input, the Reddit username without the u/ prefix.

Use cases

  • Check how old a Reddit account is and how much karma it has before you trust its posts.
  • Pull the bio, avatar and profile link of a user to show on a creator or lead card.
  • Compare post karma and comment karma to see whether an account mostly posts or mostly comments.
  • Flag Reddit employee accounts with the employee field.

Request

curl -X POST "https://api.sandbase.ai/v1/api/reddit/profile" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username": "spez"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
usernamestringYesReddit username, without the u/ prefix. Example: "spez".
requireFieldsarrayNoOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example verified, and it is served only by a source that returns every one o

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "avatarUrl": "https://styles.redditmedia.com/t5_3k30p/styles/profileIcon_uj015iwx9s7g1.png",
    "bio": "Reddit CEO",
    "commentKarma": 756623,
    "comments": 3228,
    "createdUtc": 1118030400,
    "displayName": "spez",
    "employee": true,
    "followers": 0,
    "id": "1w72",
    "karma": 941388,
    "nsfw": false,
    "postKarma": 184765
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when the username exists. A lookup that finds nothing returns false.
data.username / data.displayNameThe account name and its display name. Both are spez in this example.
data.idReddit's short ID for the user, such as 1w72.
data.karmaTotal karma for the account. It is the sum of postKarma and commentKarma in this example.
data.postKarma / data.commentKarmaKarma earned from posts and from comments.
data.posts / data.commentsNumber of posts and comments on the account.
data.createdUtcAccount creation time as a Unix timestamp in seconds.
data.bio / data.avatarUrl / data.profileUrlThe profile bio text, the avatar image URL and the link to the Reddit profile page.
data.employee / data.verified / data.nsfwBoolean flags for Reddit employee status, verified status and NSFW profile. verified can be null when the serving source does not return it.
data.trophies / data.followersCount of trophies on the profile and the follower count.

Notes

  • Pass username without the u/ prefix, for example spez.
  • Set requireFields to ["verified"] if you need a real verified value. Without it, verified can come back as null.
  • For the content a user wrote, call Reddit User Posts or Reddit User Comments.
  • Reddit User Public Trophies lists the trophies behind the trophies count.

Pricing

Billed at the actual cost of each call, about $0.0008 for the request above. Failed calls are not charged.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
Reddit ProfileЭтот API
Reddit
От $0.0008 за запросJSON
Reddit$0.001 за запросJSON
Reddit$0.001 за запросJSON
Reddit$0.001 за запросJSON
Reddit$0.001 за запросJSON
Reddit$0.001 за запросJSON

Руководства:Best Reddit API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API Reddit Profile?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/reddit/profile, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Reddit Profile?

От $0.0008 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Reddit Profile?

Обязательные: username (string). Необязательные: requireFields (array). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Reddit Profile?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Reddit или API key?

Нет. Reddit Profile работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Reddit.