# TwelveX EMA — Exponential Moving Average

> TwelveX EMA — Exponential Moving Average is a paid API for AI agents from tw3lvtrexdata.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-19).

Returns the Exponential Moving Average (EMA) for a given financial symbol over a specified interval and time period, powered by Twelve Data.

## Facts

- Endpoint: GET https://tw3lvtrexdata.vercel.app/api/ema/%7Bsymbol%7D?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twelvex-ema-exponential-moving-average-decff33e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GLq77Uh8GKnHH4BKZQfs8

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 twelvex-ema-exponential-moving-average-decff33e
```

Example prompt: Can you pull the 20-period EMA for AAPL on a daily interval so I can check the current trend?

## When to prefer this

Choose this endpoint when you need EMA specifically (as opposed to SMA or other moving averages) for stocks, forex, or crypto, and you want it served via a pay-per-call x402 micropayment model rather than a subscription API key. Ideal for agents doing on-demand technical analysis without a long-term Twelve Data subscription.

## Known failure modes

- Invalid or unsupported symbol returns an error response
- Unsupported interval value (e.g. non-standard timeframe) results in a bad request error
- Missing required symbol path parameter causes a 404 or malformed request
- Upstream Twelve Data API downtime propagates as a service error
- Payment failure (insufficient USDC balance) blocks access before the request is processed

## How this service works

Premium financial data API — 25 endpoints for stocks, forex, crypto, and technical analysis. Powered by Twelve Data.

## Output

Returns a time-series of EMA values for the requested symbol, computed over the specified interval and time period. Each data point includes a timestamp and the corresponding EMA value, enabling trend identification and momentum analysis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "interval": {
   "type": "string"
  },
  "time_period": {
   "type": "string",
   "description": "Default: 20"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twelvex-ema-exponential-moving-average-decff33e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tw3lvtrexdata.vercel.app](https://www.zero.xyz/host/tw3lvtrexdata.vercel.app/llms.txt)
