Trade perpetuals on Aster DEX via an AI agent with x402 micropayments on Base.
What it does
This x402-enabled endpoint provides access to a Questflow-hosted AI agent specialized in trading perpetuals on Aster, a decentralized exchange offering low fees, deep liquidity, multichain support, and high leverage. The agent accepts natural-language instructions via a simple POST request with an `input` field and returns a text response. Payment is handled through the x402 protocol on the Base network using USDC (max 0.10 USDC per request, asset contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913).
Questflow is a platform that lets users create autonomous AI "Clones" that aggregate onchain markets (Polymarket, Pump.fun, OKX, etc.) and execute trades. This particular agent is focused on Aster DEX perpetual trading, supporting both Simple and Pro modes. The endpoint is non-custodial according to its description. The agent has a maximum timeout of 1200 seconds per request, suggesting it may perform on-chain operations or complex reasoning before responding.
Documentation is minimal — there is no OpenAPI spec, no dedicated docs page, and no detailed API reference beyond the x402 challenge metadata. The input/output schema is straightforward: send a JSON body with an `input` string and receive a `response` string. Pricing is denominated in USDC on Base with a maximum of 0.10 USDC per call.
Capabilities
Use cases
- —Sending natural-language trade instructions for perpetual positions on Aster DEX
- —Querying market conditions or position status on Aster through an AI agent
- —Automating perpetual trading strategies via agent-to-agent x402 calls
- —Integrating Aster DEX perpetual trading into multi-agent workflows
Fit
Best for
- —Agents or developers wanting conversational access to Aster DEX perpetuals
- —x402-native workflows that need on-chain perps trading without managing keys directly
- —Prototyping automated DeFi trading strategies via natural language
Not for
- —High-frequency trading requiring sub-second latency (max timeout is 1200s)
- —Users needing detailed API documentation or deterministic structured responses
- —Non-crypto or non-trading use cases
Quick start
curl -X POST https://api.questflow.ai/x402/agent/qrn:agent:68fb94c078e4559a6fb2b674 \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402_payment_header>" \
-d '{"input": "Open a 5x long ETH perpetual position on Aster"}'Example
Request
{
"input": "Open a 5x long ETH perpetual position on Aster with $100 margin"
}Response
{
"response": "I've submitted a 5x long ETH perpetual position on Aster DEX with $100 margin. The order is pending confirmation on-chain."
}Endpoint
Quality
No OpenAPI spec, no dedicated documentation, no examples beyond the x402 challenge metadata. The input/output schema is minimal (single string in, single string out). The example response is entirely inferred. Pricing is clear from the x402 challenge but little else is documented.
Warnings
- —No OpenAPI specification or API documentation available
- —Output schema is a single unstructured string — responses are unpredictable
- —Example response is inferred, not sourced from actual API output
- —Agent may perform real on-chain trades — use with caution and understand financial risk
- —Regulated activity (derivatives trading) — verify legal compliance in your jurisdiction
- —Max timeout of 1200 seconds suggests potentially long-running operations
Citations
- —Payment is USDC on Base network with max amount 100000 (0.10 USDC at 6 decimals)https://api.questflow.ai/x402/agent/qrn:agent:68fb94c078e4559a6fb2b674
- —Description states: Trade perpetuals on Aster with low fees, deep liquidity, multichain support, high leverage. Simple or Pro mode. Secure and non-custodial.https://api.questflow.ai/x402/agent/qrn:agent:68fb94c078e4559a6fb2b674
- —Questflow is a platform for creating autonomous AI Clones that aggregate onchain marketshttps://api.questflow.ai
- —payTo address is 0x360C17beE775eD2A7573fEBa68caFDE833B95b2B and maxTimeoutSeconds is 1200https://api.questflow.ai/x402/agent/qrn:agent:68fb94c078e4559a6fb2b674