# TwelveX EMA (Exponential Moving Average) Endpoint

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

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

## Facts

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

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-endpoint-b3888cc3
```

Example prompt: Can you get the EMA for AAPL using a 1-day interval with a 20-period time window so I can check its trend?

## When to prefer this

Use this endpoint when you need EMA technical indicator data for stocks, forex pairs, or cryptocurrencies and are comfortable with per-call micropayment pricing via x402. Prefer this over broader market data APIs when specifically needing EMA values for algorithmic trading signals, backtesting, or trend analysis. Ideal for AI agents making automated, pay-per-use financial data calls.

## Known failure modes

- Invalid or unsupported symbol returns an error response
- Unsupported interval string causes a bad request error
- Payment not completed (402) blocks access to the endpoint
- Missing required symbol path parameter results in a routing error
- Twelve Data upstream outage may cause delayed or empty responses

## How this service works

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

## Output

Returns a JSON object containing EMA values for the requested symbol, calculated over the specified interval and time period, sourced from Twelve Data's financial data feed.

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