OpenAny
Get API keyAPI Key
APIDataScrapers

Context.dev logo
Context.Dev Capture Screenshot API

Get Context.Dev Capture Screenshot data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Context-dev, pass parameters such as formats, url, and retrieve structured data including business payload, returned requested field, returned success value, reported status, and returned age ms field to search interfaces and source review, and integration reference.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Context.Dev Capture Screenshot API

Prepare your request, then continue with your agent.

Selected price

$0.002 / billing credit

A billing credit measures provider usage. Credits consumed depend on the operation and request options; one credit is not necessarily one call.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Context.Dev Capture Screenshot API

Context.dev — Capture Screenshot API

Retrieve capture Screenshot with the Context.dev API. Provide url in body, formats in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs body: body
Selected implementation context-dev · Context.dev — Capture Screenshot
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

What You Can Build

  • Search interfaces and source review: Keep returned sources and query context together.
  • Integration reference: Use the selected request format and keep source identifiers with the returned result.

Documented Response Fields

Field Meaning
bytes.data Business payload (nullable in the reference)
bytes.requested Returned requested field
bytes.success Returned success value (nullable in the reference)
cache_metadata.status Reported status
cache_metadata.age_ms Returned age ms field
highlights.data Business payload (nullable in the reference)
highlights.requested Returned requested field
highlights.success Returned success value (nullable in the reference)

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/context-dev/v1/web/screenshot' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "formats": {
    "screenshot": true
  },
  "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
}'

Request and Response Examples

The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.

Published Context.dev — Capture Screenshot API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*object

body

Capture a rendered screenshot of a website.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
Context.dev — Capture Screenshot · POST · View API reference$0.002 / billing credit0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · context-devUSD / billing credit
Unit price
$0.002

A billing credit measures provider usage. Credits consumed depend on the operation and request options; one credit is not necessarily one call.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/context-dev/v1/web/screenshot
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
formatsJSON request bodybodyobjectYes

const: {"screenshot":true}

urlJSON request bodybodystringYes

format: uri · pattern: ^https?://

maxAgeMsJSON request bodybodyintegerNo

minimum: 0 · maximum: 31536000000

screenshotParamsJSON request bodybodyobjectNo

additionalProperties: false

Nested fields and variants
body.screenshotParams.area string | object · Optional

Parent object: body.screenshotParams

Nested fields and variants

object

Nested fields and variants
body.screenshotParams.area.selector string · Required

Parent object: body.screenshotParams.area

maxLength: 2048 · pattern: \S

object

Nested fields and variants
body.screenshotParams.area.height integer · Required

Parent object: body.screenshotParams.area

minimum: 1 · maximum: 100000

body.screenshotParams.area.width integer · Required

Parent object: body.screenshotParams.area

minimum: 1 · maximum: 7680

body.screenshotParams.area.x integer · Required

Parent object: body.screenshotParams.area

minimum: 0 · maximum: 100000

body.screenshotParams.area.y integer · Required

Parent object: body.screenshotParams.area

minimum: 0 · maximum: 100000

body.screenshotParams.format string · Optional

Parent object: body.screenshotParams

enum: "png", "jpeg", "webp"

sharedParamsJSON request bodybodyobjectNo

additionalProperties: false

Nested fields and variants
body.sharedParams.actions array · Optional

Parent object: body.sharedParams

minItems: 1 · maxItems: 5

Nested fields and variants

body.sharedParams.actions[] · Array item · object

Nested fields and variants

object

Nested fields and variants
body.sharedParams.actions[].action string · Required

Parent object: body.sharedParams.actions[]

minLength: 1 · maxLength: 500

body.sharedParams.actions[].type string · Required

Parent object: body.sharedParams.actions[]

enum: "perform"

object

Nested fields and variants
body.sharedParams.actions[].amount integer | string · Optional

Parent object: body.sharedParams.actions[]

body.sharedParams.actions[].direction string · Optional

Parent object: body.sharedParams.actions[]

enum: "down", "up", "left", "right"

body.sharedParams.actions[].maxScrolls integer · Optional

Parent object: body.sharedParams.actions[]

minimum: 1 · maximum: 50

body.sharedParams.actions[].selector string · Optional

Parent object: body.sharedParams.actions[]

maxLength: 2000 · pattern: \S

body.sharedParams.actions[].type string · Required

Parent object: body.sharedParams.actions[]

