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.0008 からUSD / 回
メソッド
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.
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

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
1回あたり $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

Reddit Profile API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/reddit/profile に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Reddit Profile API の料金はいくらですか?

1回あたり $0.0008 から、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Reddit Profile API はどのパラメータを受け付けますか?

必須: username (string)。 任意: requireFields (array)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Reddit Profile API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

Reddit の開発者アカウントまたは API key は必要ですか?

いいえ。Reddit Profile は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Reddit の API アクセスを別途申請する必要はありません。