SearchLive

Search Code

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

$0.00115USDC per call · settled on Base · no subscription, no API key

Overview

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.

Endpoint

MethodEndpointPriceDescription
GET/v1/marketplace/api/search-code$0.00115Invoke Search Code (Search) and return the upstream response.

How to call it

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