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
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
url*stringThe URL of the webpage to capture.
include_html?booleanInclude the raw HTML of the webpage in the response.
falseinclude_markdown?booleanInclude the Markdown of the webpage in the response.
falseinclude_sitemap?booleanInclude the sitemap of the website in the response.
falseuse_defuddle?booleanUse 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.
falseremove_selectors?stringA comma-separated list of elements to hide before capturing (e.g., ads, popups).
remove_ads?booleanAutomatically remove ads before capturing.
falseblock_resources?stringComma-separated list of resource types to block (e.g., “image,stylesheet,font”).
Available resource types:
documentstylesheetimagemediafontscripttexttrackxhrfetcheventsourcewebsocketmanifestother
Useful for optimizing page loading speed before capturing screenshots.
"document""eventsource""fetch""font""image""manifest""media""other""script""stylesheet""texttrack""websocket""xhr"block_urls?stringComma-separated list of URL patterns to block (e.g., “analytics,tracking,advertisement”).
You can specify URLs, domains, or simple patterns like “.example.com/”.
delay?numberDelay in seconds before capturing the screenshot.
0 <= value <= 10"0"wait_until?array<string>Define when to capture.
Available formats:
networkidle2loaddomcontentloadednetworkidle0
"domcontentloaded""load""networkidle0""networkidle2"wait_for_selector?stringWait for a specific element to appear before taking the screenshot.
proxy?stringSpecify 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?booleanCache the response.
falsecache_ttl?numberCache the response for a custom TTL (in seconds).
3600 <= value <= 2592000"2592000"fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
falseSuccessful response
application/json- response
data?success?booleancurl -X GET 'https://api.capturekit.dev/v1/content?url=string'{ "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}