enum: "scroll"

object

Nested fields and variants
body.sharedParams.actions[].milliseconds integer · Required

Parent object: body.sharedParams.actions[]

minimum: 0 · maximum: 30000

body.sharedParams.actions[].type string · Required

Parent object: body.sharedParams.actions[]

enum: "wait"

object

Nested fields and variants
body.sharedParams.actions[].selector string · Required

Parent object: body.sharedParams.actions[]

maxLength: 2048 · pattern: \S

body.sharedParams.actions[].type string · Required

Parent object: body.sharedParams.actions[]

enum: "waitFor"

body.sharedParams.country string · Optional

Parent object: body.sharedParams

pattern: ^[A-Za-z]{2}$

body.sharedParams.dismissCookies boolean · Optional

Parent object: body.sharedParams

body.sharedParams.dismissPopups boolean · Optional

Parent object: body.sharedParams

body.sharedParams.excludeSelectors array · Optional

Parent object: body.sharedParams

minItems: 1 · maxItems: 50

Nested fields and variants

body.sharedParams.excludeSelectors[] · Array item · string

body.sharedParams.headers object · Optional

Parent object: body.sharedParams

Nested fields and variants

body.sharedParams.headers.{name} · Named entries · string

body.sharedParams.includeFrames boolean · Optional

Parent object: body.sharedParams

body.sharedParams.includeSelectors array · Optional

Parent object: body.sharedParams

minItems: 1 · maxItems: 50

Nested fields and variants

body.sharedParams.includeSelectors[] · Array item · string

body.sharedParams.mainContentOnly boolean · Optional

Parent object: body.sharedParams

body.sharedParams.parsers object · Optional

Parent object: body.sharedParams

additionalProperties: false

Nested fields and variants
body.sharedParams.parsers.pdf object · Optional

Parent object: body.sharedParams.parsers

additionalProperties: false

Nested fields and variants
body.sharedParams.parsers.pdf.endPage integer · Optional

Parent object: body.sharedParams.parsers.pdf

minimum: 1

body.sharedParams.parsers.pdf.ocr string · Optional

Parent object: body.sharedParams.parsers.pdf

enum: "off", "auto"

body.sharedParams.parsers.pdf.startPage integer · Optional

Parent object: body.sharedParams.parsers.pdf

minimum: 1

body.sharedParams.profile object · Optional

Parent object: body.sharedParams

Nested fields and variants

existing

Nested fields and variants
body.sharedParams.profile.profileId string · Required

Parent object: body.sharedParams.profile

pattern: ^prof_[a-f0-9]{32}$

body.sharedParams.profile.type string · Required

Parent object: body.sharedParams.profile

const: "existing"

new

Nested fields and variants
body.sharedParams.profile.identifier string · Required

Parent object: body.sharedParams.profile

minLength: 1 · maxLength: 1024

body.sharedParams.profile.password string · Required

Parent object: body.sharedParams.profile

minLength: 1 · maxLength: 4096

body.sharedParams.profile.type string · Required

Parent object: body.sharedParams.profile

const: "new"

body.sharedParams.settleAnimations boolean · Optional

Parent object: body.sharedParams

body.sharedParams.theme string · Optional

Parent object: body.sharedParams

enum: "light", "dark"

body.sharedParams.viewport object · Optional

Parent object: body.sharedParams

additionalProperties: false

Nested fields and variants
body.sharedParams.viewport.height integer · Optional

Parent object: body.sharedParams.viewport

minimum: 240 · maximum: 4320

body.sharedParams.viewport.width integer · Optional

Parent object: body.sharedParams.viewport

minimum: 240 · maximum: 7680

body.sharedParams.waitFor integer | string · Optional

Parent object: body.sharedParams

tagsJSON request bodybodyarrayNo

maxItems: 20

Nested fields and variants

body.tags[] · Array item · string

timeoutOptsJSON request bodybodyobjectNo

additionalProperties: false

Nested fields and variants
body.timeoutOpts.behavior string · Optional

Parent object: body.timeoutOpts

enum: "fail", "return-partial"

body.timeoutOpts.milliseconds integer · Required

Parent object: body.timeoutOpts

minimum: 1 · maximum: 300000

zdrJSON request bodybodystringNo

