# Optix402 Top Services Endpoint

> Optix402 Top Services Endpoint is a paid API for AI agents from optinx402.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns the top-ranked services in the x402 ecosystem based on real-time marketplace analytics

## Facts

- Endpoint: GET https://optinx402.vercel.app/api/top-services
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/optix402-top-services-endpoint-835656eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CKQmB3AHiyGkVo3_h99u_

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 optix402-top-services-endpoint-835656eb
```

Example prompt: Can you pull up the top services in the x402 marketplace right now using Optix402 — I want to see which APIs are leading the ecosystem?

## When to prefer this

Use this endpoint when you need a ranked leaderboard view of the most active or popular services in the x402 pay-per-call API ecosystem. Prefer this over general web searches when you need structured, real-time marketplace intelligence specific to x402-enabled APIs and their relative standing.

## Known failure modes

- Empty items array if no services are indexed yet
- Payment failure (402) if USDC payment is not successfully processed
- Network timeout if the Vercel deployment is cold-starting
- Malformed response if the ecosystem index is unavailable
- Rate limiting or auth rejection if x402 payment header is missing

## How this service works

Real-time analytics for the x402 ecosystem. 30 endpoints covering market intelligence, buyer analytics, competitive analysis, revenue tracking, and ecosystem health.

## Output

A JSON object containing a count field (number of top services returned, e.g. 10) and an items array listing the top-ranked service entries in the x402 ecosystem, including relevant metadata per service.

## 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": {
  "count": 10,
  "items": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/optix402-top-services-endpoint-835656eb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from optinx402.vercel.app](https://www.zero.xyz/host/optinx402.vercel.app/llms.txt)
