API di Reddit

Reddit Avatar API

Ottieni l'URL dell'immagine del profilo, il karma e l'età dell'account di un utente Reddit tramite username. È la ricerca di utenti Reddit più economica; usa reddit.profile per bio, trofei e numero di post e commenti.

0,36 USD/1k richieste, paghi a richiesta, nessun abbonamento.

r/webdev
reddit.com/r/webdev/
redditLog InSign Up
1.4K

r/webdev·u/wanderlust_mara·

CommentsShare

u/wanderlust_mara

Cake day May 15, 2018

48,213 Karma

ChatFollow
CommentsShareSave
Cosa ha restituito l'API
{
"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
}
Disponibilità
97,70%
30d · 10.641 chiamate
Richieste
10.644
30 g · settimanale, ultime 12 sett.
Risposta
0,8s
mediana · 30d

Prezzi e provider

Prezzi dell'API Reddit Avatar: una sola API, 3 provider intercambiabili

Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.

Paghi
3,60 USD
0,36 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 277 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni Reddit Avatar in una sola richiesta

Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.

Questo esempio mostra 10 campi su 11. Vedi tutti i campi

{
  "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
  }
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-11-21 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo endpoint.

  • usernamestring

    wanderlust_mara

    Username Reddit, senza il prefisso u/. Esempio: "spez".

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

datadata

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.

top level
  • 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.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

Vendi questa API? Consulta lo schema completo che il tuo endpoint deve restituire.

FAQ

Sull'API Reddit Avatar

L'API Reddit Avatar di AnyAPI restituisce dati Reddit come JSON normalizzato da una sola chiamata POST a /v1/run/reddit.avatar. Ottieni l'URL dell'immagine del profilo, il karma e l'età dell'account di un utente Reddit tramite username. È la ricerca di utenti Reddit più economica; usa reddit.profile per bio, trofei e numero di post e commenti. AnyAPI instrada ogni richiesta su 3 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 0,36 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 97,7% delle chiamate Reddit Avatar tramite AnyAPI è riuscito, con un tempo di risposta mediano di 0,8 secondi su 10.641 chiamate misurate.

Costa da 0,36 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

Ottieni l'URL dell'immagine del profilo, il karma e l'età dell'account di un utente Reddit tramite username. È la ricerca di utenti Reddit più economica; usa reddit.profile per bio, trofei e numero di post e commenti. La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 97,7% delle chiamate Reddit Avatar tramite AnyAPI è riuscito, con un tempo di risposta mediano di 0,8 secondi su 10.641 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 277 chiamate Reddit Avatar a 0,00036 USD ciascuna.

AnyAPI interroga la successiva delle sue 3 fonti nella stessa richiesta, partendo dalla più economica, quindi una fonte che cade non fa fallire la tua chiamata.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/reddit.avatar con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.