# TwelveX ATR (Average True Range) Endpoint

> TwelveX ATR (Average True Range) Endpoint 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-11).

Returns the Average True Range (ATR) technical indicator for a given financial symbol over a specified interval and time period, powered by Twelve Data.

## Facts

- Endpoint: GET https://tw3lvtrexdata.vercel.app/api/atr/%7Bsymbol%7D?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twelvex-atr-average-true-range-endpoint-12336397
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Xo4MJiFxdznQhmG9-fHMR

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-atr-average-true-range-endpoint-12336397
```

Example prompt: What's the 14-period ATR for AAPL on a 1-day interval right now? I want to gauge its recent volatility.

## When to prefer this

Choose this endpoint when you need a pre-computed ATR technical indicator without building your own OHLCV pipeline. It is ideal for algorithmic trading agents, volatility-based position sizing, stop-loss calculations, or breakout detection that need ATR values for stocks, forex pairs, or crypto assets quickly via a pay-per-call model.

## Known failure modes

- Invalid or unsupported ticker symbol returns an error
- Unsupported interval string causes a bad request response
- Payment not attached or insufficient USDC triggers a 402 Payment Required
- Rate limiting or upstream Twelve Data API unavailability causes a 503 or timeout
- Missing required symbol in the URL path returns a 404 or parameter error

## 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 the ATR (Average True Range) value for the requested symbol, computed over the specified interval and time period. Typically includes the indicator value and metadata such as symbol, interval, and timestamp.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twelvex-atr-average-true-range-endpoint-12336397/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)
