{
  "name": "rasterly",
  "description": "The web-rendering layer for AI agents. Turn any URL into a screenshot, a PDF, or clean LLM-ready Markdown.",
  "endpoints": {
    "screenshot": "GET /v1/screenshot?url=<encoded>&format=png|jpeg|pdf&full_page=true&width=1280&height=800&scale=2",
    "read": "GET /v1/read?url=<encoded>&format=markdown|text|json  → clean, LLM-ready content (renders JS, strips chrome)",
    "extract": "GET /v1/extract?url=<encoded>[&fields=price,title,...][&schema=<json>|&prompt=<text>]  → structured data; fields= deterministic, schema=/prompt= LLM (needs ANTHROPIC_API_KEY)",
    "crawl": "GET /v1/crawl?url=<encoded>&limit=10  → follow same-origin links, return each page as Markdown (for RAG)",
    "pdf": "POST /v1/pdf  {html|url, format=A4, landscape, margin, print_background, scale, header_html, footer_html}  → a print-ready PDF document",
    "monitors": "POST /v1/monitors {url, mode=content|selector|visual, selector, interval_minutes, webhook} · GET /v1/monitors · POST /v1/monitors/:id/check · DELETE /v1/monitors/:id  → watch a page, webhook on change"
  },
  "auth": "X-Api-Key header",
  "pricing": {
    "note": "launch pricing — ~70% under Urlbox/ScreenshotOne",
    "per_1000_usd": 0.9
  }
}
