API de Reddit: Avatar
Obtén la URL de la foto de perfil, el karma y la antigüedad de la cuenta de un usuario de Reddit por nombre de usuario. La consulta de usuario de Reddit más barata; usa reddit.profile para la biografía, los trofeos y los conteos de publicaciones y comentarios.
US$0.38/1k solic., pagas por solicitud, sin suscripción.
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}
Precios y proveedores
Precios del endpoint Avatar de la API de Reddit: una API, 2 proveedores intercambiables
El proveedor más barato responde primero. Si falla, el siguiente toma el relevo en la misma llamada.
Pruébalo
Obtén Avatar de Reddit en una sola solicitud
Este ejemplo muestra 10 de 11 campos. Ver todos los 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
}
}Referencia completa de parámetros y respuesta: cada campo, tipo y ejemplo de este endpoint.
Referencia
Una solicitud, un formato de respuesta.
Cada campo que envías y cada campo que recibes, cada uno con un ejemplo real.
Verificado por última vez el 2026-11-14 · disponibilidad y latencia medidas en 30d
Cuerpo de la solicitud
JSON, enviado por POST a este endpoint.
- usernamestring
wanderlust_mara
Nombre de usuario de Reddit, sin el prefijo u/. Ejemplo: "spez".
Respuesta
JSON, un valor de ejemplo 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.
¿Vendes esta API? Consulta el esquema completo que debe devolver tu endpoint.
Preguntas frecuentes
Acerca del endpoint Avatar de la API de Reddit
El endpoint Avatar de AnyAPI para Reddit devuelve datos de Reddit como JSON normalizado con una sola llamada POST a /v1/run/reddit.avatar. Obtén la URL de la foto de perfil, el karma y la antigüedad de la cuenta de un usuario de Reddit por nombre de usuario. La consulta de usuario de Reddit más barata; usa reddit.profile para la biografía, los trofeos y los conteos de publicaciones y comentarios. AnyAPI enruta cada solicitud entre 2 fuentes y recurre automáticamente a otra cuando una falla. Cuesta desde US$0.38 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. En los últimos 30 días, el 97.3% de las llamadas al endpoint Avatar de la API de Reddit a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 0.9 segundos en 10.422 llamadas medidas.