How to compare repo growth with the GitHub API

A step-by-step guide to How to compare repo growth using the GitHub API — works in curl or Python.

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

Step 1 — Get a free snapshot

Confirm the current state of your target repo in one call. No key required.

GET /v1/snapshot?repo=vercel/next.js

Step 2 — Scan on a schedule

Call the paid changes endpoint daily (or hourly) with your access key. Each scan costs $0.05 and returns only what changed.

curl "https://s-github.pixharvest.com/v1/changes" -H "Authorization: Bearer YOUR_KEY"

Step 3 — Act on the signal

Route the JSON to your agent, dashboard or alert. Common actions: notify, update a sheet, trigger a workflow.

Pricing recap

Paid calls: $0.05 per change check, $0.50 per intel report, $0.03 per target in batch (up to 50), $5 landscape. Agents settle USDC on Base via x402 (0% commission); humans buy a key on /pricing.

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