APIDataScrapers

Crawl Website

Retrieve crawl Website with the Context.dev API. Supply a URL. Sample fields include languages and titles. Use the result as input for a related analysis or application.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

Crawl Website

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

Playground

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

Request parameters
body* object
Optional parameters (22)
excludeSelectors array | null
includeSelectors array | null
pdf object
sourcePreference array
tags array
timeoutOpts object
Crawl a website and return clean Markdown for every page crawled.

Sample response

{
  "cache_metadata": {
    "age_ms": 12680911,
    "status": "hit"
  },
  "key_metadata": {
    "credits_consumed": 1
  },
  "metadata": {
    "maxCrawlDepth": 0,
    "numFailed": 0,
    "numSkipped": 0,
    "numSucceeded": 1,
    "numUrls": 1
  },
  "request_id": "a41e2724-6c25-483f-b35b-ddbb8bd3ea62",
  "results": [
    {
      "markdown": "[Books to Scrape](https://books.toscrape.com/index.html) We love being scraped!\n\n- [Home](https://books.toscrape.com/index.html)\n- [Books](https://books.toscrape.com/catalogue/category/books_1/index.html)\n- [Poetry](https://books.toscrape.com/catalogue/category/books/poetry_23/index.html)\n- A Light in the Attic\n\n# A Light in the Attic\n\n£51.77\n\nIn stock (22 available)\n\n---\n\n**Warning!** This is a demo website for web scraping purposes. Prices and ratings here were randomly assigned and have no real meaning.\n\n## Product Description\n\nIt'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\n\n## Product Information\n\nUPC | a897fe39b1053632\nProduct Type | Books\nPrice (excl. tax) | £51.77\nPrice (incl. tax) | £51.77\nTax | £0.00\nAvailability | In stock (22 available)\nNumber of reviews | 0",
      "metadata": {
        "additionalMeta": {
          "content-type": "text/html; charset=UTF-8",
          "created": "24th Jun 2016 09:29",
          "viewport": "width=device-width"
        },
        "crawlDepth": 0,
        "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",
        "finalUrl": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
        "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",
        "sourceUrl": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
        "statusCode": 200,
        "success": true,
        "title": "A Light in the Attic | Books to Scrape - Sandbox",
        "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
      }
    }
  ]
}

Response result

Response structure

Inferred from examples
  • cache_metadataobject
    • age_msinteger
    • statusstring
  • key_metadataobject
    • credits_consumedinteger
  • metadataobject
    • maxCrawlDepthinteger
    • numFailedinteger
    • numSkippedinteger
    • numSucceededinteger
    • numUrlsinteger
  • request_idstring
  • resultsobject[]
    • markdownstring
    • metadataobject
      • additionalMetaobject
        • content-typestring
        • createdstring
        • viewportstring
      • crawlDepthinteger
      • descriptionstring
      • faviconstring
      • finalUrlstring
      • headingsobject[]
        • levelinteger
        • textstring
      • languagestring
      • robotsstring
      • sourceUrlstring
      • statusCodeinteger
      • successboolean
      • titlestring
      • urlstring

Sellers

SellerPricingRequests · 30dPerformanceAccess
Context.dev — Crawl Website · POST · View API reference$0.002 / billing credit—
—successP50—
Loading...
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: 3. Price update time: not supplied.

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/context-dev/v1/web/crawl
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api.openany.si/v1/agent-apis/context-dev/v1/web/crawl' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "maxDepth": 0,
  "maxPages": 1,
  "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
}'

Input parameters

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

ParameterLocationTypeRequiredDescription
countryJSON request bodybodystringNo

