Search GitHub repositories and accounts via Exa, paid per-call with USDC on Base.
What it does
This x402-enabled endpoint on Toolkit.dev lets agents and applications search GitHub repositories and accounts using the Exa search engine. It accepts a POST request with a JSON body containing a `query` string and returns an array of results.
The endpoint is live on the Base network and charges up to $0.05 (50,000 base units of USDC with 6 decimals) per request, settled via the x402 exact payment scheme. Payment is made to address `0x0cC2CDC0EB992860d6c2a216b1DC0895fD2DF82F` using USDC (contract `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`) on Base. The maximum timeout for a request is 300 seconds.
Toolkit.dev is an open-source platform for building and monetizing LLM tools. This particular tool wraps the Exa search API to provide GitHub-specific search capabilities. Note that this endpoint is hosted on the staging environment (`staging.toolkit.dev`), so availability and behavior may change. The output schema specifies a top-level object with a `results` array, but the structure of individual result items is not documented in the available material.
Capabilities
Use cases
- —Finding GitHub repositories matching a keyword or topic
- —Discovering GitHub accounts or organizations relevant to a project
- —Automated research on open-source projects for AI agents
- —Building developer tools that need programmatic GitHub discovery
- —Comparing repositories in a given technology domain
Fit
Best for
- —AI agents that need to discover GitHub repos or accounts on the fly
- —Automated research pipelines that search for open-source projects
- —Developers building LLM-powered tools that incorporate GitHub data
Not for
- —Searching GitHub issues, pull requests, or code contents (not documented as supported)
- —High-volume bulk scraping of GitHub data
- —Free-tier usage — every call requires a USDC micropayment
Quick start
curl -X POST https://staging.toolkit.dev/api/tool/exa/github-search \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402-payment-header>" \
-d '{"query": "machine learning framework"}'Example
Request
{
"query": "machine learning framework"
}Response
{
"results": [
{
"url": "https://github.com/tensorflow/tensorflow",
"title": "tensorflow/tensorflow",
"description": "An open-source machine learning framework for everyone."
}
]
}Endpoint
Quality
The x402 challenge is fully captured and live, providing clear pricing, input schema, and payment details. However, no OpenAPI spec is available, the output schema lacks detail on individual result items, the docs/pricing/API pages all redirect to a login wall, and this is a staging environment. The example response is inferred from the output schema rather than observed.
Warnings
- —Endpoint is hosted on a staging environment (staging.toolkit.dev) — availability and behavior may change without notice.
- —No OpenAPI or detailed documentation available; docs, pricing, and API pages require authentication.
- —The structure of individual items in the results array is not documented — the example response is inferred.
- —Exa search integration details (rate limits, coverage, freshness) are not documented.
Citations
- —The endpoint returns a 402 challenge with x402Version 1, accepting USDC on Base with maxAmountRequired of 50000 base units.https://staging.toolkit.dev/api/tool/exa/github-search
- —USDC contract on Base is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 with 6 decimals, making 50000 base units equal to $0.05.https://staging.toolkit.dev/api/tool/exa/github-search
- —Toolkit.dev is an open-source project that pays contributors for merged PRs and provides LLM tools.https://staging.toolkit.dev
- —The input schema requires a POST with a JSON body containing a required 'query' string field.https://staging.toolkit.dev/api/tool/exa/github-search