# AgentServices URL Metadata Extraction

> AgentServices URL Metadata Extraction is a paid API for AI agents from api.agentservices.to, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Extracts and unfurls metadata from a given URL, returning structured information about the page or resource.

## Facts

- Endpoint: GET https://api.agentservices.to/v1/metadata
- 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/agentservices-url-metadata-extraction-43d7b109
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oopZPxJ-LzebFUDcLiSEu

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 agentservices-url-metadata-extraction-43d7b109
```

Example prompt: Can you fetch the metadata and link preview info for this URL: https://example.com/article/some-news-story?

## When to prefer this

Use this endpoint when you need to quickly extract structured metadata (title, description, Open Graph tags) from a single URL without crawling the full page content. Ideal for link enrichment, preview generation, or populating catalog fields from URLs. Prefer this over a full web scraper when you only need head-level metadata, not body content.

## Known failure modes

- URL is unreachable or returns a non-200 status — metadata not available
- Target page blocks bots/crawlers — returns empty or incomplete metadata
- URL is malformed or missing — request validation error
- Page has no metadata tags — returns minimal or empty fields
- Timeout on slow-loading pages — partial or no result

## How this service works

URL metadata extraction and unfurling

## Output

Returns structured metadata extracted from the target URL, typically including page title, description, Open Graph tags, canonical URL, and other link-preview relevant fields parsed from the page's HTML head.

## 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"
    },
    "query": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string"
      }
     }
    },
    "method": {
     "enum": [
      "DELETE",
      "GET",
      "HEAD"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  },
  "routeTemplate": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentservices-url-metadata-extraction-43d7b109/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentservices.to](https://www.zero.xyz/host/api.agentservices.to/llms.txt)