enum: "enabled", "disabled"

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • bytesobject
    • datanull
    • requestedboolean
    • successnull
  • cache_metadataobject
    • age_msinteger
    • statusstring
  • highlightsobject
    • datanull
    • requestedboolean
    • successnull
  • htmlobject
    • datanull
    • requestedboolean
    • successnull
  • imagesobject
    • datanull
    • requestedboolean
    • successnull
  • jsonobject
    • datanull
    • requestedboolean
    • successnull
  • key_metadataobject
    • credits_consumedinteger
  • markdownobject
    • datanull
    • requestedboolean
    • successnull
  • metadataobject
    • additionalMetaobject
      • content-typestring
      • createdstring
      • viewportstring
    • descriptionstring
    • faviconstring
    • headingsobject[]
      • levelinteger
      • textstring
    • languagestring
    • robotsstring
    • titlestring
  • parsedobject
    • datanull
    • requestedboolean
    • successnull
    • typestring
  • productobject
    • datanull
    • requestedboolean
    • successnull
  • profilenull
  • request_idstring
  • screenshotobject
    • datastring
    • requestedboolean
    • successboolean
  • urlstring

Usage billing

A billing credit measures provider usage. Credits consumed depend on the operation and request options; one credit is not necessarily one call.

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Documentation example (source abbreviated)

Published documentation example. Verify the actual response after an approved call.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 1

    Review these request fields before running. Keep the published provider and request method unchanged.

    body
    Capture a rendered screenshot of a website.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/context-dev/v1/web/screenshot' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "formats": {
        "screenshot": true
      },
      "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "bytes": {
        "data": null,
        "requested": false,
        "success": null
      },
      "cache_metadata": {
        "age_ms": 12691808,
        "status": "hit"
      },
      "highlights": {
        "data": null,
        "requested": false,
        "success": null
      },
      "html": {
        "data": null,
        "requested": false,
        "success": null
      },
      "images": {
        "data": null,
        "requested": false,
        "success": null
      },
      "json": {
        "data": null,
        "requested": false,
        "success": null
      },
      "key_metadata": {
        "credits_consumed": 1
      },
      "markdown": {
        "data": null,
        "requested": false,
        "success": null
      },
      "metadata": {
        "additionalMeta": {
          "content-type": "text/html; charset=UTF-8",
          "created": "24th Jun 2016 09:29",
          "viewport": "width=device-width"
        },
        "description": "It's hard to imagine a world without A Light in the Attic. This now-classic collection of poetry and drawings from Shel Silverstein celebrates its 20th anniversary with this special edition. Silverstein's humorous and creative verse can amuse the dowdiest of readers. Lemon-faced adults and fidgety kids sit still and read these rhythmic words and laugh and smile and love th It's hard to imagine a world without A Light in the Attic. This now-classic collection of poetry and drawings from Shel Silverstein celebrates its 20th anniversary with this special edition. Silverstein's humorous and creative verse can amuse the dowdiest of readers. Lemon-faced adults and fidgety kids sit still and read these rhythmic words and laugh and smile and love that Silverstein. Need proof of his genius? RockabyeRockabye baby, in the treetopDon't you know a treetopIs no safe place to rock?And who put you up there,And your cradle, too?Baby, I think someone down here'sGot it in for you. Shel, you never sounded so good. ...more",
        "favicon": "https://books.toscrape.com/static/oscar/favicon.ico",
        "headings": [
          {
            "level": 1,
            "text": "A Light in the Attic"
          },
          {
            "level": 2,
            "text": "Product Description"
          },
          {
            "level": 2,
            "text": "Product Information"
          }
        ],
        "language": "en-us",
        "robots": "NOARCHIVE,NOCACHE",
        "title": "A Light in the Attic | Books to Scrape - Sandbox"
      },
      "parsed": {
        "data": null,
        "requested": false,
        "success": null,
        "type": "custom"
      },
      "product": {
        "data": null,
        "requested": false,
        "success": null
      },
      "profile": null,
      "request_id": "e5e351f0-79ab-41b8-9c72-497be44e3426",
      "screenshot": {
        "data": "<OMITTED: full PNG data URI retained in saved runtime evidence>",
        "requested": true,
        "success": true
      },
      "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
    }

Common questions

Which inputs identify this request?

Provide url in body (string); formats in body (object). Keep identifiers and URLs in the formats documented for this implementation.

How should I structure the JSON body?

Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

How should I map the returned fields?

Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

Can I reuse request parameters from another endpoint?

Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use Context.Dev Capture Screenshot API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.