{"uid":"cap_kXzOPEZubi2K2ksHQcoK4","slug":"extract-videos-as-json-da160884","name":"extract-videos-as-json","description":"Extract the page's videos as json: fetches the URL, pulls every videos 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/videos/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_mHEIP5XKLu-x13uRCn_0l","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 URL and extracts all video elements, returning them as a structured JSON array with a count.","exampleAgentPrompt":"Can you extract all the video elements from this page — https://example.com/media — and give me a JSON list of every video found along with the total count?","exampleUseCases":[{"title":"Audit media assets on a landing page","prompt":"Can you pull all the videos from our product landing page at https://acme.com/products and return them as a structured JSON list so I can audit what video content is live?"},{"title":"Inventory videos on a news article","prompt":"I want to know every video embedded in this news article at https://bbc.com/news/article-12345 — can you fetch the page and give me the full JSON list of videos with a count?"},{"title":"Pipeline ingestion of video elements","prompt":"For my content pipeline, can you extract all video elements from https://example.com/videos and return them as a JSON array so I can process each one downstream?"}],"resultDescription":"A JSON array containing all video elements found on the page, along with a count of how many were found. Each element represents a video extracted from the page's HTML. No browser is required — the fetch and parse is handled server-side.","failureModes":["Page URL is unreachable or returns a non-200 status — empty array or error response returned","Page has no video elements — returns an empty array with count of 0","Page requires JavaScript rendering to expose videos — server-side fetch may miss dynamically loaded video elements","Payment not provided or insufficient — 402 payment required error","Malformed or missing URL parameter — request rejected with validation error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, structured JSON extraction of video elements from a static or server-rendered web page without spinning up a browser. Ideal for agent pipelines and automation workflows that need to inventory, audit, or process video content at scale. Prefer over full-page scrapers when only video elements are needed, keeping cost and response size minimal at $0.01 per page.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:41:09.530Z","isFirstParty":false,"canonicalSlug":"extract-videos-as-json-da160884"}