$ man url-metadata-extract
/url-metadata-extract(1)
PRICE / CALL
$0.003
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobeCATEGORY
uncategorized
STATUS
● live
NAME
url-metadata-extract — url metadata extractor / og tags / open graph parser / twitter card parser / meta tag extractor / link preview / page metadata / favicon…
SYNOPSIS
POST https://x402.org/v1/url-metadata-extract
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
URL metadata extractor / OG tags / Open Graph parser / Twitter Card parser / meta tag extractor / link preview / page metadata / favicon resolver / JSON-LD reader / canonical URL extractor. Fetches a webpage and parses head-level metadata: title, description, Open Graph (og:*), Twitter Card (twitter:*), canonical link, favicon, html lang, keywords, robots, author, article:published_time, JSON-LD blocks. Returns absolute URLs for image and favicon. Useful for SEO audits, link-preview generation, content cataloging, RAG ingestion.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| url | string | Page URL (http or https) to fetch and parse. | required |
| user_agent | string | Optional User-Agent header sent on fetch. | optional |
| follow_redirects | boolean | Default true. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| url | string | Original URL that was requested for metadata extraction. |
| final_url | string | Final URL after following redirects from the original request. |
| status | string | HTTP status code or fetch status returned by the upstream page. |
| title | string | Page title from the <title> tag or og:title fallback. |
| description | string | Meta description tag content or og:description fallback. |
| image | string | Absolute URL of the og:image or twitter:image preview image. |
| canonical | string | Canonical URL declared via <link rel="canonical"> in the page head. |
| favicon | string | Absolute URL of the page's favicon resolved from link tags or /favicon.ico. |
| language | string | Page language code from the html lang attribute (e.g. en, en-US). |
| og | string | Open Graph properties parsed from og:* meta tags as a key-value map. |
| string | Twitter Card properties parsed from twitter:* meta tags as a key-value map. | |
| json_ld | string | JSON-LD structured data blocks extracted from <script type="application/ld+json"> tags. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/url-metadata-extract \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# install once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the url-metadata-extract tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- web-probeurl-metadataopen-graphtwitter-cardlink-previewjson-ldfaviconmeta-tags
- methods
- POST
- cluster
- webprobe
- price
- $0.003 USDC per call
ADJACENT — other endpoints in webprobe
| endpoint | description | price |
|---|---|---|
| homoglyph-check | Homoglyph attack detector / Unicode lookalike scanner. | $0.003 |
| jwt-decode | JWT decoder / token inspector / debug tool. | $0.003 |
| arxiv-bibtex | arXiv to BibTeX / arxiv citation generator / paper bibtex / LaTeX citation builder / academic citation lookup. | $0.002 |
| github-readme | GitHub README fetch / repo readme / open-source-readme-as-markdown / package documentation puller. | $0.002 |
| keyword-suggest | Keyword autocomplete / search suggest / SEO keyword research / query expansion / autocomplete suggestions. | $0.002 |
| qr-code-decode | QR decoder / QR reader / scan QR from URL / QR code OCR / barcode reader / link extraction from QR. | $0.002 |
| disposable-email-check | Disposable email detector / fake email filter / fraud signup defense. | $0.005 |
| domain-availability | Domain availability / RDAP lookup / WHOIS replacement / domain registration checker / expiry date lookup. | $0.005 |
SEE ALSO