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.
Authorization
bearerAuth UnifAPI API key. Provider credentials are managed by UnifAPI.
In: header
Path Parameters
Repository owner (user or organization).
1 <= length <= 500Repository name.
1 <= length <= 500Header Parameters
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
"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 }}