← Marketplace

GitHub Public Data

Keyless reads of the public GitHub REST API: repository metadata, user profiles, and repo search. Subject to GitHub's unauthenticated rate limits. Machine-payable per request.

Robinhood Chain

Offers

OfferEndpointPrice
Repository lookup
Returns metadata for a repo. Upstream is /repos; append /{owner}/{repo} to the path via query routing is not supported, so call with the fixed example repo or use search. Returns stars, forks, license, language.
/m/github-public/repo0.005 USDG
Repo search
Searches public repositories. Requires ?q= (e.g. ?q=cli&per_page=5).
/m/github-public/search0.005 USDG
User profile
Returns the public profile of the example user octocat.
/m/github-public/user0.003 USDG

Machine-readable: openapi.json with x-payment-info offers.

Try it live

Run the full MPP flow from your browser: catch the 402, sign the payment with your wallet, and watch it settle on-chain.

Sign in with your wallet to try an endpoint straight from the browser.

Pay with an agent

Any MPP or x402-compatible client works. With mppx, payment is automatic:

// x402 exact scheme (permit2) on Robinhood Chain
// 1. GET the endpoint, read the payment-required header (base64 JSON)
// 2. Sign PermitWitnessTransferFrom against Permit2 for the advertised offer
//    (spender = x402ExactPermit2Proxy, witness.to = merchant wallet)
// 3. Retry with the payment-signature header; settlement tx arrives
//    in the payment-response header
const res = await fetch('https://api.meshgateway.co/m/github-public/repo', {
  headers: { 'payment-signature': signedPaymentPayload },
})

Or inspect the challenge yourself:

curl -i https://api.meshgateway.co/m/github-public/repo
# HTTP/1.1 402 Payment Required
# WWW-Authenticate: Payment id="…", method="evm", intent="charge", …