Skip to content
GET /v1/user/repos

User repositories

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/github-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/github-api/v1/user/repos" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/github-api/v1/user/repos", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/github-api/v1/user/repos");
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/repos",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": [
        {
            "id": 2325298,
            "url": "https://api.github.com/repos/torvalds/linux",
            "fork": false,
            "name": "linux",
            "size": 6304220,
            "forks": 62671,
            "owner": {
                "id": 1024025,
                "url": "https://api.github.com/users/torvalds",
                "type": "User",
                "login": "torvalds",
                "node_id": "MDQ6VXNlcjEwMjQwMjU=",
                "html_url": "https://github.com/torvalds",
                "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",
                "events_url": "https://api.github.com/users/torvalds/events{/privacy}",
                "site_admin": false,
                "gravatar_id": "",
                "starred_url": "https://api.github.com/users/torvalds/starred{/owner}{/repo}",
                "followers_url": "https://api.github.com/users/torvalds/followers",
                "following_url": "https://api.github.com/users/torvalds/following{/other_user}",
                "user_view_type": "public",
                "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"
            },
            "topics": [],
            "git_url": "git://github.com/torvalds/linux.git",
            "license": {
                "key": "other",
                "url": null,
                "name": "Other",
                "node_id": "MDc6TGljZW5zZTA=",
                "spdx_id": "NOASSERTION"
            },
            "node_id": "MDEwOlJlcG9zaXRvcnkyMzI1Mjk4",
            "private": false,
            "ssh_url": "[email protected]:torvalds/linux.git",
            "svn_url": "https://github.com/torvalds/linux",
            "archived": false,
            "disabled": false,
            "has_wiki": false,
            "homepage": "",
            "html_url": "https://github.com/torvalds/linux",
            "keys_url": "https://api.github.com/repos/torvalds/linux/keys{/key_id}",
            "language": "C",
            "tags_url": "https://api.github.com/repos/torvalds/linux/tags",
            "watchers": 235131,
            "blobs_url": "https://api.github.com/repos/torvalds/linux/git/blobs{/sha}",
            "clone_url": "https://github.com/torvalds/linux.git",
            "forks_url": "https://api.github.com/repos/torvalds/linux/forks",
            "full_name": "torvalds/linux",
            "has_pages": false,
            "hooks_url": "https://api.github.com/repos/torvalds/linux/hooks",
            "pulls_url": "https://api.github.com/repos/torvalds/linux/pulls{/number}",
            "pushed_at": "2026-06-02T02:57:43Z",
            "teams_
…