API Documentation

DomainShots.ai API

Capture website screenshots and analyze them with AI. Our API provides lightning-fast screenshots, tech stack detection, security scoring, and more.

Base URL

https://api.domainshots.ai

Authentication

All API requests require authentication using an API key. Include your API key in the Authorization header as a Bearer token.

Header Format
Authorization: Bearer YOUR_API_KEY

Quick Start

Get started with your first API call in minutes.

Capture Your First Screenshot

curl -X POST https://api.domainshots.ai/screenshot \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "device": "desktop",
    "analyze": true
  }'

API Endpoints

POST/screenshot

Capture a website screenshot with optional AI analysis

Auth: Required
GET/screenshot/{id}

Get screenshot details and analysis results

Auth: Required
GET/screenshot/history/{domain}

Get screenshot history for a domain

Auth: Required
GET/screenshot/diff/{id1}/{id2}

Compare two screenshots and get AI diff analysis

Auth: Required

Capture Screenshot

POST/screenshot

Request Body

ParameterTypeRequiredDescription
urlstringRequiredURL to capture
devicestringOptionaldesktop, laptop, tablet, or mobile
full_pagebooleanOptionalCapture full scrollable page
analyzebooleanOptionalInclude AI analysis (default: true)

Response

{
  "success": true,
  "screenshot": {
    "id": "ss_abc123",
    "url": "https://example.com",
    "screenshot_url": "https://cdn.domainshots.ai/ss_abc123.png",
    "thumbnail_url": "https://cdn.domainshots.ai/ss_abc123_thumb.png",
    "captured_at": "2026-01-17T14:30:00Z",
    "width": 1920,
    "height": 1080,
    "response_time_ms": 342,
    "http_status": 200
  },
  "analysis": {
    "ai_analysis": {
      "description": "A modern corporate website...",
      "content_type": "Corporate/Business",
      "language": "English"
    },
    "tech_stack": {
      "frameworks": ["React", "Next.js"],
      "hosting": "Vercel",
      "analytics": ["Google Analytics"]
    },
    "security_score": 87
  }
}

Rate Limits

Rate limits are based on your plan and applied per API key.

PlanRequests/minuteMonthly Quota
Free55 screenshots
Starter30100 screenshots
Professional60500 screenshots
Enterprise1202500 screenshots

Need Help?

Our team is here to help you integrate DomainShots.ai into your application.