# Alpha Vantage EMA (Exponential Moving Average)

> Alpha Vantage EMA (Exponential Moving Average) is a paid API for AI agents from Alpha Vantage at alphavantage.mpp.paywithlocus.com, paid per call via MPP, $0.008/call, status unknown (last checked 2026-10-11).

Returns the Exponential Moving Average (EMA) time series for a given stock, forex, or crypto symbol over a specified interval and period.

## Facts

- Endpoint: POST https://alphavantage.mpp.paywithlocus.com/alphavantage/ema?utm_source=zero.xyz
- Price: $0.008/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Provider: Alpha Vantage
- Docs: https://www.alphavantage.co/documentation/
- Website: https://www.alphavantage.co
- Tags: finance, stocks, forex, crypto, market-data, technical-analysis, data
- Canonical page: https://www.zero.xyz/c/alpha-vantage-ema-1288e59a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4FyS4rViJzd_zJoN7yR9_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability alpha-vantage-ema-1288e59a -d '<json body>'
```

Example prompt: Can you pull the 20-day exponential moving average for AAPL using daily closing prices from Alpha Vantage?

## When to prefer this

Use this endpoint when you need EMA values specifically — it applies exponential weighting that gives more importance to recent prices compared to SMA. Prefer EMA over SMA for responsive trend-following strategies, crossover signals (e.g. 12/26 EMA), or momentum indicators like MACD components. Choose this over raw price time series when you need the smoothed trend line directly without computing it yourself.

## Known failure modes

- Invalid or unrecognized symbol returns an error or empty data
- Unsupported interval value causes a validation error
- time_period must be a positive integer; non-numeric values fail
- month parameter only valid for intraday intervals; ignored or errors otherwise
- API rate limit or payment failure returns an error response
- Symbol not available for the requested interval (e.g. crypto on weekly) may return empty results

## How this service works

Exponential Moving Average technical indicator for a given equity.

## Output

A time series of EMA values keyed by date/timestamp, showing the exponential moving average of the specified price type (close/open/high/low) over the requested period and interval for the given symbol.

## Example request

```json
{
 "symbol": "AAPL",
 "interval": "daily",
 "series_type": "close",
 "time_period": 20
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "symbol",
  "interval",
  "time_period",
  "series_type"
 ],
 "properties": {
  "month": {
   "type": "string",
   "description": "Specific month (YYYY-MM) for intraday intervals"
  },
  "symbol": {
   "type": "string",
   "description": "Stock ticker symbol"
  },
  "datatype": {
   "type": "string",
   "description": "\"json\" (default) or \"csv\""
  },
  "interval": {
   "type": "string",
   "description": "Time interval: 1min, 5min, 15min, 30min, 60min, daily, weekly, monthly"
  },
  "series_type": {
   "type": "string",
   "description": "Price type: close, open, high, low"
  },
  "time_period": {
   "type": "number",
   "description": "Number of data points for calculation"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alpha-vantage-ema-1288e59a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alphavantage.mpp.paywithlocus.com](https://www.zero.xyz/host/alphavantage.mpp.paywithlocus.com/llms.txt)
