API di Reddit

Reddit Profilo API

Recupera il profilo pubblico di un utente Reddit (ripartizione del karma, numero di post e commenti, bio, avatar, età dell'account) tramite username.

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

Pixel Forge Dev (u/pixel_forge_dev)
reddit.com/user/pixel_forge_dev/
redditLog InSign Up

Pixel Forge Dev

u/pixel_forge_dev

ChatFollow

Indie game developer building small tools and pixel art games. Sharing devlogs and postmortems as I go.

OverviewPostsCommentsCommunitiesAbout
126.5KKarma89.2KPost Karma37.3KComment KarmaJan 1, 2017Cake Day
CommentsShareSave
CommentsShareSave
Cosa ha restituito l'API
{
"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 campi in più
}
Disponibilità
98,51%
30d · 9748 chiamate
Richieste
9849
30 g · settimanale, ultime 12 sett.
Risposta
2,5s
mediana · 30d

Prezzi e provider

Prezzi dell'API Reddit Profilo: una sola API, 2 provider intercambiabili

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

Paghi
8,00 USD
0,80 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 125 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni Reddit Profilo in una sola richiesta

requireFieldsarray
Facoltativo; se lo ometti l'instradamento resta invariato, e serve la fonte più economica. Indica i campi di output che questa richiesta deve poter restituire, per esempio `verified`, e verrà servita solo da una fonte che li restituisce tutti. I campi che non indichi vengono comunque restituiti ogni volta che la fonte che serve li ha. Può far salire il prezzo: quando la fonte più economica non può restituire un campo indicato, serve una fonte più cara, e ti viene quotato e addebitato il suo prezzo. Un campo indicato può comunque mancare su un profilo che davvero non lo ha. Indicare una combinazione che nessuna singola fonte restituisce insieme viene rifiutato come input non valido, senza addebito.
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 19 campi su 20. Vedi tutti i campi

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

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

    pixel_forge_dev

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

  • requireFieldsarray

    Facoltativo; se lo ometti l'instradamento resta invariato, e serve la fonte più economica. Indica i campi di output che questa richiesta deve poter restituire, per esempio `verified`, e verrà servita solo da una fonte che li restituisce tutti. I campi che non indichi vengono comunque restituiti ogni volta che la fonte che serve li ha. Può far salire il prezzo: quando la fonte più economica non può restituire un campo indicato, serve una fonte più cara, e ti viene quotato e addebitato il suo prezzo. Un campo indicato può comunque mancare su un profilo che davvero non lo ha. Indicare una combinazione che nessuna singola fonte restituisce insieme viene rifiutato come input non valido, senza addebito.

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 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.

  • verifiedbooleanpuò richiedere

    false

    True when the account is verified by Reddit. Null when the serving source does not report it.

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

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

FAQ

Sull'API Reddit Profilo

L'API Reddit Profilo di AnyAPI restituisce dati Reddit come JSON normalizzato da una sola chiamata POST a /v1/run/reddit.profile. Recupera il profilo pubblico di un utente Reddit (ripartizione del karma, numero di post e commenti, bio, avatar, età dell'account) tramite username. AnyAPI instrada ogni richiesta su 2 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 0,80 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 98,5% delle chiamate Reddit Profilo tramite AnyAPI è riuscito, con un tempo di risposta mediano di 2,5 secondi su 9748 chiamate misurate.

Costa da 0,80 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.

Recupera il profilo pubblico di un utente Reddit (ripartizione del karma, numero di post e commenti, bio, avatar, età dell'account) tramite username. 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 98,5% delle chiamate Reddit Profilo tramite AnyAPI è riuscito, con un tempo di risposta mediano di 2,5 secondi su 9748 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 125 chiamate Reddit Profilo a 0,0008 USD ciascuna.

AnyAPI interroga la successiva delle sue 2 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.profile 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.