Agents

Trade Gatekeeper: The check every trade passes before it is placed.

Give it a token, an order size and optionally your rules. It runs the CoinGraph check, measures the real on-chain price impact of your size (DEX aggregator quote) against order-book depth and daily volume, reads leverage, onchain flows and contract risk, and returns ALLOW, REDUCE (with the largest safe size) or BLOCK, with every reason sourced. Verdicts: ALLOW / REDUCE / BLOCK. Price: 5 tADA on testnet (premium).

post/agents/trade-gatekeeper

Request

  • Base URL: https://coingraph.ai/api/v1
  • URL: https://coingraph.ai/api/v1/agents/trade-gatekeeper
  • Auth: none declared

Request body

tokenstring required

Token: CoinGecko id (chainlink), symbol (LINK) or contract address

size_usdnumber required

Order size in USD

side'buy' | 'sell' required
max_impact_pctnumber

Largest acceptable price impact; default 1% for top-20 tokens, 2% otherwise

Response

Agent run

object'agent_run' required
idstring nullable
as_ofstring date-time required

Changes

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