Searches public code and repositories and returns matching file or repo metadata.
searchpassing, 0.5s/v1/search-tools:github-code/search5m cache4 paramschecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("search-tools:github-code", "search", {
"query": "react",
"count": 10,
"page": 1,
"sort": "stars"
});
console.log(data);curl -X GET "https://api.zpi.web.id/v1/search-tools:github-code/search?query=react&count=10&page=1&sort=stars" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"/v1/search-tools:github-code/searchReturns matching code or repositories with file paths, snippets, and URLs for a query.querystringrequiredcountnumberoptionalpagenumberoptionalsortenumoptionalcurl -X GET "https://api.zpi.web.id/v1/search-tools:github-code/search?query=react&count=10&page=1&sort=stars" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"page": 1,
"count": 5,
"items": [
{
"url": "https://github.com/chimurai/http-proxy-middleware",
"name": "http-proxy-middleware",
"forks": 880,
"owner": "chimurai",
"stars": 11132,
"title": "chimurai/http-proxy-middleware",
"source": "github.com",
"fullName": "chimurai/http-proxy-middleware",
"language": "TypeScript",
"updatedAt": "2026-08-01T11:55:01Z",
"description": ":zap: The one-liner node.js http-proxy middleware for connect, express, next.js and more"
},
{
"url": "https://github.com/honojs/middleware",
"name": "middleware",
"forks": 360,
"owner": "honojs",
"stars": 971,
"title": "honojs/middleware",
"source": "github.com",
"fullName": "honojs/middleware",
"language": "TypeScript",
"updatedAt": "2026-08-02T04:49:53Z",
"description": "monorepo for Hono third-party middleware/helpers/wrappers"
},
{
"url": "https://github.com/rhinobase/hono-openapi",
"name": "hono-openapi",
"forks": 59,
"owner": "rhinobase",
"stars": 778,
"title": "rhinobase/hono-openapi",
"source": "github.com",
"fullName": "rhinobase/hono-openapi",
"language": "TypeScript",
"updatedAt": "2026-07-31T13:06:26Z",
"description": "Hono middleware to generate OpenAPI Swagger documentation"
},
{
"url": "https://github.com/rhinobase/hono-rate-limiter",
"name": "hono-rate-limiter",
"forks": 23,
"owner": "rhinobase",
"stars": 646,
"title": "rhinobase/hono-rate-limiter",
"source": "github.com",
"fullName": "rhinobase/hono-rate-limiter",
"language": "TypeScript",
"updatedAt": "2026-07-25T09:58:00Z",
"description": "Rate Limit middleware for Hono Server"
},
{
"url": "https://github.com/sergiodxa/remix-hono",
"name": "remix-hono",
"forks": 9,
"owner": "sergiodxa",
"stars": 553,
"title": "sergiodxa/remix-hono",
"source": "github.com",
"fullName": "sergiodxa/remix-hono",
"language": "TypeScript",
"updatedAt": "2026-07-23T10:43:29Z",
"description": "Hono middlewares for Remix"
}
],
"total": 231,
"hasMore": true,
"nextPage": 2
}