# X-RAY get_company_metrics

> X-RAY get_company_metrics 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).

Returns a daily time-series of one or more metrics for a specific crypto/Web3 company (actor) over a configurable lookback window

## Facts

- Endpoint: GET https://mcp.x-ray.me/x402/get_company_metrics?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-company-metrics-ab79d23a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PbyOI2vU1oWnJDmzwDHYp

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-company-metrics-ab79d23a
```

Example prompt: Pull the last 30 days of daily metrics for Uniswap from X-RAY — I want to see TVL and volume trends, use the slug 'uniswap'.

## When to prefer this

Use this endpoint when you need a longitudinal, day-by-day view of a single company's metrics — as opposed to get_scope_metrics (for market/chain/sector aggregates) or compare (for side-by-side multi-actor snapshots). Best when tracking one actor's performance trend over time or building time-series charts for a specific project.

## Known failure modes

- Unknown actor: if neither a valid 'id' UUID nor a recognized 'slug' is provided, the endpoint may return an empty result or error
- Invalid metric names: unrecognized comma-separated metric identifiers may be silently ignored or return empty series
- Lookback too large: very long day ranges may result in slower responses or truncated data
- Payment failure: x402 micropayment not completed results in 402 response with no data
- No data available: some metrics may not have historical data for the full requested window

## How this service works

X-RAY get_company_metrics: daily metric series of one actor

## Output

A daily time-series dataset for the specified company (actor), containing one or more requested metric values per day over the lookback window. Each record includes a date and the corresponding metric readings, enabling trend analysis and historical performance review.

## 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": [],
     "properties": {
      "id": {
       "type": "string",
       "description": "actor UUID"
      },
      "days": {
       "type": "integer",
       "description": "lookback, default 30"
      },
      "slug": {
       "type": "string",
       "description": "actor slug"
      },
      "metrics": {
       "type": "string",
       "description": "comma-separated metric names"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "days": 30,
  "series": {},
  "company": {
   "name": "Jupiter",
   "slug": "jupiter"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-ray-get-company-metrics-ab79d23a/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)
