# Context.dev — Crawl Website

Get Context.Dev Crawl Website data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Context-dev, pass parameters such as maxDepth, maxPages, url, and retrieve structured data including returned markdown field, returned metadata field, reported status, returned age ms field, and returned credits consumed field to search interfaces and source review, and integration reference.

Documentation: https://openany.si/context-dev/context-dev-crawl-website/4366dc9a-48f3-4e02-bd25-213f14557255/
API ID: 4366dc9a-48f3-4e02-bd25-213f14557255
Provider: context-dev
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/context-dev/v1/web/crawl
Page update time: 2026-12-03T02:49:45.583Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
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.
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:44.790Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "usage",
  "priceMicroUsd": "2000",
  "rounding": "ceil",
  "unit": "credit",
  "unitQuantity": "1"
}
```

## Usage and limits
## Context.dev — Crawl Website API

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

## 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 |
| --- | --- |
| `results[].markdown` | Returned markdown field |
| `results[].metadata` | Returned metadata field |
| `cache_metadata.status` | Reported status |
| `cache_metadata.age_ms` | Returned age ms field |
| `key_metadata.credits_consumed` | Returned credits consumed field |
| `metadata.maxCrawlDepth` | Returned max crawl depth field |
| `metadata.numFailed` | Returned num failed field |
| `metadata.numSkipped` | Returned num skipped field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Context.dev — Crawl Website request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "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",
      "description": "Crawl a website and return clean Markdown for every page crawled."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cache_metadata": {
      "type": "object",
      "properties": {
        "age_ms": {
          "type": "integer"
        },
        "status": {
          "type": "string"
        }
      }
    },
    "key_metadata": {
      "type": "object",
      "properties": {
        "credits_consumed": {
          "type": "integer"
        }
      }
    },
    "metadata": {
      "type": "object",
      "properties": {
        "maxCrawlDepth": {
          "type": "integer"
        },
        "numFailed": {
          "type": "integer"
        },
        "numSkipped": {
          "type": "integer"
        },
        "numSucceeded": {
          "type": "integer"
        },
        "numUrls": {
          "type": "integer"
        }
      }
    },
    "request_id": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "markdown": {
            "type": "string"
          },
          "metadata": {
            "type": "object",
            "properties": {
              "additionalMeta": {
                "type": "object",
                "properties": {
                  "content-type": {
                    "type": "string"
                  },
                  "created": {
                    "type": "string"
                  },
                  "viewport": {
                    "type": "string"
                  }
                }
              },
              "crawlDepth": {
                "type": "integer"
              },
              "description": {
                "type": "string"
              },
              "favicon": {
                "type": "string"
              },
              "finalUrl": {
                "type": "string"
              },
              "headings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "level": {
                      "type": "integer"
                    },
                    "text": {
                      "type": "string"
                    }
                  }
                }
              },
              "language": {
                "type": "string"
              },
              "robots": {
                "type": "string"
              },
              "sourceUrl": {
                "type": "string"
              },
              "statusCode": {
                "type": "integer"
              },
              "success": {
                "type": "boolean"
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```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"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "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
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide url in body (string). 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.

## Available implementations
- context-dev: https://openany.si/context-dev/context-dev-crawl-website/4366dc9a-48f3-4e02-bd25-213f14557255/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
