{"uid":"cap_jTjbbfN1spZG2GNZ5rWvD","slug":"agentshelf-syntexa-ch-xpath-iframe-src-extractor-b247f3f5","name":"agentshelf.syntexa.ch XPath iframe src Extractor","description":"Call when an agent needs src attributes of //iframe via //iframe/@src from a public page or HTML (SSRF-safe). Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/xpath-iframe-src first.","url":"https://agentshelf.syntexa.ch/v1/xpath-iframe-src?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.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EjRqhm-j7udQFu8-QPAQr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts src attributes from iframe elements using XPath (//iframe/@src) from a public URL or raw HTML, with SSRF protection","exampleAgentPrompt":"Can you pull all the iframe src URLs from https://example.com/embed-page? I need to know what external content is embedded there.","exampleUseCases":[{"title":"Audit embedded iframes on a landing page","prompt":"I need to know all the iframe sources embedded on https://marketing.example.com/landing — can you extract every iframe src from that page?"},{"title":"Extract iframes from pasted HTML","prompt":"Here's some raw HTML I grabbed from a site: <html><body><iframe src='https://player.vimeo.com/video/123'></iframe></body></html> — can you extract all the iframe src values from it?"},{"title":"Check third-party embeds before publishing","prompt":"Before we go live, can you scan https://staging.mysite.io/home and list every iframe src so I can verify there are no unexpected third-party embeds?"}],"resultDescription":"A list of src attribute values found in all iframe elements on the provided page or HTML, extracted via XPath (//iframe/@src). Returns an array of URL strings representing embedded content sources.","failureModes":["URL is unreachable or returns non-200 status — extraction fails with an error","SSRF-blocked URL (private IP ranges, internal hostnames) — request rejected for security","HTML input exceeds 200,000 character limit — rejected with validation error","No iframe elements found on the page — returns empty array","Malformed or unparseable HTML — may return partial results or error","URL parameter too short (under 8 chars) or too long (over 2048 chars) — validation error"],"whenToPreferThis":"Use this endpoint when you need to extract iframe src attributes specifically via XPath from a public webpage or raw HTML, and you want SSRF-safe fetching. Prefer this over CSS-selector-based alternatives when XPath precision is needed. Use the unpaid sandbox variant (/v1/sandbox/xpath-iframe-src) first when available to avoid the $0.007 USDC cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:07.370Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-xpath-iframe-src-extractor-b247f3f5"}