An executable NEAR Intents swap
An executable NEAR Intents swap: a binding quote with a deposit address. Send amountIn of the origin asset there before the deadline; the output goes to recipient, or it is refunded to refundTo. Funds never pass through us. Any asset NEAR Intents routes, across chains. Buying a NEAR token runs near-token-safety first and refuses a STOP token unless force=1. Track with near-swap-status.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://402.com.tr/api/x402/near-swap
| Category | Market data |
|---|---|
| Provider host | 402.com.tr |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"pathParams": {},
"queryParams": {
"amount": "1",
"depositType": "ORIGIN_CHAIN",
"from": "USDC",
"recipient": "intents.near",
"refundTo": "intents.near",
"slippage": "100",
"to": "NEAR"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"pathParams": {
"type": "object"
},
"queryParams": {
"properties": {
"amount": {
"description": "Amount of the paying asset",
"type": "string"
},
"depositType": {
"description": "INTENTS to pay from a NEAR Intents balance (optional)",
"type": "string"
},
"from": {
"description": "Asset you pay with",
"type": "string"
},
"recipient": {
"description": "Receiving address on the destination chain",
"type": "string"
},
"refundTo": {
"description": "Your address on the origin chain (refunds)",
"type": "string"
},
"slippage": {
"description": "Slippage in bps (optional, default 100)",
"type": "string"
},
"to": {
"description": "Asset you want",
"type": "string"
}
},
"required": [
"from",
"to",
"amount",
"recipient",
"refundTo"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}