enum: "ad", "ae", "af", "ag", "ai", "al", "am", "ao", "ar", "at", "au", "aw", "az", "ba", "bb", "bd", "be", "bf", "bg", "bh", "bi", "bj", "bm", "bn", "bo", "bq", "br", "bs", "bw", "by", "bz", "ca", "cd", "cf", "cg", "ch", "ci", "cl", "cm", "cn", "co", "cr", "cv", "cw", "cy", "cz", "de", "dj", "dk", "dm", "do", "dz", "ec", "ee", "eg", "es", "et", "fi", "fj", "fr", "ga", "gb", "gd", "ge", "gf", "gg", "gh", "gm", "gn", "gp", "gq", "gr", "gt", "gu", "gw", "gy", "hk", "hn", "hr", "ht", "hu", "id", "ie", "il", "im", "in", "iq", "ir", "is", "it", "je", "jm", "jo", "jp", "ke", "kg", "kh", "kn", "kr", "kw", "ky", "kz", "la", "lb", "lc", "lk", "lr", "ls", "lt", "lu", "lv", "ly", "ma", "mc", "md", "me", "mf", "mg", "mk", "ml", "mm", "mn", "mo", "mq", "mr", "mt", "mu", "mv", "mw", "mx", "my", "mz", "na", "nc", "ne", "ng", "ni", "nl", "no", "np", "nz", "om", "pa", "pe", "pf", "pg", "ph", "pk", "pl", "pr", "ps", "pt", "py", "qa", "re", "ro", "rs", "ru", "rw", "sa", "sc", "sd", "se", "sg", "si", "sk", "sl", "sm", "sn", "so", "sr", "ss", "st", "sv", "sx", "sy", "sz", "tc", "td", "tg", "th", "tj", "tl", "tm", "tn", "tr", "tt", "tw", "tz", "ua", "ug", "us", "uy", "uz", "vc", "ve", "vg", "vi", "vn", "ye", "yt", "za", "zm", "zw"

excludeSelectorsJSON request bodybodyarray | nullNo

maxItems: 50

Nested fields and variants

body.excludeSelectors[] · Array item · string

excludeUrlRegexJSON request bodybodystringNo

maxLength: 256

followSubdomainsJSON request bodybodybooleanNo
includeFramesJSON request bodybodybooleanNo
includeImagesJSON request bodybodybooleanNo
includeLinksJSON request bodybodybooleanNo
includeSelectorsJSON request bodybodyarray | nullNo

maxItems: 50

Nested fields and variants

body.includeSelectors[] · Array item · string

maxAgeMsJSON request bodybodyinteger | nullNo

minimum: 0 · maximum: 2592000000

maxDepthJSON request bodybodyintegerNo

minimum: 0

maxPagesJSON request bodybodyintegerNo

minimum: 1 · maximum: 500

pdfJSON request bodybodyobjectNo

additionalProperties: false

Nested fields and variants
body.pdf.end integer · Optional

Parent object: body.pdf

minimum: 1

body.pdf.ocr boolean · Optional

Parent object: body.pdf

body.pdf.shouldParse boolean · Optional

Parent object: body.pdf

body.pdf.start integer · Optional

Parent object: body.pdf

minimum: 1

settleAnimationsJSON request bodybodybooleanNo
shortenBase64ImagesJSON request bodybodybooleanNo
sourcePreferenceJSON request bodybodyarrayNo

minItems: 1

Nested fields and variants

body.sourcePreference[] · Array item · string

stopAfterMsJSON request bodybodyintegerNo

minimum: 10000 · maximum: 110000

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: 1000 · maximum: 300000

urlJSON request bodybodystringYes

minLength: 1 · format: uri

urlRegexJSON request bodybodystringNo

maxLength: 256

useMainContentOnlyJSON request bodybodybooleanNo
waitForMsJSON request bodybodyinteger | nullNo

minimum: 0 · maximum: 30000

zdrJSON request bodybodystringNo

enum: "enabled", "disabled"

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

Sample response

Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.

