# WickedAPI ATR (Average True Range) Endpoint

> WickedAPI ATR (Average True Range) Endpoint is a paid API for AI agents from api.wickedapi.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Returns the Average True Range (ATR) technical indicator for a given trading symbol, measuring market volatility.

## Facts

- Endpoint: GET https://api.wickedapi.com/v1/atr?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wickedapi-atr-average-true-range-endpoint-29d07bd9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gjWpLddGmk2HznPKH07OE

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 wickedapi-atr-average-true-range-endpoint-29d07bd9
```

Example prompt: Can you pull the Average True Range (ATR) for BTC/USD right now so I can figure out where to set my stop-loss?

## When to prefer this

Choose this endpoint when you need a programmatic, per-call ATR computation for any supported trading symbol without maintaining a long-term subscription. It is ideal for AI agents executing trading logic, position sizing, or stop-loss placement that require on-demand volatility data paid via USDC microtransactions (x402 protocol). Prefer it over full-service financial data platforms when cost-per-call efficiency and agent-native payment matter.

## Known failure modes

- Missing or invalid symbol returns an error or empty data object
- Unsupported ticker or asset class may yield no results
- Payment failure (insufficient USDC balance) blocks the request with a 402 response
- Rate limiting or malformed query parameters returns a 4xx error
- Stale or unavailable market data may result in outdated ATR values

## How this service works

Agent-ready trading & market-data API: prices, indicators, prediction markets, macro, and an AI momentum score. Pay per call with x402 (USDC) or an API key.

## Output

Returns a JSON object containing the computed ATR value for the requested symbol, along with metadata such as a timestamp. The data field contains the ATR metric reflecting recent price volatility over the specified period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "meta": {
   "timestamp": "2026-01-01T00:00:00.000Z"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wickedapi-atr-average-true-range-endpoint-29d07bd9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.wickedapi.com](https://www.zero.xyz/host/api.wickedapi.com/llms.txt)
