API di GitHub

GitHub Utente API

Recupera il profilo pubblico di un utente GitHub tramite handle (nome, bio, azienda, località, follower e numero di repository).

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

Mira Chen (mira-devbuilds)
github.com/mira-devbuilds
Sign inSign up

Mira Chen

mira-devbuilds

Follow

3,420 followers · 156 following

@opengridlabs

Seattle, WA

Building developer tools. Previously @stripe. OSS maintainer of gridline-cli.

OverviewRepositoriesProjectsPackagesStars

Pinned

Public

Public

Public

Public

Contributions in the last year

Cosa ha restituito l'API
{
"login": "mira-devbuilds",
"name": "Mira Chen",
"bio": "Building developer tools. Previously @stripe. OSS maintainer of gridline-cli.",
"company": "@opengridlabs",
"location": "Seattle, WA",
"avatarUrl": "https://avatars.githubusercontent.com/u/48213097?v=4",
"type": "User",
"publicRepos": 84,
... 8 campi in più
}
Disponibilità
100,00%
30d · 8475 chiamate
Richieste
8475
30 g · settimanale, ultime 12 sett.
Risposta
0,9s
mediana · 30d

Prezzi e provider

Prezzi dell'API GitHub Utente: una sola API, 3 provider intercambiabili

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

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

Provalo

Ottieni GitHub Utente in una sola richiesta

requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `company`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be empty on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
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 14 campi su 19. Vedi tutti i campi

{
  "found": true,
  "data": {
    "login": "mira-devbuilds",
    "name": "Mira Chen",
    "bio": "Building developer tools. Previously @stripe. OSS maintainer of gridline-cli.",
    "company": "@opengridlabs",
    "location": "Seattle, WA",
    "avatarUrl": "https://avatars.githubusercontent.com/u/48213097?v=4",
    "type": "User",
    "publicRepos": 84,
    "publicGists": 12,
    "followers": 3420,
    "following": 156,
    "createdUtc": 1394668800
  }
}

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.

  • handlestring

    mira-devbuilds

    Username GitHub.

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `company`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be empty on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

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 profile record, or null when not found.

  • avatarUrlstring

    https://avatars.githubusercontent.com/u/48213097?v=4

    URL of the profile avatar image. Populated whenever the provider has data for the entity.

  • biostring

    Building developer tools. Previously @stripe. OSS maintainer of gridline-cli.

    Profile bio text.

  • blogstringpuò richiedere

    Blog or website URL from the profile, or null when the source does not report it.

  • companystringpuò richiedere

    @opengridlabs

    Company listed on the profile, or null when the source does not report it.

  • createdUtcnumber

    1394668800

    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.

  • followersinteger

    3420

    Number of followers.

  • followinginteger

    156

    Number of accounts the user follows.

  • idstring

    GitHub's numeric user id, as a string.

  • locationstringpuò richiedere

    Seattle, WA

    Location listed on the profile, or null when the source does not report it.

  • loginstring

    mira-devbuilds

    GitHub username (handle). Populated whenever the provider has data for the entity.

  • namestring

    Mira Chen

    Display name, or empty string if unset. Populated whenever the provider has data for the entity.

  • profileUrlstring

    Canonical GitHub profile URL.

  • publicGistsintegerpuò richiedere

    12

    Count of public gists, or null when the source does not report it.

  • publicReposinteger

    84

    Count of public repositories.

  • twitterUsernamestringpuò richiedere

    Linked X/Twitter username, or null when the source does not report it.

  • typestringpuò richiedere

    User

    "User" or "Organization", or null when the source does not report it.

top level
  • foundboolean

    true

    Whether a user was found for the requested handle.

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

FAQ

Sull'API GitHub Utente

L'API GitHub Utente di AnyAPI restituisce dati GitHub come JSON normalizzato da una sola chiamata POST a /v1/run/github.user. Recupera il profilo pubblico di un utente GitHub tramite handle (nome, bio, azienda, località, follower e numero di repository). AnyAPI instrada ogni richiesta su 3 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 1,20 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 100,0% delle chiamate GitHub Utente tramite AnyAPI è riuscito, con un tempo di risposta mediano di 0,9 secondi su 8475 chiamate misurate.

Costa da 1,20 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 GitHub tramite handle (nome, bio, azienda, località, follower e numero di repository). 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 100,0% delle chiamate GitHub Utente tramite AnyAPI è riuscito, con un tempo di risposta mediano di 0,9 secondi su 8475 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 83 chiamate GitHub Utente a 0,0012 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/github.user 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.