# 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: eip155:8453
- Advertised price: 0.0025
- Last checked: 2026-11-30T05:15:49.339Z
- 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/f2a8696c394e204d23b1dea06b612ec7
- 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
}
```
