zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Search Tools/GitHub Search
Logo GitHub Search

GitHub Search

Searches public code and repositories and returns matching file or repo metadata.

Endpoints
1
Requests
58
Updated
3 months ago
For LLMs
llms.txt
Endpoint health9 hours ago
  • searchpassing, 0.5s
1/1 passingdaily 01:00 WIB

Playground

1 endpoint
GET/v1/search-tools:github-code/search5m cache4 paramschecking key…
Parameters
querystringrequired

Search keyword

countnumber

Results per page 1-20 (default 10)

pagenumber

Result page (default 1, max 50)

sortenum

Sort by: stars/forks/updated (default stars)

·
Response
EXAMPLE
{
  "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
}

Code examples

Search
zpi-sdkrecommended
// 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);
Full SDK reference →
request.sh
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"

Full reference

1 endpoint · plain text
GETSearch/v1/search-tools:github-code/searchReturns matching code or repositories with file paths, snippets, and URLs for a query.

Parameters

querystringrequired
Search keyword
countnumberoptional
Results per page 1-20 (default 10)
pagenumberoptional
Result page (default 1, max 50)
sortenumoptional
Sort by: stars/forks/updated (default stars) Values: stars, forks, updated.

Request

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"

Example response

{
  "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
}

Related APIs

More in search-tools

Brave Search

search-tools/brave

Web search via Brave — datacenter-friendly, no captcha, real-time dengan title/URL/snippet.

5K calls·1h cache

Bing Search

search-tools/bing

Bing Search. pencarian web lengkap, snippet, link, multi-bahasa dan region

5.5K calls·1h cache

DuckDuckGo

search-tools/duckduckgo

DuckDuckGo web search — privacy-focused search engine, no tracking, hasil pencarian web umum dengan title, URL, snippet.

736 calls·15m cache

Wikipedia

search-tools/wikipedia

Wikipedia search — pencarian artikel ensiklopedia multi-bahasa (en/id) dengan title, snippet, URL halaman.

51 calls·3m cache

Hacker News

search-tools/hackernews

Hacker News search via Algolia API — pencarian post & komentar tech/startup community dengan points, comments, author.

48 calls·3m cache

Stack Overflow

search-tools/stackoverflow

Stack Overflow & Stack Exchange search — Q&A programming dengan tags, score, view count. Support stackoverflow/superuser/serverfault/askubuntu.

37 calls·3m cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026