# TwelveX MACD Technical Indicator API

> TwelveX MACD Technical Indicator API 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-11).

Returns MACD (Moving Average Convergence Divergence) technical indicator values for a given financial symbol and interval, powered by Twelve Data.

## Facts

- Endpoint: GET https://twelv1x402.vercel.app/api/macd/%7Bsymbol%7D
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twelvex-macd-technical-indicator-api-74fe8638
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mnsRTpt0Qc0L0xflHQSa9

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-macd-technical-indicator-api-74fe8638
```

Example prompt: What's the MACD for AAPL on a 1-day interval right now — I want to see if there's a bullish crossover forming?

## When to prefer this

Use this endpoint when you need MACD technical indicator data for stocks, forex pairs, or crypto assets and want a pay-per-call model ($0.1 USDC) without a subscription. Prefer it over building your own MACD calculation or subscribing to full Twelve Data plans when usage is infrequent or agent-driven.

## Known failure modes

- Invalid symbol returns an error or empty data
- Unsupported interval value causes a bad request response
- Symbol not available on Twelve Data (e.g. obscure tickers) returns no data
- Payment not fulfilled (402) blocks access
- Rate limiting or API key exhaustion from Twelve Data upstream causes failure

## How this service works

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

## Output

Returns MACD technical indicator data including the MACD line, signal line, and histogram values for the specified symbol and time interval, sourced from Twelve Data's financial market feeds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "interval": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twelvex-macd-technical-indicator-api-74fe8638/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)
