1 dépôt
Logic for automatically handling payment per request when calling remote APIs.
Distinct from API Request Handling: Distinct from API Request Handling: specifically handles automatic payment per request for gated API access, not general request processing.
Explore 1 awesome GitHub repository matching web development · Paid API Request Handlers. Refine with filters or upvote what's useful.
x402 is a protocol and framework that enables cryptocurrency payments for HTTP API calls, using the HTTP 402 status code to negotiate payment before granting access to resources. It supports per-request micropayments across multiple blockchain networks, with batch settlement of off-chain vouchers into a single on-chain transaction to reduce costs. The protocol also includes wallet-based signature authentication, allowing access without a payment when only identity verification is required. The framework distinguishes itself with a service discovery registry where paid endpoints are listed wit
Enables automatic payment per request when calling remote APIs, handling the payment handshake transparently.