GitHub API PYTHON Client Example

Run your first GitHub API call in python — copy, paste, done.

Free live snapshot — no key, no signup: GET /v1/snapshot?repo=vercel/next.js

python example

import requests
r = requests.get("https://s-github.pixharvest.com/v1/snapshot", headers={"Authorization": "Bearer YOUR_KEY"})
data = r.json()
print(data)

Next steps

  1. Try the free snapshot above — no key needed.
  2. Add a key for paid endpoints: get one here.
  3. Agents: settle paid calls via x402 USDC on Base — see auth & payment.

← All docs · Live demo · Pricing · Auth & payment