GitHub Repository API
Get GitHub Repository data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by ScrapeCreators, pass parameters such as url, and retrieve structured data including repository identifier, owner and repository name, primary programming language, star count, and fork count to enrich project directories, prepare technical comparisons, and link to deeper inspection.
- Selected price
- $0.00188 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 1Selected implementation · last 30 days
- Success rate · 30d
- 100.00%Selected implementation · last 30 days
GitHub Repository API
Prepare your request, then continue with your agent.
Selected price
$0.00188 / call
- Provider
- API
- Pricing
On this page
Overview
GitHub Repository API
Send a repository URL in the url query parameter. The repository object includes owner identity, project metadata, timestamps and status flags, with nullable or source-specific license information.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Required query: url containing a GitHub repository URL. |
| Selected implementation | scrapecreators · GitHub — Repository |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Enrich project directories: Attach source metadata to a repository URL.
- Prepare technical comparisons: Compare language, license indicators and archive status.
- Link to deeper inspection: Use the source URL for separate code review.
Returned Data
| Field | Meaning |
|---|---|
repository.id |
Repository identifier |
repository.full_name |
Owner and repository name |
repository.language |
Primary programming language |
repository.stars_count |
Star count |
repository.forks_count |
Fork count |
repository.license.spdx_id |
License identifier reported by the source |
repository.archived |
Archive indicator |
repository.default_branch |
Default branch name |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/scrapecreators/v1/github/repository \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode url=https://github.com/torvalds/linux
Request and Response Examples
The request is a calling template, while reference output illustrates the response structure and can refer to different records. Check returned identities against your query.
Published GitHub Repository API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
scrapecreatorsCurrent GitHub — Repository · GET · View API reference | $0.00188 / call | 1 | 100.00%successP501.53s |
- Unit price
- $0.00188
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.
Total $0.188
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/github/repository- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
url | URL query parametersquery | string | Yes | GitHub repository URL |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
credits_chargedintegercredits_remainingintegerrepositoryobjectarchivedbooleancreated_atstringdefault_branchstringdescriptionstringdisabledbooleanforkbooleanforks_countintegerfull_namestringhomepagestringidintegerlanguagestringlicenseobjectkeystringnamestringspdx_idstring
namestringnode_idstringopen_issues_countintegerownerobjectavatar_urlstringidintegerloginstringtypestringurlstring
privatebooleanpushed_atstringsizeintegerstars_countintegertopicsunknown[]updated_atstringurlstringvisibilitystringwatchers_countinteger
successboolean
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
url- GitHub repository URL
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/scrapecreators/v1/github/repository?url=https%3A%2F%2Fgithub.com%2Ftorvalds%2Flinux' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "credits_charged": 1, "credits_remaining": 49997684249, "repository": { "archived": false, "created_at": "2011-09-04T22:48:12Z", "default_branch": "master", "description": "Linux kernel source tree", "disabled": false, "fork": false, "forks_count": 62423, "full_name": "torvalds/linux", "homepage": "", "id": 2325298, "language": "C", "license": { "key": "other", "name": "Other", "spdx_id": "NOASSERTION" }, "name": "linux", "node_id": "MDEwOlJlcG9zaXRvcnkyMzI1Mjk4", "open_issues_count": 3, "owner": { "avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4", "id": 1024025, "login": "torvalds", "type": "User", "url": "https://github.com/torvalds" }, "private": false, "pushed_at": "2026-05-21T16:23:10Z", "size": 6298741, "stars_count": 233979, "topics": [], "updated_at": "2026-05-21T19:31:40Z", "url": "https://github.com/torvalds/linux", "visibility": "public", "watchers_count": 233979 }, "success": true }