# GitHub — Trending Repositories

Get GitHub Trending Repositories data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by ScrapeCreators, pass parameters such as language, since, spoken_language_code, and retrieve structured data including trending rank, owner and repository name, programming language, repository star count, and stars today to build a discovery feed, prepare a library shortlist, and compare collected rankings.

Documentation: https://openany.si/github/github-scrapecreators-repositories/008cc834-77ad-4296-ad44-2d828812472e/
API ID: 008cc834-77ad-4296-ad44-2d828812472e
Provider: scrapecreators
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/github/trending/repositories
Page update time: 2026-12-03T02:38:48.751Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00188 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:38:11.926Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1880",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## GitHub Trending Repositories API

Send optional language, since and spoken\_language\_code as query parameters. repositories contains ranked project metadata, while since and language fields retain the requested ranking context.

## What You Can Build

- **Build a discovery feed**: Show ranked repositories for a selected language and window.
- **Prepare a library shortlist**: Retain repository links for separate technical review.
- **Compare collected rankings**: Store request settings with each snapshot before comparing lists.

## Returned Data

| Field | Meaning |
| --- | --- |
| `repositories[].rank` | Trending rank |
| `repositories[].full_name` | Owner and repository name |
| `repositories[].language` | Programming language |
| `repositories[].stars_count` | Repository star count |
| `repositories[].stars_today` | Separate star counter reported by the source |
| `repositories[].url` | Repository URL |
| `since` | Returned ranking window |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GitHub — Trending Repositories request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "language": {
          "type": "string",
          "description": "Optional coding language, e.g. javascript, python, or go."
        },
        "since": {
          "type": "string",
          "description": "Trending range: daily, weekly, or monthly. Defaults to daily.",
          "enum": [
            "daily",
            "weekly",
            "monthly"
          ]
        },
        "spoken_language_code": {
          "type": "string",
          "description": "Optional spoken language code filter, e.g. en."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "credits_charged": {
      "type": "integer"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "language": {
      "type": "null"
    },
    "repositories": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "built_by": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "avatar_url": {
                  "type": "string"
                },
                "username": {
                  "type": "string"
                }
              }
            }
          },
          "description": {
            "type": "string"
          },
          "forks_count": {
            "type": "integer"
          },
          "full_name": {
            "type": "string"
          },
          "language": {
            "type": "string"
          },
          "language_color": {
            "type": "string"
          },
          "owner": {
            "type": "string"
          },
          "rank": {
            "type": "integer"
          },
          "repo": {
            "type": "string"
          },
          "stars_count": {
            "type": "integer"
          },
          "stars_today": {
            "type": "integer"
          },
          "stars_today_text": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "since": {
      "type": "string"
    },
    "spoken_language_code": {
      "type": "null"
    },
    "success": {
      "type": "boolean"
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/scrapecreators/v1/github/trending/repositories?language=javascript&since=daily&spoken_language_code=en' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "credits_charged": 1,
  "credits_remaining": 49997684128,
  "language": null,
  "repositories": [
    {
      "built_by": [
        {
          "avatar_url": "https://avatars.githubusercontent.com/u/238056179?s=40&v=4",
          "username": "bryan-anthropic"
        }
      ],
      "description": "Official, Anthropic-managed directory of high quality Claude Code Plugins.",
      "forks_count": 2627,
      "full_name": "anthropics/claude-plugins-official",
      "language": "Python",
      "language_color": "#3572A5",
      "owner": "anthropics",
      "rank": 1,
      "repo": "claude-plugins-official",
      "stars_count": 22064,
      "stars_today": 891,
      "stars_today_text": "891 stars today",
      "url": "https://github.com/anthropics/claude-plugins-official"
    }
  ],
  "since": "daily",
  "spoken_language_code": null,
  "success": true
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which trending windows are supported?
since accepts daily, weekly or monthly.

### Can I filter programming and spoken languages separately?
Yes. language selects the programming language; spoken_language_code is a separate spoken-language filter, such as en.

### Is rank a global quality score?
No. It is the returned trending position, not a quality, security or adoption score.

### Are stars_count and stars_today the same count?
No. stars_count is the repository star count and stars_today is a separate source counter. Retain its original label alongside the requested ranking window.

### Can I request an arbitrary historical date?
No date input is declared. The supported control is the daily, weekly or monthly trending window.

### Does the API review a repository's code?
No. It returns trending metadata. Code inspection and dependency assessment are separate tasks.

## Available implementations
- scrapecreators: https://openany.si/github/github-scrapecreators-repositories/008cc834-77ad-4296-ad44-2d828812472e/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
