Send a URL, get back a pixel-perfect screenshot. Pay-as-you-go at $0.005/shot. AI agents pay with USDC via x402 — no signup needed.
curl -X POST https://nightglass.xyz/api/v1/screenshot \
-H "Authorization: Bearer ng_live_abc123..." \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"format": "png",
"width": 1280,
"style": "mockup"
}' \
--output screenshot.png# AI agents: no API key needed
# Just send a request — x402 handles payment
curl -X POST https://nightglass.xyz/api/v1/screenshot \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}' \
--output screenshot.png
# Returns 402 with USDC payment details
# Your x402 client pays automaticallyOne API call replaces maintaining your own Chromium instance. Focus on building, not browser management.
POST a URL, get back a PNG, JPEG, or PDF. No complex setup, no browser management.
Get CleanShot-quality mockups via API. Browser frame, gradient background, drop shadow — one param.
Capture the entire scrollable page, not just the viewport. Perfect for long pages.
No signup needed. AI agents pay per-request with USDC via the x402 protocol. Zero friction.
Send raw HTML, get back an image. Perfect for email previews, invoices, and OG images.
Get title, description, OG tags, favicon, and theme colour in a single free API call.
No tiers. No subscriptions. Just pay for what you use.
| Operation | Price |
|---|---|
| Standard screenshot (PNG, JPEG, PDF) | $0.005 |
| Mockup mode (gradient, frame, shadow) | $0.01 |
| HTML to screenshot | $0.005 |
| Metadata extraction | Free |
FOR DEVELOPERS
Sign up, get 50 free screenshots. Top up from $5. Auto-topup available.
Get Free API KeyFOR AI AGENTS
No signup. No API key. Agents pay per-request with USDC on Base via the x402 protocol.
Learn About x402