# 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.

Verified by [Verified x402](https://verifiedx402.com).

- URL: https://2s.io/api/github/search-code
- Category: search
- Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
- Advertised price: 2500
- Last checked: 2026-11-25T08:17:54.734Z
- Score: 92.0

This listing passed a recent check: the endpoint is live and the advertised price and terms match. Check before paying, then pay the API yourself.

- HTML: https://verifiedx402.com/v/f5ccfcf9c60d4cb3f9546fd7175e110a
- Badge: https://verifiedx402.com/badge.svg?url=https%3A%2F%2F2s.io%2Fapi%2Fgithub%2Fsearch-code
- Independent check: [vet402](https://vet402.com/api/v1/check?url=https%3A%2F%2F2s.io%2Fapi%2Fgithub%2Fsearch-code)

```json
{
  "checkedAt": null,
  "httpStatus": null,
  "latencyMs": null,
  "priceMatches": null,
  "payToMatches": null
}
```
