83trust / 100

Offramp Quote

by x402.asterpay.io in Other

x402 APIPassing, checked 3 h ago

Lock a USDC to EUR settlement quote. Returns a signed quote_id, locked EUR rate, fees and SEPA delivery. The only x402 endpoint that locks a EUR fiat settlement quote.

POST https://x402.asterpay.io/v2/x402/offramp/quote

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
195 ms typical, 195 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.asterpay.io/v2/x402/offramp/quote" \
  -H "content-type: application/json" \
  -d '{"amount":100,"destination_iban":"DE89370400440532013000"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.asterpay.io%2Fv2%2Fx402%2Fofframp%2Fquote
const res = await pay("https://x402.asterpay.io/v2/x402/offramp/quote", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"amount":100,"destination_iban":"DE89370400440532013000"}),
});
console.log(await res.json());

Example input

{
  "amount": 100,
  "destination_iban": "DE89370400440532013000"
}

Example output

{
  "destination_iban": null,
  "eurRate": 0.9202,
  "expires_at": "2026-07-04T05:10:00.000Z",
  "netEurAmount": 91.83,
  "quote_id": "oq_7f3a...c1"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402195 ms$0.005