API para Reddit: Perfil
Obtenha o perfil público de um usuário do Reddit (karma detalhado, contagens de posts e comentários, bio, avatar, idade da conta) pelo nome de usuário.
US$ 0,80/mil req., pague por requisição, sem assinatura.
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 campos a mais}
Preços e provedores
Preços do endpoint Perfil da API para Reddit: uma API, 2 provedores intercambiáveis
O provedor mais barato atende primeiro. Se ele falhar, o próximo assume na mesma chamada.
Teste
Obtenha Perfil do Reddit em uma só requisição
Este exemplo mostra 19 de 20 campos. Ver todos os campos
{
"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
}
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Uma requisição, um formato de resposta.
Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.
Última verificação em 2026-11-14 · disponibilidade e latência medidas em 30d
Corpo da requisição
JSON, enviado via POST para este endpoint.
- usernamestring
pixel_forge_dev
Nome de usuário do Reddit, sem o prefixo u/. Exemplo: "spez".
- requireFieldsarray
Opcional; se omitido, o roteamento não muda e a fonte mais barata atende. Informe os campos de saída que esta requisição precisa poder retornar, por exemplo `verified`, e ela só será atendida por uma fonte que retorne todos eles. Os campos que você não informar continuam sendo retornados sempre que a fonte que atende os tiver. Isso pode aumentar o seu preço: quando a fonte mais barata não consegue retornar um campo informado, uma fonte mais cara atende, e você recebe a cotação e é cobrado pelo preço dela. Um campo informado ainda pode vir ausente em um perfil que realmente não o tenha. Se você informar uma combinação de campos que nenhuma fonte retorna sozinha, a requisição é recusada como entrada inválida, sem cobrança.
Resposta
JSON, um valor de exemplo por campo.
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.
- verifiedbooleanpode ser exigido
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.
Dúvidas frequentes
Sobre o endpoint Perfil da API para Reddit
O endpoint Perfil da AnyAPI para Reddit retorna dados de Reddit em JSON normalizado com uma chamada POST para /v1/run/reddit.profile. Obtenha o perfil público de um usuário do Reddit (karma detalhado, contagens de posts e comentários, bio, avatar, idade da conta) pelo nome de usuário. A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa a partir de US$ 0,80 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 96,7% das chamadas ao endpoint Perfil da API para Reddit feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 2,6 segundos, em 4.380 chamadas medidas.