Technical Analysis
Full EMA series
Changed onLEGACY — prefer /agentFriendly/ta/{slug}/ema (agent-optimized output) or /ta/{slug}/allLatest for all indicators at once. Use this legacy endpoint only when you need a custom start/end range or non-default periods — the agentFriendly variant computes a fixed recent window.
get/ta/{slug}/ema
Request
- Base URLhttps://rest.coincap.io/v3
- Auth
- HTTP bearer
- or API key in query parameter apiKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
slugstring required
Asset slug (e.g. bitcoin)
Query parameters
startinteger
Start timestamp in ms
endinteger
End timestamp in ms
periodinteger
EMA period (default: 5)
fetchInterval'm1' | 'm5' | 'm15' | 'm30' | 'h1' | 'h2' | 'h6' | 'h12' | 'd1'
Timeframe for price bars
includeOriginalstring
Include original price data
Response
Full EMA series
Changes
- warning
for the
queryrequest parameterperiod, the min was set to1.00 - info
the endpoint scheme security
apiKeywas added to the API - info
the endpoint scheme security
bearerAuthwas added to the API
- warning