{"uid":"cap_Xd2UbKsUlDJ3hZnp_kQXd","slug":"agentshelf-syntexa-ch-og-image-xpath-extractor-98cac98c","name":"agentshelf.syntexa.ch OG Image XPath Extractor","description":"Call when an agent needs content of meta property=og:image via //meta[@property='og:image']/@content from a public page or HTML (SSRF-safe). Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/xpath-og-image first.","url":"https://agentshelf.syntexa.ch/v1/xpath-og-image?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"description":"Public page to fetch. The selector or profile is fixed by the SKU. Provide url or html."},"html":{"type":"string","examples":["<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta name=\"description\" content=\"Desc\"><meta property=\"og:title\" content=\"OG\">\n<link rel=\"canonical\" href=\"https://example.com/\"><link rel=\"icon\" href=\"/favicon.ico\">\n</head><body><h1>Hello</h1><a href=\"https://example.com/a\">A</a></body></html>"],"maxLength":200000,"minLength":1,"description":"HTML to extract from locally. Provide html or url. When both are set, html is used."}}},"responseSchema":null,"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_ohhVpTZERCKM1dTrgRXCM","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 the Open Graph image URL (og:image meta property) from a public webpage or raw HTML using XPath, with SSRF protection.","exampleAgentPrompt":"Can you grab the og:image URL from https://example.com/article — I need the Open Graph image that would show up when someone shares that page on social media?","exampleUseCases":[{"title":"Social share preview thumbnail retrieval","prompt":"I need to get the og:image URL from https://techcrunch.com/2024/01/some-article so I can display the correct thumbnail in our link preview widget."},{"title":"Product page image extraction","prompt":"Can you pull the Open Graph image from this product page — https://shop.example.com/products/widget — I want to know what image appears when someone shares this item link."},{"title":"Batch metadata enrichment from raw HTML","prompt":"I already have the HTML source for this blog post — can you extract the og:image content from it so I can store the social preview image URL in our database?"}],"resultDescription":"Returns the value of the og:image meta property found via XPath (//meta[@property='og:image']/@content) — typically an absolute image URL intended for social media previews. If the page has no og:image tag or the URL/HTML is invalid, the response will indicate no value was found.","failureModes":["No og:image meta tag present on the page — returns empty or null result","SSRF-blocked URL (private/internal IP ranges) — request rejected for security reasons","URL fetch timeout or unreachable host — returns error","HTML input exceeds 200,000 character limit — rejected","URL shorter than 8 characters or longer than 2048 characters — validation error","Malformed HTML that cannot be parsed via XPath — returns empty result"],"whenToPreferThis":"Choose this endpoint when you need specifically the og:image Open Graph image URL from a webpage or HTML snippet with SSRF safety guarantees. It is purpose-built for this single XPath query, making it more reliable and cheaper than a general-purpose scraper. Use when you already have raw HTML and want to avoid an extra fetch, or when you need the social preview image URL for link enrichment, content aggregation, or metadata pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:15.569Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-og-image-xpath-extractor-98cac98c"}