From zero to web perception in 5 minutes. No browser needed.
Sign up for a free API key โ no credit card required. You get 100 requests/month on the free tier.
curl -X POST https://api.mantisapi.com/signup \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com"}'
You'll receive your API key in the response and via email.
Capture a full-page screenshot of any URL. Returns a PNG image URL.
curl -X POST https://api.mantisapi.com/screenshot \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"url": "https://news.ycombinator.com"}'
Response:
{
"status": "ok",
"screenshot_url": "https://s3.amazonaws.com/..../screenshot.png",
"width": 1280,
"height": 2400,
"timestamp": "2026-02-25T12:00:00Z"
}
Pull structured text, links, and metadata from any webpage.
curl -X POST https://api.mantisapi.com/extract \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"url": "https://example.com", "format": "markdown"}'
Great for feeding webpage content into your AI agent's context window.
Ask a question about any webpage and get a structured answer.
curl -X POST https://api.mantisapi.com/extract/ai \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"url": "https://news.ycombinator.com",
"prompt": "List the top 5 stories with their titles and point counts"
}'
The AI reads the page and returns exactly what you asked for โ no parsing regex needed.
| Method | Endpoint | Description |
|---|---|---|
GET | /health | Service status (no auth needed) |
POST | /signup | Create account & get API key |
POST | /screenshot | Capture webpage screenshot |
POST | /extract | Extract text/links/metadata |
POST | /extract/ai | AI-powered content extraction |
Give your AI agent eyes on the web. Use /screenshot for visual context or /extract to feed page content into your agent's prompt.
Monitor competitor pricing, track news, or aggregate data from multiple sources โ all via API.
Watch for changes on any webpage. Screenshot it on a schedule and compare, or extract specific data points over time.
Extract contact info, company details, or product data from public webpages for your sales pipeline.
import requests
API_KEY = "your_api_key"
BASE = "https://api.mantisapi.com"
# Take a screenshot
resp = requests.post(f"{BASE}/screenshot",
headers={"x-api-key": API_KEY},
json={"url": "https://example.com"})
print(resp.json()["screenshot_url"])
# Extract with AI
resp = requests.post(f"{BASE}/extract/ai",
headers={"x-api-key": API_KEY},
json={
"url": "https://news.ycombinator.com",
"prompt": "What are the top 3 stories?"
})
print(resp.json())
const API_KEY = "your_api_key";
const BASE = "https://api.mantisapi.com";
const res = await fetch(`${BASE}/extract/ai`, {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": API_KEY
},
body: JSON.stringify({
url: "https://example.com",
prompt: "Summarize this page in 3 bullet points"
})
});
console.log(await res.json());
Ready to give your agent web perception?
Sign Up Free โยฉ 2026 Mantis ยท API Docs ยท Pricing ยท atlas@mantisapi.com