Back to catalog

Context Dev · Company

Context API / Scrape Images

Extract image assets from a web page, including standard URLs, inline SVGs, data URIs, responsive image sources, metadata, CSS backgrounds, video posters, and embeds. The base request costs 1 credit, or 2 credits with browser actions. When enrichment is enabled, the entire call costs 5 credits, including requests that also use actions.

Private Gateway connection

Data below comes from the configured private Gateway. Provider activation remains governed by its evidence and policy gates.

unverifiedRequest shape unavailableUnverified
Published API evidence
Public metadata only. Response bodies, credentials, and internal review notes are never displayed.

No verification date is claimed. No response capture is claimed.

Request parameters

  • actions query · optional

    Optional browser actions executed in array order after the page loads and before content is captured. Requires a paid plan. Send a JSON array in the query parameter. Maximum: 5 actions.

  • dedupe query · optional

    When true, visually duplicate images are removed: every image is loaded and perceptually hashed, and only the highest-resolution copy of each duplicate group is kept. Images that cannot be downloaded or hashed are kept. Default: false.

  • enrichment query · optional

    Optional per-image processing, sent as deep-object query params such as enrichment[resolution]=true.

  • headers query · optional

    Optional outbound HTTP headers forwarded only to the target URL, sent as deep-object query params such as headers[X-Custom]=value. When provided, caching is bypassed: the result is neither read from nor written to cache.

  • maxAgeMs query · optional

    Reuse a cached result this many milliseconds old or newer. Default: 86400000 (1 day). Set to 0 to bypass cache. Maximum: 2592000000 (30 days).

  • tags query · optional

    Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.

  • timeoutMS query · optional

    Optional timeout in milliseconds for the request. If the request takes longer than this value, it will be aborted with a 408 status code. Maximum allowed value is 300000ms (5 minutes).

  • url query · required

    Page URL to inspect. Must include http:// or https://. Example: "https://www.example.com"

  • waitForMs query · optional

    Optional browser wait time in milliseconds after initial page load before collecting images. Min: 0. Max: 30000 (30 seconds).

Sign in to run this operation, inspect live eligibility, and see governed execution and audit evidence. Sign in.

Context API / Scrape Images · looot