External Signal Webhook
cc.external_signalCall cc.external_signal — Public-facing webhook endpoint for TradingView alerts, custom bots, and third-party signal providers. Normalizes and forwards to execution. Purpose: Public-facing webhook endpoint for TradingView alerts, custom bots, and third-party signal providers. Normalizes and forwards to execution. Behavior: DESTRUCTIVE. Normalizes the signal and routes toward trade execution for the authenticated account. Can open/close positions. Auth: X-Api-Key required (and linked exchange credentials for execution actions). Cost: $0.005 USDC per successful call (x402 Base USDC pay-per-use or prepaid X-Api-Key balance). Linked Connect keys are free. This is billing, not a side effect. Rate limit: 60/min (per API key). Tier: standard. Returns: Proxied execution response: signal received, validated, normalized, and forwarded to trade engine. Guidelines: Use for research / signal context. Pair with cc.agent_strategy (paper) before any live order. Do not invent fills from this data alone. Tags: webhook, tradingview, alerts, automation, signals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Parameter `size` (number). Optional. | |
| action | Yes | buy, sell, close Required. | |
| symbol | Yes | Parameter `symbol` (string). Required. | |
| __x_payment | No | Optional x402 payment proof (same value as X-PAYMENT header). Use when retrying after HTTP 402 if your MCP client cannot set custom headers. Not a business parameter. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway HTTP status is 2xx. | |
| data | No | Parsed JSON body from the endpoint (shape varies by slug). | |
| error | No | Error message when ok is false. | |
| status | Yes | Upstream HTTP status from x402-gateway. | |
| billing | No | Optional payment / cost metadata when present. | |
| endpoint | Yes | Catalog slug that was invoked (e.g. funding-rates). |