api.zendiq.ai
Solana swap execution for AI agents. Returns an UNSIGNED swap transaction on the best venue after fees, Jito tip and expected sandwich loss, with the plan, a simulation and the net-benefit arithmetic to verify before signing, plus the same Safe / Protect / Refuse verdict as /analyse. Needs taker: the mainnet wallet that signs and funds the trade. Never signs or holds keys. Full contract: GET /v1/agent. Terms: https://zendiq.ai/agents/terms/
Offering
- Provider
- api.zendiq.ai
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Blockchain And Crypto
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://api.zendiq.ai/v1/agent/optimize- MIME type
- application/json
- First seen
- 2026-10-16T01:51:51.176Z
- Last seen
- Tags
- None supplied
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.02 USDC
Atomic price: 20000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "20000",
"payTo": "9DJAmTJ2ucuHZRtQo4EuDLwKiFjQjGWYTgkQmMyuGm1E"
}
]Observed health
- Status
- Healthy
- Latest latency
- 123 ms
- Average latency
- 296 ms
- HTTP status
- 204
- Last checked
- Reachability
- 100% over 7 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"type": "string",
"enum": [
"POST"
]
},
"bodyType": {
"type": "string",
"enum": [
"json",
"form-data",
"text"
]
},
"body": {
"type": "object",
"properties": {
"inputMint": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
"description": "Base58 mint of the token being sold."
},
"outputMint": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
"description": "Base58 mint of the token being bought. Must differ from inputMint."
},
"amount": {
"type": "string",
"pattern": "^[0-9]{1,20}$",
"description": "Amount sold, as an integer string in the input mint's atomic units."
},
"slippageBps": {
"type": "integer",
"minimum": 0,
"maximum": 10000,
"description": "Optional. Omit to let the router decide."
},
"taker": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
"description": "Mainnet wallet that signs the trade and holds the input amount; not the wallet paying for the call."
},
"analysisId": {
"type": "string",
"maxLength": 128,
"description": "Optional. analysisId from /analyse or /analyse-token for this outputMint, within 60 s, to skip the token scan."
}
},
"required": [
"inputMint",
"outputMint",
"amount",
"taker"
]
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
},
"required": [
"type"
]
}