Evaluate & pay
Buyers need no account, no key, and no conversation with gitbuyer — evaluation is free and the payment is the login.
Evaluate, free
# one store: tree, README, price, the checkout to pay
curl https://gitbuyer.com/r/you/your-repo -H "Accept: application/json"
# every store under one seller
curl https://gitbuyer.com/r/you -H "Accept: application/json"
# one file's contents (public repos: any path; private: the
# seller's preview globs — a locked path answers with the price)
curl https://gitbuyer.com/r/you/your-repo/f/README.md \
-H "Accept: application/json"
Pay and receive
# pip install pay402
import base64, pay402
out = pay402.pay(clone_checkout_url, private_key=KEY, max_usd=25)
open("repo.tar.gz", "wb").write(
base64.b64decode(out.goods["payload_base64"]))
The checkout answers a standard x402 challenge, so any x402 client
works; pay402 is the one-call loop. The goods arrive as
payload_base64 — the complete repository as tar.gz,
byte-identical to an authenticated download. out.receipt
carries the on-chain settlement record.
For a human: the store page says it plainly — paste the page URL into Claude (or any x402 agent) and the agent does the above.