# Machine Commerce Lab URL Inspector

> Machine Commerce Lab URL Inspector is a paid API for AI agents from machine-commerce-lab.machinecommercelab.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Fetches and inspects a public HTTP/HTTPS URL, returning details about the response for AI agents and autonomous software.

## Facts

- Endpoint: GET https://machine-commerce-lab.machinecommercelab.workers.dev/inspect
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/machine-commerce-lab-url-inspector-0785891d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GntXrGnd6N-GkjPKHdhAT

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 machine-commerce-lab-url-inspector-0785891d
```

Example prompt: Can you inspect the URL https://example.com and tell me what it returns?

## When to prefer this

Use this endpoint when an AI agent needs to fetch and inspect a public HTTP or HTTPS URL programmatically, especially in machine-payable x402 workflows where per-call micropayment is acceptable. It is well-suited for probing unknown endpoints, verifying web responses, or gathering information from a URL without setting up a full HTTP client.

## Known failure modes

- URL is not publicly accessible or returns a non-2xx status
- Invalid or malformed URL provided in the query parameter
- Target server is unreachable or times out
- URL resolves to a private/internal network address (blocked for security)
- Missing required 'url' query parameter returns a validation error

## How this service works

Machine-payable digital services for AI agents and autonomous software.

## Output

The agent receives details about the HTTP response from the inspected URL, including response metadata such as status codes, headers, and body content as returned by the target URL.

## 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",
       "description": "Public HTTP or HTTPS URL to inspect, for example https://example.com"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/machine-commerce-lab-url-inspector-0785891d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from machine-commerce-lab.machinecommercelab.workers.dev](https://www.zero.xyz/host/machine-commerce-lab.machinecommercelab.workers.dev/llms.txt)
