GitHub API RUST Client Example

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

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

rust example

let resp = reqwest::Client::new()
  .get("https://s-github.pixharvest.com/v1/snapshot")
  .header("Authorization", "Bearer YOUR_KEY")
  .send().await?;
println!("{}", resp.text().await?);

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