OpenAny
Get API keyAPI Key
APIDataDeveloper

github logo
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
USE THIS API

GitHub Repository API

Prepare your request, then continue with your agent.

Selected price

$0.00188 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
GitHub Repository API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
GitHub repository URL

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
GitHub — Repository · GET · View API reference$0.00188 / call1
100.00%successP501.53s
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · scrapecreatorsUSD / call
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.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
urlURL query parametersquerystringYes

GitHub repository URL

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • credits_chargedinteger
  • credits_remaininginteger
  • repositoryobject
    • archivedboolean
    • created_atstring
    • default_branchstring
    • descriptionstring
    • disabledboolean
    • forkboolean
    • forks_countinteger
    • full_namestring
    • homepagestring
    • idinteger
    • languagestring
    • licenseobject
      • keystring
      • namestring
      • spdx_idstring
    • namestring
    • node_idstring
    • open_issues_countinteger
    • ownerobject
      • avatar_urlstring
      • idinteger
      • loginstring
      • typestring
      • urlstring
    • privateboolean
    • pushed_atstring
    • sizeinteger
    • stars_countinteger
    • topicsunknown[]
    • updated_atstring
    • urlstring
    • visibilitystring
    • watchers_countinteger
  • successboolean

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    curl \
      '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'
  3. 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
    }

Common questions

Should url be a profile or repository URL?

Use a repository URL such as https://github.com/torvalds/linux, not a user profile URL.

Does this return source code?

It returns repository metadata; source files, patches and commit histories require separate retrieval.

Does an SPDX value of NOASSERTION grant a license?

No. It indicates no asserted SPDX license identifier; inspect the repository license before relying on usage rights.

Are stars a security or quality score?

No. Stars and forks are source engagement counts, not a technical assessment.

Can I look up private repositories?

This public-metadata operation does not expose a buyer GitHub credential for private repository access.

Can the response change later?

Yes. Counts, timestamps and status flags reflect returned source data; retain retrieval context when comparing snapshots.

Use GitHub Repository API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.