API and integration access is included with Pro, trial and the existing paid-grace entitlement. There is no per-command usage charge or trading-volume allowance. Resource admission, exchange limits and credential restrictions still apply.
First integration
- Create a restricted key in Settings → Integrations. Start with an approved demo exchange link and the smallest necessary permissions.
- Read discovery to obtain actions and admission limits.
- Read linked accounts, then that exact link’s instrument catalog.
- Construct a canonical position request using catalog precision, lot limits and supported account settings.
- Persist a command’s immutable identity and payload locally before submitting it.
- Inspect its receipt and the actual position. A
202receipt means durable acceptance, not a fill. - Use current state and a revision for modification; use the existing termination command for cancellation or closure.
Three identities
A display pair such as BTC/USDT is insufficient execution authority. Different spot, perpetual and inverse markets can share similar display names. Adding another supported exchange does not change the public command shape.
Request conventions
- Use HTTPS, UTF-8 JSON and the exact documented HTTP method.
- JSON object field names are case-sensitive. Integration envelopes reject unknown, repeated and incorrectly cased keys, null alternatives and trailing JSON.
- Use each allowed query parameter once; URL-encode opaque values and omit absent options.
- Money uses decimal coefficient strings plus scales. Do not send floating-point numbers for atomic fields.
- Times are UTC Unix seconds unless a field explicitly uses milliseconds. Ordinary TradingView
fired_atis the documented UTC timestamp string exception. - Positive link identifiers fit JavaScript’s safe integer range. Do not coerce other 64-bit identifiers or revisions through an imprecise floating-point conversion.
- Bodies are bounded. See errors and limits.