{"uid":"cap_T_T67T3_gOLWfBueWnUeE","slug":"extract-iframes-as-json-38edd287","name":"extract-iframes-as-json","description":"Extract the page's iframes as json: fetches the URL, pulls every iframes element and returns them as a JSON array, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.","url":"https://page.intel.rallylive.ca/page/iframes/json?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aLdOsxSbyyn9D4Q9Uco08","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a web page and extracts all iframe elements, returning them as a JSON array with a count","exampleAgentPrompt":"Can you fetch https://www.example.com and extract all the iframes on that page and give me the full list as JSON?","exampleUseCases":[{"title":"Audit third-party iframe embeds","prompt":"Go to https://shop.mybrand.com and pull out every iframe on the page as JSON — I want to see what third-party content is being embedded there."},{"title":"Detect ad or tracking iframes","prompt":"Fetch https://news.example.com and extract all the iframes so I can see if there are any ad or tracking iframes embedded in the page."},{"title":"Pipeline ingestion of embedded content","prompt":"Pull all iframes from https://partner-site.com/landing as a JSON array so I can feed the iframe sources into my data pipeline."}],"resultDescription":"A JSON array of all iframe elements found on the fetched page, each entry representing one iframe element (likely including src, attributes, etc.), along with a total count of iframes found.","failureModes":["URL is unreachable or returns a non-200 response — empty array or error returned","Page has no iframes — returns empty array with count 0","URL is behind authentication or a paywall — cannot access content","Page uses JavaScript-rendered iframes that are not present in static HTML — dynamic iframes may be missed","Invalid or malformed URL input — request error returned","Rate limiting or payment failure for the $0.01 per call fee"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, structured JSON extraction of iframe elements from a static HTML page without spinning up a browser. It is ideal for agent pipelines and automated workflows that need to audit, catalog, or analyze iframe embeds on one page at a time with a predictable per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:56:26.058Z","isFirstParty":false,"canonicalSlug":"extract-iframes-as-json-38edd287"}