# X-RAY Get Narrative

> X-RAY Get Narrative is a paid API for AI agents from mcp.x-ray.me, paid per call via x402, $0.005/call, status unknown (last checked 2026-12-02).

Fetches a full narrative profile including definition, metrics, time-series data, member projects, and news for a specified crypto/Web3 narrative slug

## Facts

- Endpoint: GET https://mcp.x-ray.me/x402/get_narrative?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x-ray-get-narrative-5283cbd0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o-oarOq1GDGLnSTPYHcQa

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 x-ray-get-narrative-5283cbd0
```

Example prompt: Pull up the full X-RAY narrative profile for 'memecoins' — I want the overview with metrics and news for the last 30 days.

## When to prefer this

Use this endpoint when you need comprehensive, structured data about a specific crypto/Web3 narrative — including its definition, performance metrics, time-series trends, constituent projects, and related news — all in a single call. Prefer it over generic search or news APIs when the user is working within the X-RAY ecosystem's narrative taxonomy and needs curated, structured narrative intelligence rather than raw search results.

## Known failure modes

- Invalid or unknown slug returns empty or error response
- Missing required 'slug' query parameter causes request failure
- Invalid 'tab' value (not overview/members/news) may return unexpected results
- Invalid 'range' value (not 7, 30, or 90) may default or error
- Cursor out of bounds returns empty members page
- Network or upstream data latency causing slow/no response
- Payment failure (x402) blocks access if USDC balance is insufficient

## How this service works

X-RAY get_narrative: one narrative: definition, metrics, series, members and news

## Output

Returns a structured object containing the narrative's definition (what it is), quantitative metrics (e.g. market cap, volume, momentum), time-series data for the selected range, a paginated list of member projects/actors, and recent news items — all scoped to the requested tab and time range.

## 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",
     "required": [
      "slug"
     ],
     "properties": {
      "tab": {
       "type": "string",
       "description": "overview | members | news"
      },
      "slug": {
       "type": "string",
       "description": "narrative slug, e.g. memecoins"
      },
      "range": {
       "type": "integer",
       "description": "7, 30 or 90"
      },
      "cursor": {
       "type": "integer",
       "description": "members page offset"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "narrative": {
   "name": "Memecoins",
   "slug": "memecoins"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-ray-get-narrative-5283cbd0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp.x-ray.me](https://www.zero.xyz/host/mcp.x-ray.me/llms.txt)