Documentation example (source abbreviated)
{
  "cache_metadata": {
    "age_ms": 12680911,
    "status": "hit"
  },
  "key_metadata": {
    "credits_consumed": 1
  },
  "metadata": {
    "maxCrawlDepth": 0,
    "numFailed": 0,
    "numSkipped": 0,
    "numSucceeded": 1,
    "numUrls": 1
  },
  "request_id": "a41e2724-6c25-483f-b35b-ddbb8bd3ea62",
  "results": [
    {
      "markdown": "[Books to Scrape](https://books.toscrape.com/index.html) We love being scraped!\n\n- [Home](https://books.toscrape.com/index.html)\n- [Books](https://books.toscrape.com/catalogue/category/books_1/index.html)\n- [Poetry](https://books.toscrape.com/catalogue/category/books/poetry_23/index.html)\n- A Light in the Attic\n\n# A Light in the Attic\n\n£51.77\n\nIn stock (22 available)\n\n---\n\n**Warning!** This is a demo website for web scraping purposes. Prices and ratings here were randomly assigned and have no real meaning.\n\n## Product Description\n\nIt'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\n\n## Product Information\n\nUPC | a897fe39b1053632\nProduct Type | Books\nPrice (excl. tax) | £51.77\nPrice (incl. tax) | £51.77\nTax | £0.00\nAvailability | In stock (22 available)\nNumber of reviews | 0",
      "metadata": {
        "additionalMeta": {
          "content-type": "text/html; charset=UTF-8",
          "created": "24th Jun 2016 09:29",
          "viewport": "width=device-width"
        },
        "crawlDepth": 0,
        "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",
        "finalUrl": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
        "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",
        "sourceUrl": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
        "statusCode": 200,
        "success": true,
        "title": "A Light in the Attic | Books to Scrape - Sandbox",
        "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
      }
    }
  ]
}

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.

View API Markdown
API Markdown
# Crawl Website

Retrieve crawl Website with the Context.dev API. Supply a URL. Sample fields include languages and titles. Use the result as input for a related analysis or application.
## Available implementations
context-dev · Context.dev — Crawl Website: https://openany.si/markets/apis/capabilities/context-dev-crawl-website?offering=4366dc9a-48f3-4e02-bd25-213f14557255 · $0.002 / billing credit

## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/context-dev-crawl-website
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/context-dev/v1/web/crawl
Price: $0.002 / billing credit
Pricing note: A billing credit measures provider usage. Credits consumed depend on the operation and request options; one credit is not necessarily one call.
Provider: context-dev
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Prepared request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/context-dev/v1/web/crawl' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "maxDepth": 0,
  "maxPages": 1,
  "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
}'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "Context.dev — Crawl Website",
  "endpoint": "https://api.openany.si/v1/agent-apis/context-dev/v1/web/crawl",
  "method": "POST",
  "content_type": "application/json",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "Crawl a website and return clean Markdown for every page crawled.",
      "json_schema": {
        "properties": {
          "country": {
            "enum": [
              "ad",
              "ae",
              "af",
              "ag",
              "ai",
              "al",
              "am",
              "ao",
              "ar",
              "at",
              "au",
              "aw",
              "az",
              "ba",
              "bb",
              "bd",
              "be",
              "bf",
              "bg",
              "bh",
              "bi",
              "bj",
              "bm",
              "bn",
              "bo",
              "bq",
              "br",
              "bs",
              "bw",
              "by",
              "bz",
              "ca",
              "cd",
              "cf",
              "cg",
              "ch",
              "ci",
              "cl",
              "cm",
              "cn",
              "co",
              "cr",
              "cv",
              "cw",
              "cy",
              "cz",
              "de",
              "dj",
              "dk",
              "dm",
              "do",
              "dz",
              "ec",
              "ee",
              "eg",
              "es",
              "et",
              "fi",
              "fj",
              "fr",
              "ga",
              "gb",
              "gd",
              "ge",
              "gf",
              "gg",
              "gh",
              "gm",
              "gn",
              "gp",
              "gq",
              "gr",
              "gt",
              "gu",
              "gw",
              "gy",
              "hk",
              "hn",
              "hr",
              "ht",
              "hu",
              "id",
              "ie",
              "il",
              "im",
              "in",
              "iq",
              "ir",
              "is",
              "it",
              "je",
              "jm",
              "jo",
              "jp",
              "ke",
              "kg",
              "kh",
              "kn",
              "kr",
              "kw",
              "ky",
              "kz",
              "la",
              "lb",
              "lc",
              "lk",
              "lr",
              "ls",
              "lt",
              "lu",
              "lv",
              "ly",
              "ma",
              "mc",
              "md",
              "me",
              "mf",
              "mg",
              "mk",
              "ml",
              "mm",
              "mn",
              "mo",
              "mq",
              "mr",
              "mt",
              "mu",
              "mv",
              "mw",
              "mx",
              "my",
              "mz",
              "na",
              "nc",
              "ne",
              "ng",
              "ni",
              "nl",
              "no",
              "np",
              "nz",
              "om",
              "pa",
              "pe",
              "pf",
              "pg",
              "ph",
              "pk",
              "pl",
              "pr",
              "ps",
              "pt",
              "py",
              "qa",
              "re",
              "ro",
              "rs",
              "ru",
              "rw",
              "sa",
              "sc",
              "sd",
              "se",
              "sg",
              "si",
              "sk",
              "sl",
              "sm",
              "sn",
              "so",
              "sr",
              "ss",
              "st",
              "sv",
              "sx",
              "sy",
              "sz",
              "tc",
              "td",
              "tg",
              "th",
              "tj",
              "tl",
              "tm",
              "tn",
              "tr",
              "tt",
              "tw",
              "tz",
              "ua",
              "ug",
              "us",
              "uy",
              "uz",
              "vc",
              "ve",
              "vg",
              "vi",
              "vn",
              "ye",
              "yt",
              "za",
              "zm",
              "zw"
            ],
            "type": "string"
          },
          "excludeSelectors": {
            "items": {
              "maxLength": 2048,
              "minLength": 1,
              "type": "string"
            },
            "maxItems": 50,
            "type": [
              "array",
              "null"
            ]
          },
          "excludeUrlRegex": {
            "maxLength": 256,
            "type": "string"
          },
          "followSubdomains": {
            "default": false,
            "type": "boolean"
          },
          "includeFrames": {
            "default": false,
            "type": "boolean"
          },
          "includeImages": {
            "default": false,
            "type": "boolean"
          },
          "includeLinks": {
            "default": true,
            "type": "boolean"
          },
          "includeSelectors": {
            "items": {
              "maxLength": 2048,
              "minLength": 1,
              "type": "string"
            },
            "maxItems": 50,
            "type": [
              "array",
              "null"
            ]
          },
          "maxAgeMs": {
            "default": 86400000,
            "maximum": 2592000000,
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "maxDepth": {
            "minimum": 0,
            "type": "integer"
          },
          "maxPages": {
            "default": 100,
            "maximum": 500,
            "minimum": 1,
            "type": "integer"
          },
          "pdf": {
            "additionalProperties": false,
            "default": {
              "ocr": false,
              "shouldParse": true
            },
            "properties": {
              "end": {
                "minimum": 1,
                "type": "integer"
              },
              "ocr": {
                "default": false,
                "type": "boolean"
              },
              "shouldParse": {
                "default": true,
                "type": "boolean"
              },
              "start": {
                "minimum": 1,
                "type": "integer"
              }
            },
            "type": "object"
          },
          "settleAnimations": {
            "default": false,
            "type": "boolean"
          },
          "shortenBase64Images": {
            "default": true,
            "type": "boolean"
          },
          "sourcePreference": {
            "default": [
              "html-conversion",
              "markdown-direct"
            ],
            "items": {
              "enum": [
                "html-conversion",
                "markdown-direct"
              ],
              "type": "string"
            },
            "minItems": 1,
            "type": "array"
          },
          "stopAfterMs": {
            "default": 80000,
            "maximum": 110000,
            "minimum": 10000,
            "type": "integer"
          },
          "tags": {
            "items": {
              "maxLength": 50,
              "minLength": 1,
              "type": "string"
            },
            "maxItems": 20,
            "type": "array"
          },
          "timeoutOpts": {
            "additionalProperties": false,
            "properties": {
              "behavior": {
                "default": "fail",
                "enum": [
                  "fail",
                  "return-partial"
                ],
                "type": "string"
              },
              "milliseconds": {
                "maximum": 300000,
                "minimum": 1000,
                "type": "integer"
              }
            },
            "required": [
              "milliseconds"
            ],
            "type": "object"
          },
          "url": {
            "format": "uri",
            "minLength": 1,
            "type": "string"
          },
          "urlRegex": {
            "maxLength": 256,
            "type": "string"
          },
          "useMainContentOnly": {
            "default": false,
            "type": "boolean"
          },
          "waitForMs": {
            "default": 3500,
            "maximum": 30000,
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "zdr": {
            "default": "disabled",
            "enum": [
              "enabled",
              "disabled"
            ],
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "type": "object"
      },
      "location": "body",
      "name": "body",
      "nullable": false,
      "pointer": "",
      "required": true,
      "type": "object"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "usage",
    "priceMicroUsd": "2000",
    "rounding": "ceil",
    "unit": "credit",
    "unitQuantity": "1"
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Documentation example (source abbreviated)",
      "request": {
        "body": {
          "maxDepth": 0,
          "maxPages": 1,
          "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
        },
        "headers": {},
        "path": {},
        "query": {}
      },
      "response_body": {
        "cache_metadata": {
          "age_ms": 12680911,
          "status": "hit"
        },
        "key_metadata": {
          "credits_consumed": 1
        },
        "metadata": {
          "maxCrawlDepth": 0,
          "numFailed": 0,
          "numSkipped": 0,
          "numSucceeded": 1,
          "numUrls": 1
        },
        "request_id": "a41e2724-6c25-483f-b35b-ddbb8bd3ea62",
        "results": [
          {
            "markdown": "[Books to Scrape](https://books.toscrape.com/index.html) We love being scraped!\n\n- [Home](https://books.toscrape.com/index.html)\n- [Books](https://books.toscrape.com/catalogue/category/books_1/index.html)\n- [Poetry](https://books.toscrape.com/catalogue/category/books/poetry_23/index.html)\n- A Light in the Attic\n\n# A Light in the Attic\n\n£51.77\n\nIn stock (22 available)\n\n---\n\n**Warning!** This is a demo website for web scraping purposes. Prices and ratings here were randomly assigned and have no real meaning.\n\n## Product Description\n\nIt'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\n\n## Product Information\n\nUPC | a897fe39b1053632\nProduct Type | Books\nPrice (excl. tax) | £51.77\nPrice (incl. tax) | £51.77\nTax | £0.00\nAvailability | In stock (22 available)\nNumber of reviews | 0",
            "metadata": {
              "additionalMeta": {
                "content-type": "text/html; charset=UTF-8",
                "created": "24th Jun 2016 09:29",
                "viewport": "width=device-width"
              },
              "crawlDepth": 0,
              "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",
              "finalUrl": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
              "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",
              "sourceUrl": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
              "statusCode": 200,
              "success": true,
              "title": "A Light in the Attic | Books to Scrape - Sandbox",
              "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
            }
          }
        ]
      }
    }
  ]
}
```

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
    Crawl a website and return clean Markdown for every page crawled.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/context-dev/v1/web/crawl' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "maxDepth": 0,
      "maxPages": 1,
      "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
    {
      "cache_metadata": {
        "age_ms": 12680911,
        "status": "hit"
      },
      "key_metadata": {
        "credits_consumed": 1
      },
      "metadata": {
        "maxCrawlDepth": 0,
        "numFailed": 0,
        "numSkipped": 0,
        "numSucceeded": 1,
        "numUrls": 1
      },
      "request_id": "a41e2724-6c25-483f-b35b-ddbb8bd3ea62",
      "results": [
        {
          "markdown": "[Books to Scrape](https://books.toscrape.com/index.html) We love being scraped!\n\n- [Home](https://books.toscrape.com/index.html)\n- [Books](https://books.toscrape.com/catalogue/category/books_1/index.html)\n- [Poetry](https://books.toscrape.com/catalogue/category/books/poetry_23/index.html)\n- A Light in the Attic\n\n# A Light in the Attic\n\n£51.77\n\nIn stock (22 available)\n\n---\n\n**Warning!** This is a demo website for web scraping purposes. Prices and ratings here were randomly assigned and have no real meaning.\n\n## Product Description\n\nIt'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\n\n## Product Information\n\nUPC | a897fe39b1053632\nProduct Type | Books\nPrice (excl. tax) | £51.77\nPrice (incl. tax) | £51.77\nTax | £0.00\nAvailability | In stock (22 available)\nNumber of reviews | 0",
          "metadata": {
            "additionalMeta": {
              "content-type": "text/html; charset=UTF-8",
              "created": "24th Jun 2016 09:29",
              "viewport": "width=device-width"
            },
            "crawlDepth": 0,
            "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",
            "finalUrl": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
            "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",
            "sourceUrl": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
            "statusCode": 200,
            "success": true,
            "title": "A Light in the Attic | Books to Scrape - Sandbox",
            "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
          }
        }
      ]
    }

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 Crawl Website with your agent

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