Catalog/dev-github-search

Developer

GitHub repo / code search API

Search GitHub repositories (or code, if a token is configured) by query, with stars, language, and URL. Answers 'find repos that do X', 'popular Y libraries', 'open-source projects for Z', 'code examples of W'. Uses GITHUB_TOKEN if set; code search requires it.

Price$0.01per request
MethodPOST
Route/v1/dev/github-search
StatusLive
MIME typeapplication/json
Rate limit30/minute
Cache600s public
devgithubsearchrepositoriescodeopen-sourcelibrariesdiscovery
API URLhttps://x402.hexl.dev/v1/dev/github-search
Integration docs
Example request
{
  "query": "rust web framework",
  "limit": 1
}
Example response
{
  "query": "rust web framework",
  "type": "repositories",
  "total": 1200,
  "results": [
    {
      "repo": "tokio-rs/axum",
      "description": "Ergonomic and modular web framework",
      "stars": 18000,
      "language": "Rust",
      "url": "https://github.com/tokio-rs/axum",
      "updatedAt": "2026-06-01T00:00:00Z"
    }
  ]
}
Input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "examples": [
        "x402 fastify"
      ]
    },
    "type": {
      "type": "string",
      "enum": [
        "repositories",
        "code"
      ],
      "default": "repositories"
    },
    "limit": {
      "type": "number",
      "default": 10
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}