✕
CaptureKit

Content

GET
/v1/content

CaptureKit Content API extracts structured webpage data, metadata, links, HTML/Markdown: in one request for SEO, monitoring, indexing and automation.

Credit cost: 1 credit per call

Authorization

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Query Parameters

url*string

The URL of the webpage to capture.

include_html?boolean

Include the raw HTML of the webpage in the response.

Defaultfalse
include_markdown?boolean

Include the Markdown of the webpage in the response.

Defaultfalse
include_sitemap?boolean

Include the sitemap of the website in the response.

Defaultfalse
use_defuddle?boolean

Use Defuddle to clean and extract the main content from web pages. This popular library removes unnecessary elements like comments, sidebars, headers, footers, and other non-essential elements, leaving only the primary content. When enabled, the HTML response will be processed through Defuddle before being returned.

Defaultfalse
remove_selectors?string

A comma-separated list of elements to hide before capturing (e.g., ads, popups).

remove_ads?boolean

Automatically remove ads before capturing.

Defaultfalse
block_resources?string

Comma-separated list of resource types to block (e.g., “image,stylesheet,font”).

Available resource types:

  • document
  • stylesheet
  • image
  • media
  • font
  • script
  • texttrack
  • xhr
  • fetch
  • eventsource
  • websocket
  • manifest
  • other

Useful for optimizing page loading speed before capturing screenshots.

Value in"document""eventsource""fetch""font""image""manifest""media""other""script""stylesheet""texttrack""websocket""xhr"
block_urls?string

Comma-separated list of URL patterns to block (e.g., “analytics,tracking,advertisement”).

You can specify URLs, domains, or simple patterns like “.example.com/”.

delay?number

Delay in seconds before capturing the screenshot.

Range0 <= value <= 10
Default"0"
wait_until?array<string>

Define when to capture.

Available formats:

  • networkidle2
  • load
  • domcontentloaded
  • networkidle0
Value in"domcontentloaded""load""networkidle0""networkidle2"
wait_for_selector?string

Wait for a specific element to appear before taking the screenshot.

proxy?string

Specify a proxy server to route your request through.

Supports HTTP, HTTPS, and SOCKS5 proxies.

Format: http://username:password@proxy.com:PORT.

Useful for bypassing geo-restrictions and rotating IPs.

cache?boolean

Cache the response.

Defaultfalse
cache_ttl?number

Cache the response for a custom TTL (in seconds).

Range3600 <= value <= 2592000
Default"2592000"
fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Response Body

Successful response

application/json
  1. response
data?
success?boolean
Example Request
curl -X GET 'https://api.capturekit.dev/v1/content?url=string'
Example Response
{  "data": {    "links": {      "social": [        "https://twitter.com/capturekitdev",        "https://linkedin.com/company/capturekit-dev"      ],      "external": [        "https://docs.capturekit.dev",        "https://www.uneed.best/tool/capture-kit",        "https://zapier.com/apps/capturekit/integrations",        "https://zapier.com/apps/capturekit-website-screenshots-p/integrations",        "https://playground.capturekit.dev",        "https://status.capturekit.dev"      ],      "internal": [        "https://capturekit.dev/",        "https://capturekit.dev/page-content",        "https://capturekit.dev/ai",        "https://capturekit.dev/pricing",        "https://capturekit.dev/login",        "https://capturekit.dev/sign-up",        "https://capturekit.dev/dashboard",        "https://capturekit.dev/blog/automate-website-screenshots-using-make-google-sheets-and-screenshot-api",        "https://capturekit.dev/blog/automate-website-screenshots-using-n8n-and-capturekit-website-capture-api",        "https://capturekit.dev/blog/capturekit-becoming-part-webapi",        "https://capturekit.dev/blog",        "https://capturekit.dev/use-cases/web-archiving",        "https://capturekit.dev/use-cases/ui-testing",        "https://capturekit.dev/use-cases/seo-tracking",        "https://capturekit.dev/use-cases/data-extraction",        "https://capturekit.dev/use-cases/ai-page-analysis",        "https://capturekit.dev/screenshot-api-use-cases",        "https://capturekit.dev/content-api-use-cases",        "https://capturekit.dev/ai-content-api-use-cases",        "https://capturekit.dev/alternatives/urlbox",        "https://capturekit.dev/alternatives/screenshotone",        "https://capturekit.dev/alternatives/screenshotapi",        "https://capturekit.dev/alternatives/apiflash",        "https://capturekit.dev/alternatives",        "https://capturekit.dev/screenshot-api-calculator",        "https://capturekit.dev/free-website-links-extractor",        "https://capturekit.dev/free-benchmark",        "https://capturekit.dev/terms",        "https://capturekit.dev/privacy"      ]    },    "metadata": {      "title": "Screenshot API to scale your applications",      "favicon": "",      "ogImage": "https://capturekit-assets.s3.amazonaws.com/capturekit-og+(1).png",      "description": "CaptureKit is a Screenshot API for automating website screenshots. Get 100 free credits to test it and see how it fits your use case."    }  },  "success": true}