# Agent Market Lab URL Resolver

> Agent Market Lab URL Resolver is a paid API for AI agents from agent-market-lab.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Inspects a public URL to detect x402 payment walls, machine-readiness signals, and payment-required paths

## Facts

- Endpoint: GET https://agent-market-lab.vercel.app/api/resolve?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-market-lab-url-resolver-d5c26ede
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j8IjN0rEQlmD_3lE4kw9x

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 agent-market-lab-url-resolver-d5c26ede
```

Example prompt: Can you check whether https://example.com supports x402 payments and tell me its machine-readiness score and any discovered paths that require payment?

## When to prefer this

Use this endpoint when an AI agent needs to determine before making a call whether a target URL supports the x402 micropayment protocol, requires payment, or is generally machine-readable. Ideal for agent orchestration flows that need to pre-screen APIs or web resources for agent compatibility without committing to a payment or full crawl.

## Known failure modes

- Invalid or malformed URL returns a validation error
- Unreachable or offline target URL may return a timeout or connection error
- Private/internal URLs inaccessible from the resolver's network return no discovered paths
- Sites with aggressive bot-blocking may return incomplete or misleading discovery results
- Non-HTTP/HTTPS URLs are rejected by schema validation

## How this service works

Machine-native paid utilities for autonomous agents

## Output

Returns a JSON object with the target URL, a list of discovered paths (each with path, HTTP status, content type, and paymentRequired flag), a boolean x402Detected field indicating whether an x402 payment wall was found, and a numeric machineReadinessScore (0-100) indicating how suitable the site is for autonomous agent consumption.

## 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": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "description": "Public HTTP or HTTPS URL to inspect"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "target": "https://example.com/",
  "discovered": [
   {
    "path": "/robots.txt",
    "status": 200,
    "contentType": "text/plain",
    "paymentRequired": false
   }
  ],
  "x402Detected": false,
  "machineReadinessScore": 30
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-market-lab-url-resolver-d5c26ede/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-market-lab.vercel.app](https://www.zero.xyz/host/agent-market-lab.vercel.app/llms.txt)
