Check whether an approved Base token swap is eligible before supplying a wallet
Check whether an approved Base token swap is eligible before supplying a wallet. Returns verified token contracts, indicative output, liquidity sources, fee estimate, warnings, and the exact next action. No custody, signing, or execution.
Not tested: has real-world effectsour last check, 2026-09-24
0 of 0checks answered this week
n/amedian answer time
$0.001listed price per call
n/aprice it asked us
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
POST https://api.usesaferoute.com/v1/swap-safety-check
| Category | Code and developer |
|---|---|
| Provider host | api.usesaferoute.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 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)
{
"body": {
"amount": "25",
"from": "USDC",
"intentId": "intent_unique_1234567890",
"sourceAgentId": "buyer-agent-id",
"to": "WETH"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"amount": {
"description": "Human-readable sell amount, capped at $500 USDC equivalent",
"pattern": "^\\d+(?:\\.\\d+)?$",
"type": "string"
},
"from": {
"description": "Approved Base sell-token symbol",
"enum": [
"USDC",
"WETH",
"EURC",
"CBETH",
"CBBTC",
"VIRTUAL",
"AERO"
],
"type": "string"
},
"intentId": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"referralCode": {
"maxLength": 64,
"minLength": 3,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"sourceAgentId": {
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"to": {
"description": "Approved Base buy-token symbol; must differ from from",
"enum": [
"USDC",
"WETH",
"EURC",
"CBETH",
"CBBTC",
"VIRTUAL",
"AERO"
],
"type": "string"
}
},
"required": [
"from",
"to",
"amount"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"allowance": {
"properties": {
"status": {
"const": "wallet_required_for_check",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
},
"amount": {
"properties": {
"human": {
"type": "string"
},
"raw": {
"pattern": "^\\d+$",
"type": "string"
},
"usdcEquivalentRaw": {
"pattern": "^\\d+$",
"type": "string"
}
},
"required": [
"human",
"raw",
"usdcEquivalentRaw"
],
"type": "object"
},
"attribution": {
"additionalProperties": false,
"properties": {
"intentId": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"referralCode": {
"maxLength": 64,
"minLength": 3,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"sourceAgentId": {
"maxLength": 128,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"chainId": {
"const": 8453,
"type": "integer"
},
"checkId": {
"format": "uuid",
"type": "string"
},
"createdAt": {
"format": "date-time",
"type": "string"
},
"estimatedOutput": {
"properties": {
"minimumRaw": {
"pattern": "^\\d+$",
"type": "string"
},
"raw": {
"pattern": "^\\d+$",
"type": "string"
}
},
"required": [
"raw"
],
"type": "object"
},
"expectedSafeRouteFee": {
"properties": {
"amountRaw": {
"pattern": "^\\d+$",
"type": "string"
},
"bps": {
"const": 10,
"type": "integer"
},
"indicative": {
"const": true,
"type": "boolean"
},
"token": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
}
},
"required": [
"bps",
"amountRaw",
"token",
"indicative"
],
"type": "object"
},
"expiresAt": {
"format": "date-time",
"type": "string"
},
"liquidity": {
"properties": {
"available": {
"const": true,
"type": "boolean"
},
"sources": {
"items": {
"type": "string"
},
"type": "array"
}