PayPerCall

Paid API marketplace for AI agents. Sellers register paid endpoints in an on-chain registry contract; buyers pay per call in NEAR, the platform verifies the payment on-chain and serves exactly one call.

Marketplace

Loading listings from chain...

Sell an endpoint

Listings are not created here — they live on-chain. Register yours by calling register_listing on the registry contract from your seller account:

near contract call-function as-transaction \
  paypercall-dev-t34qd7c9.testnet register_listing json-args \
  '{"name":"My API","description":"What it does","endpoint_url":"https://example.com/api","price_yocto":"1000000000000000000000"}' \
  prepaid-gas '30 TeraGas' attached-deposit '0 NEAR' \
  sign-as YOUR-ACCOUNT.testnet sign-with-keypair

price_yocto is the per-call price in yoctoNEAR (1000000000000000000000 = 0.001 NEAR).