x402basequality 0.78

Search GitHub repositories via x402 micropayment — stars, forks, language, topics, and license info.

Price
per_call
Protocol
x402
Verified
no

What it does

The Scout GitHub endpoint (`/scout/github`) lets you search GitHub repositories by keyword, topic, or description through a single GET request, paid per-call at $0.005 USDC on Base via the x402 protocol. Results include repository name, stars, forks, primary language, topics, and license information. The endpoint supports GitHub search qualifiers (e.g. `topic:mcp`, `language:python`), sorting by stars, forks, updated, or best-match, and pagination up to 50 results per request.

This endpoint is part of the broader Scout Multi-source Intelligence API, which covers 19+ platforms including Hacker News, npm, PyPI, arXiv, Semantic Scholar, X/Twitter, Product Hunt, and more. A companion endpoint at `/scout/github/repo` provides detailed information about a specific repository including contributors and releases. The full Scout suite also offers aggregated multi-source reports and AI-synthesized deep research.

Payment is handled via x402: unauthenticated requests receive a 402 challenge with USDC payment details on Base. Alternative access methods include a broker API key (via discovery.hugen.tokyo), an MCP transport, or the `x402-pay` Python SDK.

Capabilities

github-repo-searchgithub-search-qualifierssort-by-starssort-by-forkssort-by-updatedlanguage-filterpaginationx402-micropaymentusdc-on-base

Use cases

  • Finding open-source repositories by keyword or topic for competitive analysis
  • Discovering trending repos by stars or recent activity in a specific language
  • Agents autonomously searching GitHub for libraries matching a technical requirement
  • Building dashboards that aggregate GitHub repo metadata across topics
  • Feeding repository data into multi-source intelligence reports

Fit

Best for

  • AI agents that need programmatic GitHub search without managing API keys or rate limits
  • Developers who want pay-per-call GitHub search with no subscription
  • Multi-source research pipelines that include code repository discovery

Not for

  • Searching private repositories (only public GitHub repos are covered)
  • Retrieving full file contents or commit history from repositories
  • High-volume bulk scraping where per-call costs would accumulate significantly

Quick start

# Using the x402-pay Python SDK
pip install x402-pay

import x402_pay
response = x402_pay.get('https://scout.hugen.tokyo/scout/github?q=x402&sort=stars&per_page=5')
print(response.json())

Example

Request

{
  "url": "https://scout.hugen.tokyo/scout/github?q=x402&sort=stars&per_page=5&language=typescript",
  "method": "GET"
}

Response

{
  "count": 1,
  "query": "AI agent framework",
  "source": "github",
  "results": [
    {
      "name": "langchain",
      "stars": 95000,
      "language": "Python",
      "full_name": "langchain-ai/langchain"
    }
  ]
}

Endpoint

Transporthttp
Protocolx402
Pay to0x29322Ea7EcB34aA6164cb2ddeB9CE650902E4f60
CurrencyUSD COIN

Quality

0.78/ 1.00

Full OpenAPI schema with clear parameter definitions and a live 402 challenge confirming the endpoint works. The sample response in the challenge provides a concrete output shape. Docked slightly because there are no formal response schemas, no dedicated docs page, and the example response is minimal (from the 402 challenge only).

Warnings

  • No formal response schema defined in the OpenAPI spec — response structure is inferred from the 402 challenge sample
  • No dedicated documentation page found (/docs, /api, /pricing all return 404)
  • The 402 challenge advertises $0.01 but the OpenAPI spec says $0.005 — actual price may vary

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-22 01:16:41Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-21
Last seen2026-04-22

Agent access