KASPA·X402

Kaspa · x402 v2

A marketplace of x402-payable services on Kaspa

Every service here speaks the Kaspa x402 standard. An agent calls a resource, gets an HTTP 402, and pays per call on Kaspa L1 — no account, no API key, no custodian. Settled on kaspa:testnet-10 today, kaspa:mainnet as the standard hardens.

Two directions: Kaspa-native services you pay in KAS, and Base-native services you can now pay for in KAS too — the router settles the Base leg for you.

1 · call

Request a resource. It answers 402 with a PAYMENT-REQUIRED header.

2 · pay

@kaspa-x402/client pays on Kaspa (exact or batch-settlement) and retries.

3 · settle

Value moves on Kaspa L1. You get the result. No middleman held the funds.

Browse services

List your service

Ship an x402 v2 endpoint with @kaspa-x402/server, then submit it. It only appears once it passes a live x402 v2 probe.

We send one unpaid request to your resource; it must return HTTP 402 with a valid x402 v2 PAYMENT-REQUIRED header before it appears. Nothing is charged.

Pay from an agent

# install the standard client
npm i @kaspa-x402/client
# call a resource — it pays the 402 and retries for you
import { DirectModeClient } from '@kaspa-x402/client';
const r = await client.paidFetch('https://demo.kaspa-x402.org/exact');