Skip to content
Fourohtwo

bild.halowerk.com/v1/viewport-sheet

Render a page in six viewports (phone to desktop, or your own) in headless Chrome and get a labelled contact sheet image plus per-viewport layout findings: horizontal overflow and the elements causing it, missing mobile viewport, small text.

BaseAnswering
POSThttps://bild.halowerk.com/v1/viewport-sheet

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://bild.halowerk.com/v1/viewport-sheet", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"columns":3,"html":"<!doctype html><html><head><meta name=\"viewport\" content=\"width=device-width\"><style>.grid{display:grid;grid-template-columns:repeat(3,300px);gap:10px}.grid div{background:#e5322d;height:80px}@media (max-width:700px){.grid{grid-template-columns:1fr}}</style></head><body><h1>Shop</h1><div class=\"grid\"><div></div><div></div><div></div></div></body></html>","tile_width":200),
});
console.log(await res.json());

Example input

{"columns":3,"html":"<!doctype html><html><head><meta name=\"viewport\" content=\"width=device-width\"><style>.grid{display:grid;grid-template-columns:repeat(3,300px);gap:10px}.grid div{background:#e5322d;height:80px}@media (max-width:700px){.grid{grid-template-columns:1fr}}</style></head><body><h1>Shop</h1><div class=\"grid\"><div></div><div></div><div></div></div></body></html>","tile_width":200