AI Content API
The AI Content API processes webpage content to generate meaningful summaries, extract key features, and analyze its purpose.
Endpoint
https://api.capturekit.dev/analyze
Example Request
GET https://api.capturekit.dev/analyze?access_key=<your-access-key>&url=https://tailwindcss.com
Response
{
"success": true,
"data": {
"summary": "Tailwind CSS is a utility-first CSS framework for modern web design.",
"valueProposition": "A flexible CSS framework packed with utility classes.",
"keyFeatures": [
"Responsive design",
"Dark mode",
"Animations",
"Grid layout"
],
"categories": [
"Web Development",
"CSS Frameworks",
"Frontend Development",
"Responsive Design"
],
"useCases": [
"Building websites",
"Customizing themes",
"Managing CSS specificity"
],
"targetAudience": "Web developers and designers.",
"emails": ["admin@company.com"],
"phoneNumbers": ["+13322767084"]
}
}
Parameters
url
string Required
The URL of the webpage to capture.
access_key
string Required
Your API access key. Can be provided via the access_key
query parameter, x-access-key
header, or request body.
custom_response
object | string Optional
Pass custom response fields to be included in the AI response. This can be provided in two ways:
As a JSON object in the request body
As a JSON stringified object in the query parameters
Example:
{
"sentiment": "sentiment",
"language": "language"
}
custom_prompt
string Optional
Add your own instructions to guide the AI’s analysis.
proxy
string Optional
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 Optional Defaults to false
Cache the response.
cache_ttl
number Optional Defaults to 2592000
Cache the response for a custom TTL (in seconds). Maximum 2592000
seconds (1 month), minimum 3600
seconds (1 hour).