# Fiat Onramp Quote

> Fiat Onramp Quote is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Prices a fiat-to-crypto purchase across all available payment methods for a given country and ranks them by net amount received, with live Coinbase pricing.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/onramp-quote
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fiat-onramp-quote-e6628df7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hmis07w0JEJc7tRMCBy4H

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability fiat-onramp-quote-e6628df7
```

Example prompt: I want to buy $200 worth of USDC in the US — can you show me what every available payment method (card, bank transfer, etc.) would cost me and which one gives me the most USDC, using live Coinbase prices?

## When to prefer this

Use this endpoint when an agent or user needs to compare real, live fiat-to-crypto onramp costs across multiple payment methods before committing to a purchase. Prefer it over static rate cards or single-method quotes when the goal is to minimize fees or maximize net crypto received. Especially useful when building onramp flows that need to present payment method options to end users, or when generating a direct Coinbase checkout link for a specific wallet address.

## Known failure modes

- Missing required 'country' or 'amount' parameter returns a validation error
- Unsupported country code may return empty payment method list or error
- Very small or very large amounts may fall outside min/max limits for all rails
- Invalid asset or network identifier returns an error
- Payment processing at $0.03 USDC per call — insufficient balance causes 402 payment failure

## How this service works

🆕 Prices the same fiat purchase across EVERY payment method a country allows, and ranks them by what the buyer actually receives. On $100 in the US the spread is real: card takes 2.44, bank transfer 0.50, a funded fiat wallet nothing. Returns each rail's fee, net amount, min/max limits, and the cheapest one. Live Coinbase pricing, not a rate card. Pass address= for a payable checkout link. Not financial advice.

## Output

Returns a list of all available payment rails (card, bank transfer, fiat wallet, etc.) for the specified country, each with its fee, net crypto amount the buyer receives, and min/max purchase limits — sorted by best value. Identifies the cheapest option. If a wallet address is provided, also returns a payable checkout link.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "country",
      "amount"
     ],
     "properties": {
      "asset": {
       "type": "string",
       "description": "Asset to buy (optional, default USDC)"
      },
      "amount": {
       "type": "string",
       "description": "Fiat amount"
      },
      "address": {
       "type": "string",
       "description": "Destination wallet (optional — needed for a checkout link)"
      },
      "country": {
       "type": "string",
       "description": "ISO country code"
      },
      "network": {
       "type": "string",
       "description": "Network (optional, default base)"
      },
      "currency": {
       "type": "string",
       "description": "Fiat currency (optional, default USD)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fiat-onramp-quote-e6628df7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
