# NEAR Intents Swap Quote

> NEAR Intents Swap Quote is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Returns an indicative cross-chain swap quote for NEAR Intents-supported assets (NEAR, USDC, USDT, BTC, SOL, etc.) including amount out, USD values, rate, fees, price impact, and expected time — without reserving or executing anything.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/near-swap-quote?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/near-intents-swap-quote-2d7cf877
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DIUWxQP3DhwHQFbP69UWm

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 near-intents-swap-quote-2d7cf877
```

Example prompt: What's the current swap quote on NEAR Intents if I trade 50 USDC@base for NEAR — how much will I get, what are the fees, and how long will it take?

## When to prefer this

Use this endpoint when you need a real-time indicative swap quote for NEAR Intents-supported assets across multiple chains (NEAR, Base, Solana, Bitcoin, etc.) before deciding whether to execute. Prefer this over generic DEX aggregator quotes when your workflow is NEAR-ecosystem-centric or requires cross-chain NEAR Intents routing. Ideal for pre-trade checks, cost estimation, and arbitrage scanning without any commitment.

## Known failure modes

- Unsupported asset symbol returns an error — asset must be a valid NEAR Intents / 1Click symbol, NEAR token account, or qualified chain symbol like USDC@base
- Amount of zero or negative value may return an error or nonsensical quote
- Temporary liquidity unavailability may result in no route found
- Network or provider downtime may cause timeout or 5xx errors
- Malformed asset identifiers (e.g. wrong chain suffix) cause parameter validation errors

## How this service works

An indicative quote for swapping any asset NEAR Intents routes — NEAR, USDC, USDT, BTC, SOL and more, across chains. Name assets as a symbol (USDC = on NEAR, USDC@base for another chain), a NEAR token account, or a 1Click asset id. Returns amount out, minimum out, USD in and out, the rate, the cost in percent lost to fees and price impact, and the expected time. Nothing is reserved or paid.

## Output

Returns the estimated output amount, minimum guaranteed output, USD value of input and output, the exchange rate, total cost as a percentage (fees + price impact), and the expected completion time for the swap. No funds are moved or reserved.

## 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": [
      "from",
      "to",
      "amount"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Asset you want"
      },
      "from": {
       "type": "string",
       "description": "Asset you pay with"
      },
      "amount": {
       "type": "string",
       "description": "Amount of the paying asset"
      }
     }
    }
   },
   "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/near-intents-swap-quote-2d7cf877/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)
