AgentFriendly

Get Exponential Moving Average for trend analysis

Changed on

Returns EMA indicator data optimized for AI trading signals, more responsive than SMA and sampled to 200 points for efficient trend detection. Preferred EMA tool — the /ta/{slug}/ema and /ta/{slug}/ema/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}/ema

Request

Path parameters

slugstring required

Asset slug (e.g., bitcoin)

Query parameters

periodinteger

EMA period

fetchInterval'm1' | 'm5' | 'm15' | 'm30' | 'h1' | 'h2' | 'h6' | 'h12' | 'd1'

Timeframe for price bars

Response

EMA data culled to 200 points

object required

Changes

    • warning

      for the query request parameter period, the min was set to 1.00

    • info

      the endpoint scheme security apiKey was added to the API

    • info

      the endpoint scheme security x402 was added to the API

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      endpoint added