Get GitHub repository
Get a single GitHub repository by URL.
Use this endpoint for one repository when you have a full `owner/repo` URL. To list every public repository for a user, use the profile repositories list endpoint instead.
Headers
Get your API keyAPI key (`sfk_...`)
Full public GitHub repository URL.
min 1 chars · max 4096 chars
Endpoint-specific response payload.
Whether the repository was found.
one of: found, not_found
Repository metadata when available.
GitHub repository id as a string.
GitHub node id when available.
Repository name without the owner prefix.
Full repository name in `owner/repo` form.
Repository owner.
GitHub user or organization id as a string.
GitHub login (username).
Avatar image URL for the owner.
Canonical public GitHub profile URL for the owner.
min 1 chars
Whether the owner is a user or organization.
one of: User, Organization
Whether the repository is private.
Canonical public GitHub repository URL.
min 1 chars
Repository description when available.
Whether the repository is a fork.
Homepage URL when set on the repository.
Primary programming language when reported.
Fork count when available.
≥ 0
Star count when available.
≥ 0
Watcher count when available.
≥ 0
Repository size in kilobytes when available.
≥ 0
Default branch name when available.
Open issue count when available.
≥ 0
Repository topic tags when available.
License metadata when available.
License key identifier.
Human-readable license name.
SPDX license identifier when available.
Whether the repository is archived.
Whether the repository is disabled.
Repository visibility label when available.
Last push timestamp (ISO 8601) when available.
Creation timestamp (ISO 8601) when available.
Last update timestamp (ISO 8601) when available.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/github/repositories?url=https://github.com/torvalds/linux" \
-H "x-api-key: YOUR_API_KEY"Responses
Repository lookup result. Check `data.lookupStatus` for `found` or `not_found`.