Swap

Get a provider-neutral market estimate

Discovery intelligence for browsing, previews, polling, and walletless exploration. Returns an explicitly labelled market_estimate (reference price, approximate output, server fee tier, route compatibility, freshness) WITHOUT calling 0x, LI.FI, or Relay trading APIs. Never executable, never attributed, never liquidity-confirmed. For execution, POST /v1/agent/quote-intent.

get/v1/agent/market-estimate

Request

  • Base URL: https://www.farmdash.one/api
  • URL: https://www.farmdash.one/api/v1/agent/market-estimate
  • Auth: none declared

Query parameters

fromChainId1 | 10 | 137 | 8453 | 42161 | 59144 required

Source chain: 1=Ethereum, 10=Optimism, 137=Polygon, 8453=Base, 42161=Arbitrum, 59144=Linea

toChainId1 | 10 | 137 | 8453 | 42161 | 59144 required

Destination chain ID

fromTokenstring required

Source token contract address

toTokenstring required

Destination token contract address

fromAmountstring required

Amount in wei (no leading zeros)

Headers

X-ClawHub-Skillstring
Example:farmdash-signal-architect

ClawHub skill attribution. An installed FarmDash skill sends its canonical skill slug (e.g. farmdash-signal-architect) on every FarmDash API request so anonymous Scout usage can be attributed to the skill that drove it. Optional and analytics-only: absence never blocks a request, and malformed values are ignored. This is a skill identity, never a wallet address, API key, or user ID.

Response

Market estimate

quoteKind'market_estimate' required
executionReadyfalse required
liquidityConfirmedfalse required
providerAttributionstring nullable
referencePriceUsdnumber nullable
estimatedInputUsdnumber nullable
estimatedOutputUsdnumber nullable
priceUnknownboolean required
feeTierBpsinteger required
volumeUnknownboolean required
compatibleProvidersstring[] required
routeSupportedboolean required
liquidityUsdnumber nullable
volume24hUsdnumber nullable
sourcesstring[] required
confidence'high' | 'medium' | 'low' required
observedAtstring required
cachedboolean required
staleboolean required
attemptsobject[]
warningsstring[]
unsignedtrue required
broadcast_by_farmdashfalse required
simulation_requiredboolean
simulate_urlstring
notestring required

Changes

No recorded changes to this operation across all 1 revision of this API.