Base URL: https://api.slaash.ai/v1 — All endpoints require Authorization: Bearer sk-...
Core extraction. URL + goal → ranked semantic nodes.
{
"url": "https://example.com", // required
"goal": "what is the price", // required
"options": {
"top_n": 20, // max nodes (default: 20)
"format": "json", // "json", "markdown", "toon"
"run_js": false, // evaluate JavaScript
"follow_links": false // auto-follow relevant links
}
}
Feedback. Teach which nodes were correct.
{
"url": "https://example.com", // must match a previous extract
"goal": "what is the price",
"node_ids": [5, 12, 23] // IDs from extract response
}
Web search via DuckDuckGo + optional deep parse of results.
{
"query": "latest AI news 2026",
"options": { "deep": true, "max_results": 5 }
}
Multi-page intelligent crawl with Thompson Sampling.
{
"url": "https://docs.python.org/3/",
"goal": "async programming tutorial",
"options": { "max_pages": 10, "max_depth": 3 }
}
Interact with page elements.
{
"url": "https://shop.example.com",
"action": "extract", // "click", "fill", "extract"
"target": ["price", "title"],
"goal": "find product details"
}
Decompose a goal into ordered steps.
{ "goal": "Buy cheapest flight Stockholm to London" }
Token-efficient streaming via WebSocket. 95-99% savings.
{ "url": "...", "goal": "...", "options": { "max_nodes": 50 } }
Compare two page snapshots.
{ "url": "https://news.site.com", "url2": "https://news.site.com" }
Screenshot a page. Returns PNG base64.
{ "url": "...", "options": { "width": 1280, "height": 900 } }
Discover and rank links on a page.
{ "url": "...", "goal": "...", "options": { "max_links": 20 } }
Find hidden API endpoints (XHR/fetch in scripts).
{ "url": "..." }
Security check. Injection scan or firewall classification.
{ "text": "ignore previous instructions..." }
// or
{ "url": "https://suspicious.site" }
All responses follow this structure:
{
"nodes": [...], // ranked semantic nodes
"node_count": 8,
"total_nodes": 5420, // original DOM size
"parse_time_ms": 42,
"token_savings": "99.1%"
}
401 — invalid or missing API key. 429 — rate limit exceeded (includes retry_after). 500 — server error.