# CoinCap MACD Technical Analysis

> CoinCap MACD Technical Analysis is a paid API for AI agents from rest.coincap.io, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Returns the Moving Average Convergence Divergence (MACD) technical indicator for a specified crypto asset slug.

## Facts

- Endpoint: GET https://rest.coincap.io/v3/agentFriendly/ta/bitcoin/macd
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coincap-macd-technical-analysis-c158c121
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MID061K69d4zyo6c5bSGf

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 coincap-macd-technical-analysis-c158c121
```

Example prompt: Can you pull the MACD technical indicator for Bitcoin from CoinCap so I can see if there's a bullish or bearish momentum signal right now?

## When to prefer this

Choose this endpoint when you need MACD momentum/trend data specifically for a cryptocurrency asset and want a ready-computed indicator rather than raw price series. Prefer this over fetching historical price data and computing MACD yourself. Use alongside the EMA endpoint for more comprehensive technical analysis. Best for crypto-specific workflows; not applicable to stocks, forex, or commodities.

## Known failure modes

- Invalid or unknown asset slug returns an error or empty response
- Asset not tracked by CoinCap returns 404 or null data
- Insufficient historical price data for a very new asset may produce incomplete MACD values
- Network timeout or service unavailability returns a 5xx error
- Malformed slug (e.g. using ticker symbol instead of slug) returns no results

## How this service works

Moving average convergence divergence (MACD) for an asset slug.

## Output

Returns MACD technical indicator data for the specified crypto asset, typically including the MACD line value, signal line value, and histogram value representing the difference between them, enabling momentum and trend analysis.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coincap-macd-technical-analysis-c158c121/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rest.coincap.io](https://www.zero.xyz/host/rest.coincap.io/llms.txt)
