{"uid":"cap_FhEOP26H3EWtb7v1Xw4pH","slug":"operation-402-html-metadata-extractor-827f66fa","name":"Operation 402 – HTML Metadata Extractor","description":"Five paid data-processing APIs for AI agents. Payments use x402 v2 with USDC on Base mainnet.","url":"https://operation-402-live.aeroworks.workers.dev/api/metadata?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":{},"service":"HTML Metadata Extractor"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rDc4krtJ4ZHp9lIiTBqI8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured metadata from raw HTML input, returning parsed metadata fields as a JSON object.","exampleAgentPrompt":"Extract the metadata from this HTML — I want the title, description, and any Open Graph tags: <html><head><title>My Site</title><meta name='description' content='Best widgets.'></head><body></body></html>","exampleUseCases":[{"title":"SEO audit from raw HTML","prompt":"I've got the raw HTML from a competitor's homepage — can you pull out all the metadata, title, and description so I can see how they've set up their SEO?"},{"title":"Open Graph preview enrichment","prompt":"Here's the HTML I fetched from a news article URL — extract the Open Graph metadata so I can generate a rich link preview card for it."},{"title":"Web crawler metadata pipeline","prompt":"I'm processing a batch of archived HTML pages and need you to extract the structured metadata from this one so I can index it: <html><head><title>Archive Page</title><meta property='og:title' content='Old Article'/></head><body></body></html>"}],"resultDescription":"A JSON object with a 'result' field containing extracted metadata (e.g. title, description, Open Graph properties, and other meta tags) parsed from the submitted HTML, along with a 'service' field confirming 'HTML Metadata Extractor'.","failureModes":["Malformed or empty HTML returns minimal or empty result object","Missing required 'html' field in request body causes validation error","Very large HTML payloads may be truncated or rejected","Payment failure via x402 prevents API access entirely","Non-HTML text input may yield no meaningful metadata"],"whenToPreferThis":"Choose this endpoint when you have raw HTML content in hand and need to quickly extract structured metadata (title, description, Open Graph tags) without running a full browser or HTML parser locally. It is well-suited for agent pipelines that fetch HTML upstream and need lightweight metadata enrichment at low cost ($0.005 USDC per call via x402 on Base mainnet).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:30:40.343Z","isFirstParty":false,"canonicalSlug":"operation-402-html-metadata-extractor-827f66fa"}