CaptureKit

Analyze (AI)

GET
/v1/analyze

AI Content API analyzes any webpage and returns AI insights summary, value proposition, features, categories, use cases, and optional contact signals.

Credit cost: 1 credit per call

Authentification

ApiKeyAuth
headerx-api-key<token>

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

Paramètres de requête

url*string

The URL of the webpage to capture.

custom_response?string

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

Add your own instructions to guide the AI’s analysis.

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

Corps de la réponse

Successful response

application/json
  1. response
data?
success?boolean
Example Request
curl -X GET 'https://api.capturekit.dev/v1/analyze?url=string'
Example Response
{  "data": {    "emails": [      "admin@company.com"    ],    "summary": "Tailwind CSS is a utility-first CSS framework for modern web design.",    "useCases": [      "Building websites",      "Customizing themes",      "Managing CSS specificity"    ],    "categories": [      "Web Development",      "CSS Frameworks",      "Frontend Development",      "Responsive Design"    ],    "keyFeatures": [      "Responsive design",      "Dark mode",      "Animations",      "Grid layout"    ],    "phoneNumbers": [      "+13322767084"    ],    "targetAudience": "Web developers and designers.",    "valueProposition": "A flexible CSS framework packed with utility classes."  },  "success": true}