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.
| Method | Endpoint | Price | Description |
|---|---|---|---|
GET | /v1/marketplace/api/search-code | $0.00115 | Invoke Search Code (Search) and return the upstream response. |
Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.
# 1. Ask for a quote
curl -i https://api.jarvisclaw.ai/v1/marketplace/api/search-code
# 2. Pay it (the SDK signs and retries for you)
curl -H "X-PAYMENT: <signed-payload>" https://api.jarvisclaw.ai/v1/marketplace/api/search-code
Open in the marketplace
Docs: Getting started · x402 payments · x402 discovery · All APIs