UnifAPI Docs

Get a GitHub repository

Returns a public GitHub repository: description, topics, license, default branch, languages, stars, forks, watchers and open issues. Returns `not_found` when the repository does not exist.

Pricing — $ · min $0.003

Minimum 3 credits ($0.003) per call. Records returned above the minimum bill 1 credit ($0.001) each.

GET
/github/repos/{owner}/{repo}

Authorization

bearerAuth
AuthorizationBearer <token>

UnifAPI API key. Provider credentials are managed by UnifAPI.

In: header

Path Parameters

owner*string

Repository owner (user or organization).

Length1 <= length <= 500
repo*string

Repository name.

Length1 <= length <= 500

Header Parameters

Unifapi-Version?"2026-07-01"

Pin the API version an integration was built against (date-based, e.g. 2026-07-01). Omit to use the current version. Public URL paths stay stable and unversioned; breaking changes ship under a new dated version and are announced with Deprecation and Sunset response headers. The served version is echoed in every response's Unifapi-Version header. Policy: https://unifapi.com/versioning.md

Default"2026-07-01"

Value in

  • "2026-07-01"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/github/repos/string/string"
{  "request_id": "string",  "data": {    "platform_repo_id": "string",    "node_id": "string",    "name": "string",    "full_name": "string",    "owner": {      "platform_user_id": "string",      "username": "string",      "avatar_url": "string",      "profile_url": "string",      "account_type": "string"    },    "is_private": true,    "profile_url": "string",    "description": "string",    "is_fork": true,    "homepage": "string",    "language": "string",    "forks_count": 0,    "stars_count": 0,    "watchers_count": 0,    "size_kb": 0,    "default_branch": "string",    "open_issues_count": 0,    "topics": [      "string"    ],    "license": {      "key": "string",      "name": "string",      "spdx_id": "string"    },    "is_archived": true,    "is_disabled": true,    "visibility": "string",    "pushed_at": 0,    "created_at": 0,    "updated_at": 0  },  "billing": {    "credits_charged": 0,    "records_charged": 0,    "balance_remaining": 0,    "truncated_due_to_balance": true  }}