---
title: "Get Exponential Moving Average for trend analysis"
method: GET
path: "/agentFriendly/ta/{slug}/ema"
tags: ["AgentFriendly"]
---

# Get Exponential Moving Average for trend analysis

`GET /agentFriendly/ta/{slug}/ema`

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.

## Path parameters

- `slug` string, required

## Query parameters

- `period` integer
- `fetchInterval` 'm1' | 'm5' | 'm15' | 'm30' | 'h1' | 'h2' | 'h6' | 'h12' | 'd1'

## Response `200`

EMA data culled to 200 points

- object

## Other responses

- `402` — Payment Required

---

[API](https://skmtc.dev/coincap/apis/coincap-api.md) · [All operations](https://skmtc.dev/coincap/apis/coincap-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/coincap/coincap-api/revisions/e3d3739c2c03/schema)
