# Task Relay Page Screenshot

> Task Relay Page Screenshot is a paid API for AI agents from task-relay-production.up.railway.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Renders a public HTTP/HTTPS URL in a managed headless browser and returns a fixed-viewport JPEG screenshot with navigation and artifact metadata

## Facts

- Endpoint: POST https://task-relay-production.up.railway.app/x402/page-screenshot
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/task-relay-page-screenshot-7d1d8a97
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B3O5T6PftvCOSuzO2FHPB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability task-relay-page-screenshot-7d1d8a97 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/task-relay-page-screenshot-7d1d8a97/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from task-relay-production.up.railway.app](https://www.zero.xyz/host/task-relay-production.up.railway.app/llms.txt)
