Vai al contenuto
GET /v1/user

User profile

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/github-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/github-api/v1/user" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/github-api/v1/user", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/github-api/v1/user");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/github-api/v1/user",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "id": 1024025,
        "bio": null,
        "url": "https://api.github.com/users/torvalds",
        "blog": "",
        "name": "Linus Torvalds",
        "type": "User",
        "email": null,
        "login": "torvalds",
        "company": "Linux Foundation",
        "node_id": "MDQ6VXNlcjEwMjQwMjU=",
        "hireable": null,
        "html_url": "https://github.com/torvalds",
        "location": "Portland, OR",
        "followers": 305488,
        "following": 0,
        "gists_url": "https://api.github.com/users/torvalds/gists{/gist_id}",
        "repos_url": "https://api.github.com/users/torvalds/repos",
        "avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4",
        "created_at": "2011-09-03T15:26:22Z",
        "events_url": "https://api.github.com/users/torvalds/events{/privacy}",
        "site_admin": false,
        "updated_at": "2026-06-02T05:33:59Z",
        "gravatar_id": "",
        "starred_url": "https://api.github.com/users/torvalds/starred{/owner}{/repo}",
        "public_gists": 1,
        "public_repos": 12,
        "followers_url": "https://api.github.com/users/torvalds/followers",
        "following_url": "https://api.github.com/users/torvalds/following{/other_user}",
        "user_view_type": "public",
        "twitter_username": null,
        "organizations_url": "https://api.github.com/users/torvalds/orgs",
        "subscriptions_url": "https://api.github.com/users/torvalds/subscriptions",
        "received_events_url": "https://api.github.com/users/torvalds/received_events"
    },
    "meta": {
        "timestamp": "2026-06-02T16:53:00.269Z",
        "request_id": "1f6e8164-f587-4990-8f23-2da6b996385a"
    },
    "status": "ok",
    "message": "User profile",
    "success": true
}