The CaptureKit Analyze API reads a website and returns AI insights: summary, value proposition, features, categories, use cases and optional contact signals.
- Analyze (AI) API — AI Content API analyzes any webpage and returns AI insights summary, value proposition, features, categories, use cases, and optional contact signals.
Use it for lead enrichment, competitor intelligence, directories and sales research.
| Endpoint | Request | Credits |
|---|---|---|
| Analyze (AI) API | GET /v1/analyze |
1 |
- How it works
- Analyze (AI) API
- Code examples in other languages
- Use cases
- Why CaptureKit?
- FAQ
- Related repositories
- Support
- Create a CaptureKit account and copy your API key from the dashboard.
- Call
https://api.capturekit.devwith the headerx-api-key: YOUR_API_KEY. - Use the result in your app — no infrastructure to run.
export CAPTUREKIT_API_KEY="your-api-key"
pip install requests # Python
# TypeScript: Node.js 18+ (native fetch), run with `npx tsx file.ts`AI Content API analyzes any webpage and returns AI insights summary, value proposition, features, categories, use cases, and optional contact signals.
GET https://api.capturekit.dev/v1/analyze · 1 credit per request · API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
url |
query | string | ✅ | The URL of the webpage to capture. |
custom_response |
query | string | — | Pass custom response fields to be included in the AI response. |
custom_prompt |
query | string | — | Add your own instructions to guide the AI’s analysis. |
proxy |
query | string | — | Specify a proxy server to route your request through. |
cache |
query | boolean | — | Cache the response. |
cache_ttl |
query | number | — | Cache the response for a custom TTL (in seconds). |
import os
import requests
API_KEY = os.environ["CAPTUREKIT_API_KEY"]
HEADERS = {"x-api-key": API_KEY}
response = requests.get(
"https://api.capturekit.dev/v1/analyze",
headers=HEADERS,
params={
"url": "https://github.com/seaweedfs/seaweedfs",
},
timeout=120,
)
response.raise_for_status()
data = response.json()
print(data)type AnalyzeAiApi = {
data?: {
emails?: string[];
summary?: string;
useCases?: string[];
categories?: string[];
keyFeatures?: string[];
phoneNumbers?: string[];
targetAudience?: string;
valueProposition?: string;
};
success?: boolean;
};
const headers = { "x-api-key": process.env.CAPTUREKIT_API_KEY!, "Content-Type": "application/json" };
const params = new URLSearchParams({
"url": "https://github.com/seaweedfs/seaweedfs",
});
const response = await fetch(`https://api.capturekit.dev/v1/analyze?${params}`, { headers });
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
const data = (await response.json()) as AnalyzeAiApi;
console.log(data);Example response from the API reference, abridged.
{
"data": {
"emails": [
"admin@company.com"
],
"summary": "Tailwind CSS is a utility-first CSS framework for modern web design.",
"useCases": [
"Building websites",
"Customizing themes"
],
"categories": [
"Web Development",
"CSS Frameworks"
],
"keyFeatures": [
"Responsive design",
"Dark mode"
],
"phoneNumbers": [
"+13322767084"
],
"targetAudience": "Web developers and designers.",
"valueProposition": "A flexible CSS framework packed with utility classes."
},
"success": true
}| Field | Type | Description |
|---|---|---|
data |
object | |
data.emails |
string[] | |
data.summary |
string | |
data.useCases |
string[] | |
data.categories |
string[] | |
data.keyFeatures |
string[] | |
data.phoneNumbers |
string[] | |
data.targetAudience |
string | |
data.valueProposition |
string | |
success |
boolean |
Ready-to-run examples live in examples/; each reads your key from CAPTUREKIT_API_KEY.
| Language | analyze |
|---|---|
| cURL (Bash) | analyze.sh |
| PHP | analyze.php |
| C# | Analyze.cs |
| Go | analyze.go |
| Java | AnalyzeExample.java |
| Ruby | analyze.rb |
| Node.js | analyze.mjs |
- Lead enrichment — Qualify companies from their website.
- Competitor intelligence — Summarise competitors' positioning at scale.
- Screenshots as a service — the response body is the image or PDF; save it or upload it straight to your S3 bucket.
- Pixel-perfect options — full page, viewport size, scale factor, element
selector, 18 mobile/tablet devices, delays and wait conditions. - Clean pages — remove cookie banners, ads and any CSS selector before capturing.
- Beyond screenshots — extract content (metadata, links, HTML, Markdown) or get an AI analysis of any page.
- Copy-paste examples — Python and TypeScript in each README, 7 more languages in
examples/.
Create an account on CaptureKit, copy your API key and send it in the x-api-key header of every request to https://api.capturekit.dev.
Credits per call: /v1/analyze 1. See CaptureKit pricing.
Any language that can make an HTTP request. This README shows Python and TypeScript; the examples/ folder contains cURL, PHP, C#, Go, Java, Ruby and Node.js.
- Screenshot API
- Full Page Screenshot API
- Website to PDF API
- Mobile Screenshot API
- Website Content API
- Website Crawler API
- All CaptureKit repositories
- 💬 Join the Discord to ask questions and share what you build.
- 📚 Read the API reference.
- 🔑 Get your API key.
Built by CaptureKit. Examples are released under the MIT license.
