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-11-26
7 of 7checks answered this week
277 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
| Category | Code and developer |
|---|---|
| Provider host | 2s.io |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.0025 | 290 ms |
| 2026-11-25 | valid payment request | 402 | $0.0025 | 271 ms |
| 2026-11-24 | valid payment request | 402 | $0.0025 | 277 ms |
| 2026-11-23 | valid payment request | 402 | $0.0025 | 705 ms |
| 2026-11-22 | valid payment request | 402 | $0.0025 | 374 ms |
| 2026-11-21 | valid payment request | 402 | $0.0025 | 271 ms |
| 2026-11-20 | valid payment request | 402 | $0.0025 | 250 ms |
| 2026-11-19 | valid payment request | 402 | $0.0025 | 257 ms |
| 2026-11-18 | valid payment request | 402 | $0.0025 | 254 ms |
| 2026-11-06 | valid payment request | 402 | $0.0025 | 254 ms |
| 2026-11-05 | valid payment request | 402 | $0.0025 | 498 ms |
| 2026-11-04 | valid payment request | 402 | $0.0025 | 275 ms |
| 2026-11-03 | valid payment request | 402 | $0.0025 | 257 ms |
| 2026-11-02 | valid payment request | 402 | $0.0025 | 250 ms |
| 2026-11-01 | valid payment request | 402 | $0.0025 | 247 ms |
| 2026-10-31 | valid payment request | 402 | $0.0025 | 257 ms |
| 2026-10-29 | valid payment request | 402 | $0.0025 | 253 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"
}