SignalHarness DeFi Constant Product AMM Quote is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).
Computes a constant-product AMM (x*y=k) price quote given caller-supplied swap parameters, returning the expected output amount and any warnings.
Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.
Returns a JSON object containing the computed AMM quote (expected output token amount), a list of warnings (e.g. high slippage, insufficient liquidity), the service ID, a receipt with payment details, network info (Base/eip155:8453), execution timing metadata, and a SHA-256 result hash for verification.
POSThttps://signalharness.ai/api/agent/services/defi_constant_product_quote/invokeChoose this endpoint when you need a fast, deterministic constant-product (x*y=k) AMM price quote computation without executing an on-chain transaction. It is ideal for pre-trade simulation, slippage estimation, and arbitrage analysis on any token pair where you supply the pool reserves. Prefer it over on-chain RPC calls when you want a hosted, auditable computation with a verifiable receipt on Base.
| Field | Type | Description |
|---|---|---|
| amm_quote_request | string |
{
"type": "json",
"example": {
"replay": false,
"result": {
"warnings": [
"Quote ignores routing, MEV, state changes, and token transfer fees."
],
"amm_quote": "{\"amount_out\":\"19.743160687941225977\",\"effective_amount_in\":\"9.97\",\"execution_price\":\"1.974316068794122597\",\"invariant_model\":\"constant_product\",\"price_impact_percent\":\"1.284196560293\",\"spot_price\":\"2\"}",
"service_id": "defi_constant_product_quote",
"evidence_scope": "caller_supplied_data"
},
"status": "succeeded",
"receipt": {
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"usage": [],
"status": "succeeded",
"network": "eip155:8453",
"artifacts": [],
"endedAtMs": 0,
"latencyMs": 0,
"paymentId": "example-payment",
"receiptId": "example-receipt",
"requestId": "example-request",
"serviceId": "defi_constant_product_quote",
"executionId": "example-execution",
"startedAtMs": 0,
"amountAtomic": "10000",
"resultSha256": "d1a78a0d4930acab76da52d0b9e24363dfa1c252833e800052a18ee8c9d2abfb",
"serviceVersion": "1.0.0",
"settlementReference": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"artifacts": [],
"requestId": "example-request",
"executionId": "example-execution"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"