Skip to content
Fourohtwo

Can this payer settle this x402 payment requirement right now?

api.criptonlabs.com/v1/pro/solana/x402/preflight

Can this payer settle this x402 payment requirement right now?

SolanaAnswering
GEThttps://api.criptonlabs.com/v1/pro/solana/x402/preflight

Uptime100% of 4 checks in 30 days

30 days agoToday

Call it from an agent

curl -i "https://api.criptonlabs.com/v1/pro/solana/x402/preflight?asset=2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo&payer=6vk7icY2FzdMTzMGE4aNRSzovanAmS7xsv9uHwj4YuzY&amount=1000000&pay_to=29d2S7vB453rNYFdR5Ycwt7y9haRT5fwVwL9zTmBhfV2"

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "asset": "2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo",
  "payer": "6vk7icY2FzdMTzMGE4aNRSzovanAmS7xsv9uHwj4YuzY",
  "amount": "1000000",
  "pay_to": "29d2S7vB453rNYFdR5Ycwt7y9haRT5fwVwL9zTmBhfV2"
}

More from Criptonlabs Agent APIsProvider status