Capture Screenshot

Retrieve capture Screenshot with the Context.dev API. Supply a formats and a URL. Sample fields include images and languages. Use the result as input for a related analysis or application.

Selected price
$0.002 / billing creditPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

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

{
  "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"
}

Response result

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

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Capture Screenshot with your agent

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