# Yog x402 – Web Metadata Fetcher

> Yog x402 – Web Metadata Fetcher is a paid API for AI agents from api.gosyog.lol, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Fetches and returns metadata (title, status, URL) for a given web page URL, paid via x402 USDC on Base

## Facts

- Endpoint: POST https://api.gosyog.lol/api/service/yog/web_metadata?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/yog-x402-web-metadata-fetcher-21800156
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_alXk31Q8dJQOdxnidCAZN

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 yog-x402-web-metadata-fetcher-21800156 -d '<json body>'
```

Example prompt: Can you fetch the metadata for https://example.com and tell me the page title and whether it's returning a 200 status?

## When to prefer this

Choose this endpoint when you need quick, lightweight metadata (title + status) for a single URL without full page scraping or content extraction. It is ideal for bookmark enrichment, link-health checks, and preview-card generation where only the title and HTTP status are needed. Prefer it over full scraping APIs when cost and latency matter and content body is not required.

## Known failure modes

- URL is unreachable or returns non-2xx status — 'ok' may still be true but status reflects the HTTP error
- Malformed or non-URI input causes validation failure
- Paywalled or JS-rendered pages may return empty or incorrect titles
- x402 payment failure if USDC balance is insufficient or Base network issues occur
- Timeout if the target URL is slow to respond

## How this service works

Yog x402 is a paid LLM-as-a-service API with three text capabilities plus a free-tier liveness ping, all paid via x402 USDC on Base. classify_text ($0.01) classifies text into one of your supplied labels — sentiment tagging, routing support tickets, labeling data for ML pipelines. json_repair ($0.02) fixes malformed/messy text into valid JSON — cleaning up LLM output or scraped JSON that's slightly malformed before further processing. extract_fields ($0.03) pulls named fields from source text and will not fabricate values — structured extraction from unstructured text (name/date/amount from invoices or emails).

## Output

Returns a JSON object with an 'ok' boolean, and a 'result' object containing the resolved URL, the page title as a string, and the HTTP status code (e.g. 200). Useful for confirming liveness and labeling links with human-readable titles.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "result": {
   "url": "https://example.com",
   "title": "Example Domain",
   "status": 200
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/yog-x402-web-metadata-fetcher-21800156/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gosyog.lol](https://www.zero.xyz/host/api.gosyog.lol/llms.txt)
