# TwelveX EMA (Exponential Moving Average) Financial Data

> TwelveX EMA (Exponential Moving Average) Financial Data is a paid API for AI agents from twelv1x402.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-13).

Returns the Exponential Moving Average (EMA) technical indicator for a given financial symbol (stock, forex, or crypto) at a specified interval and time period, powered by Twelve Data.

## Facts

- Endpoint: GET https://twelv1x402.vercel.app/api/ema/%7Bsymbol%7D
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twelvex-ema-exponential-moving-average-financial-data-5fc20ba9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gYvG9cvBwa4GeQmrJWaXR

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-financial-data-5fc20ba9
```

Example prompt: Can you get the Exponential Moving Average for AAPL using a daily interval with a 20-period time period from TwelveX?

## When to prefer this

Use this endpoint when you need EMA technical indicator data for stocks, forex, or crypto and want pay-per-call pricing via x402 without a subscription. Prefer this over raw price endpoints when you specifically need a smoothed moving average for trend detection, crossover strategies, or momentum analysis. Best for agents building automated trading signals or performing technical analysis on demand.

## Known failure modes

- Invalid or unsupported ticker symbol returns an error
- Unsupported interval string returns a validation error
- Payment of 0.1 USDC not completed results in 402 Payment Required
- Rate limiting or quota exceeded on Twelve Data backend
- Symbol not available for the requested market (e.g. delisted stock)
- Missing required symbol path parameter returns 400 or 404

## How this service works

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

## Output

Returns an object containing EMA values for the requested symbol, including a time series of EMA data points at the specified interval, computed over the given time period (default 20). Typically includes timestamp and EMA value pairs suitable for charting or algorithmic trading signal generation.

## 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-financial-data-5fc20ba9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twelv1x402.vercel.app](https://www.zero.xyz/host/twelv1x402.vercel.app/llms.txt)
