Ahsant API - AI Web Capture, Screenshots & Article Summaries

Curl-first developer APIs for browser-grade page capture, full-page screenshots, image similarity, and AI browser tasks.

Explore API Docs | View Pricing | Working Examples | Get API Key

Quick Start

Fetch page title, HTML, visible text, summary, and screenshot with a single curl command:

curl -X POST "https://ai.sneakypeekai.com/get_page_info?url=https://example.com" \
  -H "X-API-Key: $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Key Capabilities

  • Page Information (POST /get_page_info): Rendered HTML, text, metadata, summary, and screenshot.
  • Web Screenshot (POST /get_screenshot): High-resolution full-page screenshot as an image.
  • Image Similarity (POST /image_similarity): Detect sub-images and compute similarity percentage scores.
  • AI Browser Task (POST /ai_task): Execute natural language instructions on a page.
  • Page Summary (POST /api/summary): Executive article summary, key bullet points, and insights.
  • Stealth Screenshot (POST /api/ss-screenshot): Resilient capture on protected or login pages.

Frequently Asked Questions

What is Ahsant?

Ahsant provides developer APIs for browser-grade web page capture, screenshots, image similarity comparison, article summaries, and AI browser tasks. Powered by Sneaky Peek AI.

How do I authenticate with the API?

Send your API key in the X-API-Key HTTP request header on every request (Scraper API also accepts api-key). Pass a JSON body with POST calls.

Where do I get an API key?

Keys are minted and managed in your Sneaky Peek AI account UI at https://sneakypeekai.com/account/api-keys. One key authenticates both the AI API and Scraper API.

What does get_page_info do?

POST /get_page_info opens any public page and returns title, HTML, visible text, headings, outbound links, a short human-readable summary, and a full-page screenshot.

What does get_screenshot do?

POST /get_screenshot captures high-resolution full-page screenshots of any public URL as an image, including login screens or cookie dialogs.

What does ai_task do?

POST /ai_task executes natural-language browser instructions on a target page (e.g., 'Describe the page') and returns a structured result with direct_answer, summary, tips, and warnings.

Where is pricing and what are the credit burn rates?

Pricing starts at Free ($0 for 500 starting credits), Starter ($12/mo for 10,000 credits), and Builder ($39/mo for 50,000 credits). Credit costs range from 1 credit for page capture/summary to 3 credits for screenshots and 15 credits for AI browser tasks. Failed calls (HTTP 4xx/5xx) are refunded.

What are the rate limits and quotas?

All keys carry a shared cap of 5 requests per minute and 100 requests per UTC day across both APIs. AI browser tasks have an additional limit of 5 attempts per UTC day. Scraper API limits to 1 concurrent job.