GitHub search: find repositories

$0.002 per call · failed calls are never charged · no account or subscription: pay per call with a card key or USDC

GitHub repository search: find public repositories by keyword, optionally in one language, ordered by best match, stars, forks or last update, with each result's stars, forks, language, topics, license and last-push date; 1-20 results. Repositories only, no user profile data. Use to find a library for a task, discover the popular projects on a topic or check what already exists before building.

Run it free (25 free calls) Buy credits by card (from $1) Example result (JSON)

Try it with your own inputs

Search words, e.g. x402 payments (GitHub search qualifiers such as topic:mcp or stars:>100 work too)

Uses one of your 25 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
q (required)stringSearch words, e.g. x402 payments (GitHub search qualifiers such as topic:mcp or stars:>100 work too)
sortstringbest-match (default), stars, forks or updated. One of: best-match, stars, forks, updated.
languagestringOnly repositories mainly in this language, e.g. TypeScript
countintegerNumber of results, 1-20 (default 10)

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/github/search?q=x402%20payments"

Or one of your 25 free calls, no key:

curl "https://agent-data-tools.revmesh2074.workers.dev/github/search?q=x402%20payments&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "query": "x402 payments",
  "language": null,
  "sort": "stars",
  "total": 412,
  "repos": [
    {
      "repo": "coinbase/x402",
      "url": "https://github.com/coinbase/x402",
      "description": "A payments protocol for the internet. Built on HTTP.",
      "stars": 5200,
      "forks": 890,
      "language": "TypeScript",
      "topics": [
        "payments",
        "http",
        "stablecoins"
      ],
      "license": "Apache-2.0",
      "pushedAt": "2026-11-09T22:10:44Z",
      "archived": false
    }
  ],
  "source": "GitHub REST API (public repository data)",
  "checkedAt": "2026-11-10T09:12:00.000Z"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is github_search, and the first 25 successful calls are free:

https://agent-data-tools.revmesh2074.workers.dev/mcp

Related tools