zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
Search Tools/GitHub Search
Logo GitHub Search

GitHub Search

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

1 endpoint1 endpoint on this scraper61 calls61 calls so farupdated 4 months agoLast updated 5/27/2026, 1:33:54 PMBusy: 10+ calls so farllms.txt
Endpoints1

1/1 passing
checked 19 hours ago · daily 01:00 WIB

Search

Returns matching code or repositories with file paths, snippets, and URLs for a query.

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

Search
index.ts
// 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);
Recommended · typed errors, safe retries and bulk jobsSDK reference

Full reference

1 endpoint · plain text
GET
Search/v1/search-tools:github-code/search
4 params

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.zapi.ink/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

Bing Search

search-toolsbing

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

7.5K7.5K calls so far1hResponses cached for 1h
Busy: 10+ calls so far

Brave Search

search-toolsbrave

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

6.8K6.8K calls so far1hResponses cached for 1h
Busy: 10+ calls so far

DuckDuckGo

search-toolsduckduckgo

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

1.1K1.1K calls so far15mResponses cached for 15m
Busy: 10+ calls so far

Hacker News

search-toolshackernews

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

4848 calls so far3mResponses cached for 3m
Busy: 10+ calls so far

Wikipedia

search-toolswikipedia

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

5454 calls so far3mResponses cached for 3m
Busy: 10+ calls so far

Stack Overflow

search-toolsstackoverflow

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

3737 calls so far3mResponses cached for 3m
Busy: 10+ calls so far
zapi.

One key, one response shape. We keep the scrapers working.

Get an API key
ProductBrowse APIsPricingDocsMCP server
DevelopersSDK on npmGitHubOpenAPI specllms.txt
SupportReport an issueDiscord
LegalTermsPrivacyCookiesAUPRefunds
© 2026 ZapiPublic web data, one API.
zapi.