Constant product swap output, execution price, price impact, minimum received an
Constant product swap output, execution price, price impact, minimum received and the trade size that moves the price 1% or 5%, from pool reserves.
Not tested: has real-world effectsour last check, 2026-10-20
0 of 0checks answered this week
n/amedian answer time
$0.01listed 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
GET https://saylorinnovations.com/api/defi/price-impact
| Category | Code and developer |
|---|---|
| Provider host | saylorinnovations.com |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 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",
"queryParams": {
"amount_in": "50",
"fee_percent": "0.3",
"reserve_in": "2000",
"reserve_out": "7000000"
},
"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"
},
"queryParams": {
"properties": {
"amount_in": {
"description": "amount you sell",
"type": "string"
},
"fee_percent": {
"description": "optional pool fee, default 0.3",
"type": "string"
},
"reserve_in": {
"description": "pool reserve of the token you sell",
"type": "string"
},
"reserve_out": {
"description": "pool reserve of the token you buy",
"type": "string"
}
},
"required": [
"reserve_in",
"reserve_out",
"amount_in"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"amount_in": {
"description": "Amount sold",
"type": "number"
},
"amount_out": {
"description": "Amount received after fee and price impact",
"type": "number"
},
"execution_price": {
"description": "Average price actually received",
"type": "number"
},
"fee_paid_in_input": {
"description": "Pool fee taken from the input",
"type": "number"
},
"minimum_received": {
"description": "Output after applying the slippage tolerance",
"type": "number"
},
"note": {
"description": "Plain-language caveat about how to read and use the result",
"type": "string"
},
"price_after_trade": {
"description": "Pool price after the trade",
"type": "number"
},
"price_impact_percent": {
"description": "Price movement caused by the trade, excluding the fee",
"type": "number"
},
"size_vs_reserve_percent": {
"description": "Trade size as a percent of the input reserve",
"type": "number"
},
"slippage_tolerance_percent": {
"description": "Tolerance used for the minimum received",
"type": [
"number",
"null"
]
},
"source": {
"description": "Where the data or formula comes from",
"type": "string"
},
"spot_price": {
"description": "Pool price before the trade (output per input)",
"type": "number"
},
"total_cost_percent": {
"description": "Shortfall versus spot including price impact and fee",
"type": "number"
},
"trade_size_for_1_percent_impact": {
"description": "Input amount that moves the price about 1%",
"type": "number"
},
"trade_size_for_5_percent_impact": {
"description": "Input amount that moves the price about 5%",
"type": "number"
}
},
"required": [
"amount_out",
"price_impact_percent"
],
"type": "object"
},
"type": {
"const": "json",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}