# x402 Market Intel Service Ranker

> x402 Market Intel Service Ranker is a paid API for AI agents from x402-market-intel-mcp.mtree.workers.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-13).

Given a buyer agent's intent and budget, returns a pay/skip/reroute verdict with warnings, price/payment metadata, evidence, and fallback action before the agent spends on an x402 service.

## Facts

- Endpoint: POST https://x402-market-intel-mcp.mtree.workers.dev/v1/x402/service_rank
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-market-intel-service-ranker-ce42b45f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2R0gQgXQjkeOiWIEaQvx_

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 x402-market-intel-service-ranker-ce42b45f -d '<json body>'
```

Example prompt: Before I spend anything, rank the available x402 services for my intent 'get real-time weather data for a city' with a budget of 0.05 USDC and tell me whether I should pay, skip, or reroute — and flag any warnings about pricing or service quality.

## When to prefer this

Use this endpoint when a buyer agent needs to select among multiple x402 pay-per-call APIs before committing funds — especially when budget constraints matter, when rerouting to a cheaper/better alternative is desirable, or when the agent needs a pre-payment risk/value verdict rather than just a list of options. Prefer over raw API directories when a decision verdict and warnings are needed, not just discovery.

## Known failure modes

- Intent too vague to match any x402 service — returns low-confidence verdict with reroute suggestion
- Budget below minimum price of any matching service — returns skip verdict with budget warning
- No x402 services found in the requested category — returns empty evidence set and fallback action
- Payment processing failure for the $0.03 USDC oracle fee — returns 402 with payment instructions
- Malformed request body missing required intent or budget fields — returns 400 validation error

## How this service works

One-call x402 service selector for buyer agents: given an intent and budget, return the pay/skip/reroute verdict first, then warnings, price/payment metadata, evidence, and fallback action before the agent spends. Price 0.03 USDC on Base via x402. Demo: https://x402-market-intel-mcp.mtree.workers.dev/demo/service_rank. Contact: https://x402-market-intel-mcp.mtree.workers.dev/contact.

## Output

Returns a structured verdict (pay/skip/reroute) as the first field, followed by any warnings, exact price and payment metadata for the top-ranked x402 service, supporting evidence for the recommendation, and a fallback action if the top choice is unsuitable.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 25,
       "minimum": 1
      },
      "query": {
       "type": "string"
      },
      "intent": {
       "type": "string"
      },
      "preset": {
       "enum": [
        "web_search",
        "onchain_risk",
        "enrichment",
        "spend_control"
       ],
       "type": "string"
      },
      "category": {
       "type": "string"
      },
      "budget_usdc": {
       "type": "number"
      },
      "risk_tolerance": {
       "enum": [
        "low",
        "medium",
        "high"
       ],
       "type": "string"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "answer": "rank x402 services worth paying for this buyer intent",
  "ranked_services": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-market-intel-service-ranker-ce42b45f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-market-intel-mcp.mtree.workers.dev](https://www.zero.xyz/host/x402-market-intel-mcp.mtree.workers.dev/llms.txt)
