Context API logo

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.

InputTypeValue shown
urlstringschema example

POST /v1/runs

Context API API request: curl
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>"}'

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

EndpointPriceSuccess rate, 30 days
Get a page's raw HTMLZyte API$0.00044 per call100% of 31 runs
Get a page as rendered HTMLZyte API$0.01608 per callnot enough runs to rank

More Context API endpoints

Questions about the Context API API on looot

Scrapes the given URL and returns the raw HTML content of the page. The base request costs 1 credit; requests with browser actions cost 2 credits. looot stores its output format, checked on real answers.

It costs $0.0025 per call. You keep a prepaid balance. The price is shown before each call runs, and you are charged only for calls that actually ran.

Send POST https://api.looot.ai/v1/runs with your looot token in the Authorization header and a body with endpointId "context-dev-web-scrape-html" and an input object (url). The looot CLI runs it with looot run context-dev-web-scrape-html, and the looot MCP server with its run tool.

Whether a miss costs money depends on the provider. Some bill only for found values. Some bill every call. A failed call costs nothing. You can request a refund of the unused part of the balance you paid for at any time. Run the job with fallback on and looot picks a provider that can answer now and tries the next on a miss.

Over the last 30 days looot ran it 47 times: 87.2% finished without an error, median answer 1.9 s.

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.