AgentFriendly
Get Simple Moving Average for technical analysis
Returns SMA indicator data optimized for AI trading analysis, automatically sampled to 200 data points for efficient processing while maintaining trend accuracy. Preferred SMA tool — the /ta/{slug}/sma and /ta/{slug}/sma/latest variants are legacy; use this, or /ta/{slug}/allLatest for all indicators in one call. Subject to the shared TA rate pool; for many assets prefer /agentFriendly/full_assets_by_slug with includeTaData=true.
get/agentFriendly/ta/{slug}/sma
Path parameters
slugstring required
Asset slug (e.g., bitcoin)
Query parameters
windowinteger
SMA window in bars of fetchInterval
fetchInterval'm1' | 'm5' | 'm15' | 'm30' | 'h1' | 'h2' | 'h6' | 'h12' | 'd1'
Timeframe for price bars
Response
SMA data culled to 200 points
Changes
No recorded changes to this endpoint across all 1 revision of this API.