# BaseLens x402 Endpoint Checker

> BaseLens x402 Endpoint Checker is a paid API for AI agents from baselens.imac2014ville.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Checks whether a given HTTPS URL is a valid x402 pay-per-call endpoint and returns its pricing and network options

## Facts

- Endpoint: GET https://baselens.imac2014ville.workers.dev/x402check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/baselens-x402-endpoint-checker-3602e642
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xJa0QDYDM1BzD_DrXnP_S

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 baselens-x402-endpoint-checker-3602e642
```

Example prompt: Check if https://baselens.imac2014ville.workers.dev/markdown is a valid x402 endpoint and tell me what it charges per call and which network it runs on.

## When to prefer this

Use this endpoint when you need to programmatically verify whether a given URL implements the x402 pay-per-call payment protocol before attempting to call or integrate it — especially useful for agent workflows that dynamically discover and invoke APIs, or when debugging x402 payment flows. Prefer this over manual HTTP inspection when you need a structured, machine-readable response with pricing and network details.

## Known failure modes

- Non-x402 URL returns isX402: false with empty options array
- Unreachable or invalid URL may return an error or timeout
- URL that requires authentication may not expose x402 headers correctly
- HTTP-only (non-HTTPS) URLs are not supported per schema
- Malformed URL input may return a validation error

## How this service works

Honeypot check and rug pull check for Base tokens (is this token safe?), new token launches feed for snipers, cheapest cloud GPU prices, web page to markdown scraper. Also tx explainer, wallet balances, x402 checker. No API key: pay USDC on Base per call via x402.

## Output

Returns a JSON object indicating whether the URL is a valid x402 endpoint (isX402 boolean), an array of any detected issues, a list of payment options including network ID (e.g. eip155:8453 for Base) and price in USD, and the latency of the probe in milliseconds.

## 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": "https URL of an x402 endpoint"
      },
      "method": {
       "enum": [
        "GET",
        "POST"
       ],
       "type": "string",
       "description": "HTTP method the endpoint uses (default GET)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "isX402": true,
  "issues": [],
  "options": [
   {
    "network": "eip155:8453",
    "priceUsd": 0.01
   }
  ],
  "latencyMs": 180
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/baselens-x402-endpoint-checker-3602e642/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from baselens.imac2014ville.workers.dev](https://www.zero.xyz/host/baselens.imac2014ville.workers.dev/llms.txt)
