{"uid":"cap_B3O5T6PftvCOSuzO2FHPB","slug":"task-relay-page-screenshot-7d1d8a97","name":"Task Relay Page Screenshot","description":"When a machine needs a fixed visual record of a public HTTP or HTTPS page for automated archive or rendered-page indexing, Task Relay renders the URL in a bounded managed browser runtime and returns one fixed-viewport JPEG plus navigation and artifact metadata. No client browser options, selectors, scripts, cookies, login, or full-page capture.","url":"https://task-relay-production.up.railway.app/x402/page-screenshot","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public HTTP or HTTPS page URL to render as one fixed-viewport JPEG screenshot (no client browser options; private targets and non-default ports rejected)"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["task_id","task_status","result","error"],"properties":{"error":{"type":["string","null"]},"result":{"type":["object","null"],"properties":{"render":{"type":"object"},"source":{"type":"object"},"status":{"enum":["captured","blocked_target","navigation_failed","timeout","artifact_too_large","unknown"],"type":"string"},"artifact":{"type":"object"},"warnings":{"type":"array"},"elapsed_ms":{"type":"integer"},"captured_at":{"type":"string"},"billable_units":{"type":"integer"}}},"task_id":{"type":"string"},"task_status":{"enum":["succeeded","failed"],"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IjrCDsGd1eYmCI6fiFegZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renders a public HTTP/HTTPS URL in a managed headless browser and returns a fixed-viewport JPEG screenshot with navigation and artifact metadata","exampleAgentPrompt":"Take a screenshot of https://example.com and give me the JPEG image along with navigation and timing metadata — I need a fixed-viewport visual record of that page for archiving.","exampleUseCases":[{"title":"Automated webpage visual archiving","prompt":"I need a timestamped visual snapshot of https://news.ycombinator.com for our daily archive — capture a fixed-viewport JPEG of the page and return the render metadata."},{"title":"Rendered page indexing pipeline","prompt":"As part of our content indexing pipeline, take a screenshot of https://docs.openai.com/api-reference and give me the JPEG plus any navigation status and artifact details so I know if it rendered successfully."},{"title":"Verify public page appearance","prompt":"Can you screenshot https://status.stripe.com so I can check what the page visually looks like right now and confirm it loaded correctly — include the capture timestamp and elapsed time."}],"resultDescription":"Returns a task ID, task status (succeeded/failed), and a result object containing: a status enum (captured, blocked_target, navigation_failed, timeout, artifact_too_large, unknown), a JPEG artifact object, render metadata, source metadata, warnings array, elapsed time in milliseconds, capture timestamp, billable units, and any error string if the task failed.","failureModes":["blocked_target: URL points to a private IP, non-default port, or otherwise rejected target","navigation_failed: the headless browser could not navigate to the URL (e.g. DNS failure, HTTP error)","timeout: the page took too long to render within the managed browser runtime","artifact_too_large: the resulting JPEG exceeds size limits","unknown: an unclassified internal error occurred","task_status: failed with a non-null error field describing the failure reason"],"whenToPreferThis":"Choose this endpoint when you need a machine-generated, fixed-viewport JPEG visual record of a public HTTP or HTTPS webpage for archiving or rendered-page indexing, without needing custom browser configuration, authentication, selectors, scripting, cookie injection, or full-page (scrolled) capture. It is ideal for automated pipelines that need a consistent, bounded snapshot with accompanying navigation and artifact metadata, and where the target is publicly accessible without login.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:35:51.585Z","isFirstParty":false}