# x402 Demo API - URL Info

> x402 Demo API - URL Info is a paid API for AI agents from x402-demo-api-theta.vercel.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Fetches metadata and information about a given URL using the x402 paid protocol on Base mainnet

## Facts

- Endpoint: POST https://x402-demo-api-theta.vercel.app/api/url-info
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-demo-api-url-info-0d63818e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_54soaEKgCzGC0-bdhfbpg

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-demo-api-url-info-0d63818e -d '<json body>'
```

Example prompt: Can you fetch the metadata and info for this URL: https://example.com — I want to know the page title, description, and any other details about what that link points to?

## When to prefer this

Use this endpoint when you need to extract metadata or descriptive information about a URL without manually fetching and parsing HTML. Prefer this over raw web scraping tools when you want structured metadata (title, description, status) for a link and you are already operating in an x402/Base mainnet payment context.

## Known failure modes

- Invalid or malformed URL returns error
- Target URL is unreachable or returns non-200 status
- Payment not received or x402 protocol failure causes 402 response
- URL points to a non-HTML resource with no extractable metadata
- Rate limiting or timeout on target domain

## How this service works

Paid API with real data: AI/LLM, crypto prices, web search, translation, trending topics, sentiment analysis, aggregator, and more. All endpoints use x402 protocol on Base mainnet.

## Output

Returns metadata about the provided URL including page title, description, status, and other available link information extracted from the target page.

## 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": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-demo-api-url-info-0d63818e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-demo-api-theta.vercel.app](https://www.zero.xyz/host/x402-demo-api-theta.vercel.app/llms.txt)
