Context API API · Company
Scrape HTML with the Context API API
Scrapes the given URL and returns the raw HTML content of the page. You call it with one looot token, no Context API account needed. It takes url as required input. Each call costs $0.0025 per call. Over the last 30 days looot ran it 47 times: 87.2% finished without an error, median answer 1.9 s.
- Price
- $0.0025 per call
- Success rate, 30 days
- 87.2%
- Runs, 30 days
- 47
- Access
- looot token only
Scrape HTML: call it from code
One POST to /v1/runs with your looot token, the endpoint id context-dev-web-scrape-html and an input. Values come from the stored input schema; a value in <angle brackets> is a placeholder the schema gives no example for.
| Input | Type | Value shown |
|---|---|---|
| url | string | schema example |
POST /v1/runs
curl -X POST 'https://api.looot.ai/v1/runs?wait=true' \
-H 'Authorization: Bearer YOUR_LOOOT_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"endpointId":"context-dev-web-scrape-html","input":{"url":"https://www.example.com"},"idempotencyKey":"<unique-idempotency-key>"}'import uuid
import requests
response = requests.post(
"https://api.looot.ai/v1/runs?wait=true",
headers={"Authorization": "Bearer YOUR_LOOOT_TOKEN"},
json={
"endpointId": "context-dev-web-scrape-html",
"input": {
"url": "https://www.example.com",
},
"idempotencyKey": str(uuid.uuid4()),
},
)
print(response.json())const response = await fetch("https://api.looot.ai/v1/runs?wait=true", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_LOOOT_TOKEN",
"Content-Type": "application/json",
},
body: JSON.stringify({
endpointId: "context-dev-web-scrape-html",
input: {
"url": "https://www.example.com"
},
idempotencyKey: crypto.randomUUID(),
}),
});
console.log(await response.json());Response: verified on real answers
{ url, html, type, success, metadata: { title, favicon, finalUrl, headings: { text, level }[], language, sourceUrl, additionalMeta: { viewport } }, request_id, key_metadata: { credits_consumed, credits_remaining }, finalDOMState, cache_metadata: { age_ms, status } }validated on 1 real answers.
Price and reliability
- Price formula
- $0.0025 per call
- Most one run can cost
- $0.0025
- Success rate, 30 days
- 87.2%
- Runs, 30 days
- 47
- Median answer time
- 1.9 s
- Last success
- Nov 6, 2026
Run numbers are looot's own runs of each endpoint over the last 30 days: the share that completed without an error, and the median time to answer. An endpoint with fewer than 10 runs in that window shows "not enough runs to rank" and is never ranked. Prices are what looot charges per call or per result, fee included, read from the live catalog; you prepay credit and each call is charged when it runs.
Other providers for this job
| Endpoint | Price | Success rate, 30 days |
|---|---|---|
| Get a page's raw HTMLZyte API | $0.00044 per call | 100% of 31 runs |
| Get a page as rendered HTMLZyte API | $0.01608 per call | not enough runs to rank |
More Context API endpoints
- Scrape a web page to markdown
$0.0025 per call
96.5% of 2,688 runs
- Search the web and read the results
$0.00025 per result
99.8% of 1,306 runs
- Search news about a company
$0.00025 per result
67.8% of 264 runs
- Screenshot a website
$0.0025 per call
91.7% of 216 runs
- Context API / Brand Search
$0.0025 per call
not enough runs to rank
Questions about the Context API API on looot
Give your agent every data provider, one key.
Everyone gets $2 in free credits once after sign-in and workspace selection. Then pay only for what you use.