78trust / 100

Github Search

by SiteCheck in Developer tools

x402 APIPassing, checked 2 h ago

GitHub search with its own query syntax (e.g. 'sqlite language:rust stars:>100'). Repositories: name, owner, stars, forks, language, topics, licence, pushed date. Issues: title, state, labels, comments, URL. Code needs the optional GITHUB_TOKEN; search is rate limited by GitHub (about 10 requests a minute unauthenticated). Limit max 30.

GET
https://api.sitecheck-api.workers.dev/api/github/search
Price
$0.002
per call in USDC
Uptime
100%
last 30 days
Response time
37 ms
37 ms slowest 5%
Last check
Passed
2 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://api.sitecheck-api.workers.dev/api/github/search

Each call costs $0.002 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://api.sitecheck-api.workers.dev/api/github/search?limit=3&q=sqlite+language%3Arust&type=repositories

Parameters

ParameterTypeRequiredDescription
limitstringNoResults, 1-30 (default 10)
qstringYesGitHub search query, GitHub search syntax (1-256 characters)
typestringNorepositories (default), issues, code or users

Example response

The provider's example. We can't check it without paying.

Example response, 57 lines
{
  "checkedAt": "2026-10-15T18:21:07.001Z",
  "count": 3,
  "incompleteResults": false,
  "query": "sqlite language:rust",
  "results": [
    {
      "archived": false,
      "description": "Interface to SQLite",
      "forks": 56,
      "fullName": "stainless-steel/sqlite",
      "language": "Rust",
      "licence": "NOASSERTION",
      "owner": "stainless-steel",
      "pushedAt": "2026-10-07T00:37:35Z",
      "stars": 275,
      "topics": [
        "bindings",
        "database"
      ],
      "url": "https://github.com/stainless-steel/sqlite"
    },
    {
      "archived": false,
      "description": "Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite",
      "forks": 126,
      "fullName": "vlcn-io/cr-sqlite",
      "language": "Rust",
      "licence": "MIT",
      "owner": "vlcn-io",
      "pushedAt": "2026-08-10T10:55:49Z",
      "stars": 3808,
      "topics": [
        "crdt",
        "database",
        "sqlite"
      ],
      "url": "https://github.com/vlcn-io/cr-sqlite"
    },
    {
      "archived": false,
      "description": "Transparent dictionary-based row-level compression for SQLite",
      "forks": 71,
      "fullName": "phiresky/sqlite-zstd",
      "language": "Rust",
      "licence": "LGPL-3.0",
      "owner": "phiresky",
      "pushedAt": "2025-06-30T09:04:20Z",
      "stars": 1700,
      "topics": [],
      "url": "https://github.com/phiresky/sqlite-zstd"
    }
  ],
  "source": "GitHub REST search API (docs.github.com/rest/search) — GitHub Terms of Service and API Terms",
  "totalCount": 4751,
  "type": "repositories"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.002.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://api.sitecheck-api.workers.dev/api/github/search?limit=3&q=sqlite+language%3Arust&type=repositories'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://api.sitecheck-api.workers.dev/api/github/search?limit=3&q=sqlite+language%3Arust&type=repositories' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.002 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.002" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.002 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.sitecheck-api.workers.dev%2Fapi%2Fgithub%2Fsearch
const res = await pay("https://api.sitecheck-api.workers.dev/api/github/search?limit=3&q=sqlite+language%3Arust&type=repositories");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.002 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.002"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://api.sitecheck-api.workers.dev/api/github/search?limit=3&q=sqlite+language%3Arust&type=repositories")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40237 ms$0.002