Reddit Profil API
Récupérez le profil public d’un utilisateur Reddit (répartition du karma, nombre de publications et de commentaires, bio, avatar, ancienneté du compte) par nom d’utilisateur.
0,80 $US/1k req, paiement à la requête, sans abonnement.
Pixel Forge Dev
u/pixel_forge_dev
Indie game developer building small tools and pixel art games. Sharing devlogs and postmortems as I go.
{"id": "5k9m2p","username": "pixel_forge_dev","displayName": "Pixel Forge Dev","bio": "Indie game developer building small tools and pixel art games. Sharing devlogs and postmortems as I go.","avatarUrl": "https://styles.redditmedia.com/t5_3k2j1/styles/profileIcon_snoo9x8y7z.png","profileUrl": "https://www.reddit.com/user/pixel_forge_dev/","createdUtc": 1483228800,"karma": 126540,... 9 champs de plus}
Tarifs et fournisseurs
Tarifs de l’API Reddit Profil : une API, 2 fournisseurs interchangeables
Le fournisseur le moins cher répond en premier. S’il échoue, le suivant prend le relais dans le même appel.
Essayer
Obtenez Reddit Profil en une requête
Cet exemple affiche 19 champs sur 20. Voir tous les champs
{
"found": true,
"data": {
"id": "5k9m2p",
"username": "pixel_forge_dev",
"displayName": "Pixel Forge Dev",
"bio": "Indie game developer building small tools and pixel art games. Sharing devlogs and postmortems as I go.",
"avatarUrl": "https://styles.redditmedia.com/t5_3k2j1/styles/profileIcon_snoo9x8y7z.png",
"profileUrl": "https://www.reddit.com/user/pixel_forge_dev/",
"createdUtc": 1483228800,
"karma": 126540,
"postKarma": 89210,
"commentKarma": 37330,
"posts": 412,
"comments": 3189,
"trophies": 7,
"followers": 2840,
"verified": false,
"employee": false,
"nsfw": false
}
}Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.
Référence
Une requête, une seule forme de réponse.
Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.
Dernière vérification : 2026-11-21 · disponibilité et latence mesurées sur 30d
Corps de la requête
JSON, envoyé à cet endpoint.
- usernamestring
pixel_forge_dev
Nom d’utilisateur Reddit, sans le préfixe u/. Exemple : « spez ».
- requireFieldsarray
Facultatif ; omettez-le et le routage est inchangé, la source la moins chère répondant. Nommez les champs de sortie que cette requête doit pouvoir renvoyer, par exemple `verified`, et elle n’est servie que par une source qui les renvoie tous. Les champs que vous ne nommez pas sont quand même renvoyés chaque fois que la source qui répond les possède. Cela peut augmenter votre prix : quand la source la moins chère ne peut pas renvoyer un champ nommé, une source plus chère répond, et vous êtes facturé à son prix. Un champ nommé peut quand même être absent sur un profil qui en est réellement dépourvu. Nommer une combinaison qu’aucune source unique ne renvoie ensemble est refusé comme entrée invalide, sans frais.
Réponse
JSON, une valeur d’exemple par champ.
The profile record, or null when nothing was found.
- avatarUrlstring
https://styles.redditmedia.com/t5_3k2j1/styles/profileIcon_snoo9x8y7z.png
URL of the profile avatar image, with sizing and signing query params stripped. Populated whenever the provider has data for the entity.
- biostring
Indie game developer building small tools and pixel art games. Sharing devlogs and postmortems as I go.
Public profile description text. Populated whenever the provider has data for the entity.
- commentKarmainteger
37330
Karma earned from comments. Populated whenever the provider has data for the entity.
- commentsinteger
3189
Number of comments the account has contributed. Populated whenever the provider has data for the entity.
- createdUtcnumber
1483228800
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
- displayNamestring
Pixel Forge Dev
Profile display title. Reddit defaults it to the username when the account has not set one. Populated whenever the provider has data for the entity.
- employeeboolean
false
True when the account belongs to a Reddit employee.
- followersinteger
2840
Number of profile subscribers. Reddit reports 0 for accounts that do not expose a follower count.
- idstring
5k9m2p
Reddit account ID (base-36, without the t2_ prefix). Populated whenever the provider has data for the entity.
- karmainteger
126540
Total karma across the account, as Reddit reports it. The postKarma and commentKarma fields below are the split it is composed of. Populated whenever the provider has data for the entity.
- nsfwboolean
false
True when the profile is marked NSFW (over 18).
- postKarmainteger
89210
Karma earned from posts. Populated whenever the provider has data for the entity.
- postsinteger
412
Number of posts the account has contributed. Populated whenever the provider has data for the entity.
- profileUrlstring
https://www.reddit.com/user/pixel_forge_dev/
Absolute reddit.com URL of the profile page. Populated whenever the provider has data for the entity.
- trophiesinteger
7
Number of trophies unlocked in the account's trophy case. Populated whenever the provider has data for the entity.
- usernamestring
pixel_forge_dev
Account username, without the u/ prefix. Populated whenever the provider has data for the entity.
- verifiedbooleanpeut exiger
false
True when the account is verified by Reddit. Null when the serving source does not report it.
- foundboolean
true
True when the account was found; false when the lookup returned nothing or the account is suspended (see `reason`).
- reason"not_found" | "suspended"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. `suspended`: the platform has suspended the account. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
FAQ
À propos de l’API Reddit Profil
L’API Reddit Profil d’AnyAPI renvoie des données Reddit en JSON normalisé à partir d’un appel POST à /v1/run/reddit.profile. Récupérez le profil public d’un utilisateur Reddit (répartition du karma, nombre de publications et de commentaires, bio, avatar, ancienneté du compte) par nom d’utilisateur. AnyAPI route chaque requête sur 2 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 0,80 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 98,5% des appels Reddit Profil passés par AnyAPI ont réussi, avec un temps de réponse médian de 2,5 secondes, sur 9 748 appels mesurés.