API para Reddit: Avatar
Obtenha a URL da foto de perfil, o karma e a idade da conta de um usuário do Reddit pelo nome de usuário. A consulta de usuário do Reddit mais barata; use reddit.profile para bio, troféus e contagens de posts e comentários.
US$ 0,38/mil req., pague por requisição, sem assinatura.
r/webdev·u/wanderlust_mara·
u/wanderlust_mara
Cake day May 15, 2018
48,213 Karma
{"id": "8m2p1q","username": "wanderlust_mara","avatarUrl": "https://styles.redditmedia.com/t5_2qh1u/styles/profileIcon_snoo1a2b3c4d.png","profileUrl": "https://www.reddit.com/user/wanderlust_mara/","createdUtc": 1526342400,"karma": 48213,"postKarma": 31890,"commentKarma": 16323}
Preços e provedores
Preços do endpoint Avatar 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 Avatar do Reddit em uma só requisição
Este exemplo mostra 10 de 11 campos. Ver todos os campos
{
"found": true,
"data": {
"id": "8m2p1q",
"username": "wanderlust_mara",
"avatarUrl": "https://styles.redditmedia.com/t5_2qh1u/styles/profileIcon_snoo1a2b3c4d.png",
"profileUrl": "https://www.reddit.com/user/wanderlust_mara/",
"createdUtc": 1526342400,
"karma": 48213,
"postKarma": 31890,
"commentKarma": 16323
}
}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
wanderlust_mara
Nome de usuário do Reddit, sem o prefixo u/. Exemplo: "spez".
Resposta
JSON, um valor de exemplo por campo.
The user record, or null when nothing was found.
- avatarUrlstring
https://styles.redditmedia.com/t5_2qh1u/styles/profileIcon_snoo1a2b3c4d.png
URL of the profile avatar image, with sizing and signing query params stripped. Populated whenever the provider has data for the entity.
- commentKarmainteger
16323
Karma earned from comments. Populated whenever the provider has data for the entity.
- createdUtcnumber
1526342400
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.
- idstring
8m2p1q
Reddit account ID (base-36, without the t2_ prefix). Populated whenever the provider has data for the entity.
- karmainteger
48213
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.
- postKarmainteger
31890
Karma earned from posts. Populated whenever the provider has data for the entity.
- profileUrlstring
https://www.reddit.com/user/wanderlust_mara/
Absolute reddit.com URL of the profile page. Populated whenever the provider has data for the entity.
- usernamestring
wanderlust_mara
Account username, without the u/ prefix. Populated whenever the provider has data for the entity.
- foundboolean
true
True when the account was found; false when the lookup returned nothing.
- reason"not_found"
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. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
Vende esta API? Veja o schema completo que o seu endpoint precisa retornar.
Dúvidas frequentes
Sobre o endpoint Avatar da API para Reddit
O endpoint Avatar da AnyAPI para Reddit retorna dados de Reddit em JSON normalizado com uma chamada POST para /v1/run/reddit.avatar. Obtenha a URL da foto de perfil, o karma e a idade da conta de um usuário do Reddit pelo nome de usuário. A consulta de usuário do Reddit mais barata; use reddit.profile para bio, troféus e contagens de posts e comentários. A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa a partir de US$ 0,38 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 97,3% das chamadas ao endpoint Avatar da API para Reddit feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 0,9 segundos, em 10.422 chamadas medidas.