ToolAssay

Search code across GitHub with the code-search syntax (e.g

Search code across GitHub with the code-search syntax (e.g. 'defineEndpoint repo:AlleyFord/2s' or 'addEventListener language:js'). Returns total match count + file name, path, repository, and URL for each hit. Read-only; no caller key needed.

Answeringour last check, 2026-09-28
1 of 1checks answered this week
247 msmedian answer time
$0.0025listed price per call
$0.0025price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://2s.io/api/github/search-code

CategoryCode and developer
Provider host2s.io
Networkseip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-28 valid payment request 402$0.0025 247 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "page": 1,
    "perPage": 1,
    "q": "example"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "properties": {
        "method": {
          "const": "GET"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "page": {
              "minimum": 1,
              "type": "integer"
            },
            "perPage": {
              "maximum": 50,
              "minimum": 1,
              "type": "integer"
            },
            "q": {
              "maxLength": 400,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "q"
          ],
          "type": "object"
        },
        "type": {
          "const": "http"
        }
      },
      "required": [
        "type",
        "method",
        "queryParams"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON