# Mekler AI – Compare x402 API Request Quotes

> Mekler AI – Compare x402 API Request Quotes is a paid API for AI agents from api.mekler.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-20).

Compares unsigned x402 payment quotes from 2–4 candidate API endpoints, returning native USDC prices, expiry, fee gaps, and lowest-quoted amounts per network without purchasing or verifying equivalent delivery.

## Facts

- Endpoint: POST https://api.mekler.ai/v1/services/offers/compare-request-quotes?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mekler-ai-compare-x402-api-request-quotes-3b020755
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__eJaeMUPBboY8xvmmAn40

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 mekler-ai-compare-x402-api-request-quotes-3b020755 -d '<json body>'
```

Example prompt: Can you compare the x402 quotes for these two web-scraping APIs — https://api.example1.com/scrape and https://api.example2.com/extract — for the task 'extract readable article text from a URL', and tell me which one quotes less on Base?

## When to prefer this

Use this endpoint when an agent needs to objectively compare unsigned x402 payment quotes across 2–4 specific candidate API URLs before deciding which to call, especially when cost on Base or Solana is the primary selection criterion. Prefer it over manual inspection when the agent has already identified candidate endpoints and needs structured, side-by-side quote data with explicit fee and expiry gap reporting.

## Known failure modes

- Invalid or non-x402 candidate URL returns that candidate as uncharged and excluded from comparison
- Fewer than 2 valid candidates results in an error or empty comparison
- Quoted amounts may be expired by the time the agent acts on them
- Network not supported by a candidate results in missing offer data for that network
- Malformed candidate ID (not matching pattern) causes request rejection

## How this service works

Compare current unsigned x402 quotes for 2–4 supplied API requests. Return original challenges, native USDC prices on Base/Solana, advertised outputs and explicit fee, expiry and quality gaps. Identify lowest quoted amounts per network without claiming equivalent delivery or lowest total cost. No seller purchases, credentials or market-wide search. 0.005 USDC per complete comparison; unavailable or invalid candidate quotes are uncharged.

## Output

A JSON object containing per-candidate observations with quoted USDC amounts per network, any additional fees noted, expiry data, and price_groups identifying the lowest-quoted candidate IDs per network. Equivalent output delivery is explicitly not verified and total cost is not guaranteed to be the lowest.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "task": {
   "type": "string",
   "maxLength": 500,
   "minLength": 1
  },
  "candidates": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "url"
    ],
    "properties": {
     "id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,40}$"
     },
     "url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https://",
      "maxLength": 2048
     },
     "body": {
      "anyOf": [
       {
        "type": "object",
        "additionalProperties": true
       },
       {
        "type": "null"
       }
      ]
     },
     "method": {
      "enum": [
       "GET",
       "POST"
      ],
      "type": "string",
      "default": "GET"
     }
    },
    "additionalProperties": false
   },
   "maxItems": 4,
   "minItems": 2
  },
  "request_id": {
   "type": "string",
   "pattern": "^[A-Za-z0-9_-]{16,64}$"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "task": "Compare quoted prices for extracting readable content from the Mekler homepage",
  "scope": "Supplied candidate requests only; no market-wide discovery or seller purchase.",
  "status": "ok",
  "limitations": [
   "Lowest quoted amount is not lowest total cost or best value."
  ],
  "observed_at": "2026-10-26T15:00:01+00:00",
  "observations": [
   {
    "id": "markdown",
    "offers": [
     {
      "network": "eip155:8453",
      "quoted_usdc": "0.004000",
      "additional_fees": null,
      "total_cost_usdc": null
     }
    ],
    "observed_at": "2026-10-26T15:00:00+00:00"
   },
   {
    "id": "readable-text",
    "offers": [
     {
      "network": "eip155:8453",
      "quoted_usdc": "0.005000",
      "additional_fees": null,
      "total_cost_usdc": null
     }
    ],
    "observed_at": "2026-10-26T15:00:00+00:00"
   }
  ],
  "price_groups": [
   {
    "network": "eip155:8453",
    "equivalent_outputs_verified": false,
    "lowest_quoted_candidate_ids": [
     "markdown"
    ],
    "lowest_total_cost_candidate_id": null
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mekler-ai-compare-x402-api-request-quotes-3b020755/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.mekler.ai](https://www.zero.xyz/host/api.mekler.ai/llms.txt)
