# Fetch

Get Web Page Content data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by LiteScrape, pass parameters such as respond_with, url, and retrieve structured data including content, title, description, and returned field to search interfaces and source review, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/web/web-page-content/a8fbac67-8c6d-446e-9d8f-4fcffef33dc3/
API ID: a8fbac67-8c6d-446e-9d8f-4fcffef33dc3
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/web/fetch
Page update time: 2026-12-03T02:53:42.008Z
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.00015 / 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:53:40.869Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Web Fetch API

Retrieve a web page as Markdown, HTML or plain text. 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 |
| --- | --- |
| `content` | Content |
| `title` | Title |
| `description` | Description |
| `external.alternate.<key>` | Returned field |
| `external.apple-touch-icon.<key>` | Returned field |
| `external.canonical.<key>` | Returned field |
| `external.icon.<key>` | Returned field |
| `external.icon.<key>` | Returned field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Fetch 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": {
        "timeout": {
          "type": "number",
          "description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
          "maximum": 90
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "respond_with": "markdown",
          "url": "https://example.com"
        }
      ],
      "properties": {
        "assert_status_code": {
          "anyOf": [
            {
              "maximum": 599,
              "minimum": 100,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Expected origin HTTP status, 100-599. A different status is rejected; otherwise a rendered error page is a successful capture.",
          "examples": [
            200
          ],
          "title": "Assert Status Code",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Assert Status Code",
            "summary": "Expected origin HTTP status, 100-599. A different status is rejected; otherwise a rendered error page is a successful capture."
          }
        },
        "base": {
          "anyOf": [
            {
              "enum": [
                "initial",
                "final"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Resolve relative links against the requested URL (initial, default) or the final URL after redirects (final).",
          "title": "Base",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Base",
            "summary": "Resolve relative links against the requested URL (initial, default) or the final URL after redirects (final)."
          }
        },
        "detach_invisibles": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Drop display:none elements from the page.",
          "title": "Detach Invisibles",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Detach Invisibles",
            "summary": "Drop display:none elements from the page."
          }
        },
        "engine": {
          "anyOf": [
            {
              "enum": [
                "auto",
                "browser",
                "curl"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "auto (default; lightweight HTTP first, a browser when needed), browser, or curl (no JavaScript).",
          "title": "Engine",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Engine",
            "summary": "auto (default; lightweight HTTP first, a browser when needed), browser, or curl (no JavaScript)."
          }
        },
        "inject_frame_script": {
          "anyOf": [
            {
              "items": {
                "maxLength": 8192,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 8,
              "minItems": 1,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "POST only. 1-8 scripts (source, or a URL to a script), up to 8,192 characters each, run in every frame.",
          "title": "Inject Frame Script",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Inject Frame Script",
            "summary": "POST only. 1-8 scripts (source, or a URL to a script), up to 8,192 characters each, run in every frame."
          }
        },
        "inject_page_script": {
          "anyOf": [
            {
              "items": {
                "maxLength": 8192,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 8,
              "minItems": 1,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "POST only. 1-8 scripts (source, or a URL to a script), up to 8,192 characters each, run in the main frame.",
          "title": "Inject Page Script",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Inject Page Script",
            "summary": "POST only. 1-8 scripts (source, or a URL to a script), up to 8,192 characters each, run in the main frame."
          }
        },
        "keep_img_data_url": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Keep inline data: images in Markdown.",
          "title": "Keep Img Data Url",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Keep Img Data Url",
            "summary": "Keep inline data: images in Markdown."
          }
        },
        "locale": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 2,
              "pattern": "^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Browser locale as a language tag, 2-64 characters. Defaults to the browser's own.",
          "examples": [
            "en-US"
          ],
          "title": "Locale",
          "x-litescrape": {
            "formGroup": 2,
            "group": 2,
            "label": "Locale",
            "placeholder": "en-US",
            "summary": "Browser locale as a language tag, 2-64 characters. Defaults to the browser's own."
          }
        },
        "markdown": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "bullet_list_marker": {
                  "anyOf": [
                    {
                      "enum": [
                        "-",
                        "+",
                        "*"
                      ],
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Marker for bulleted list items.",
                  "title": "Bullet List Marker"
                },
                "em_delimiter": {
                  "anyOf": [
                    {
                      "enum": [
                        "_",
                        "*"
                      ],
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Delimiter for emphasis.",
                  "title": "Em Delimiter"
                },
                "heading_style": {
                  "anyOf": [
                    {
                      "enum": [
                        "setext",
                        "atx"
                      ],
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Markdown heading style: setext (underlined) or atx (# prefixed).",
                  "title": "Heading Style"
                },
                "hr": {
                  "anyOf": [
                    {
                      "maxLength": 128,
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Markdown used for horizontal rules, 1-128 characters.",
                  "title": "Hr"
                },
                "link_reference_style": {
                  "anyOf": [
                    {
                      "enum": [
                        "full",
                        "collapsed",
                        "shortcut",
                        "discarded"
                      ],
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Reference format when link_style is referenced.",
                  "title": "Link Reference Style"
                },
                "link_style": {
                  "anyOf": [
                    {
                      "enum": [
                        "inlined",
                        "referenced",
                        "discarded"
                      ],
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "How links are written: inlined, referenced (reference-style) or discarded.",
                  "title": "Link Style"
                },
                "strong_delimiter": {
                  "anyOf": [
                    {
                      "enum": [
                        "__",
                        "**"
                      ],
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Delimiter for strong emphasis.",
                  "title": "Strong Delimiter"
                }
              },
              "title": "MarkdownOptions",
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "POST only. Markdown formatting options.",
          "examples": [
            {
              "link_style": "referenced"
            }
          ],
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Markdown",
            "summary": "POST only. Markdown formatting options."
          }
        },
        "markdown_chunking": {
          "anyOf": [
            {
              "enum": [
                "true",
                "h1",
                "h2",
                "h3",
                "h4",
                "h5",
                "structured",
                "s1",
                "s2",
                "s3",
                "s4",
                "s5"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "true, h1-h5, structured or s1-s5: split the Markdown and return chunks.",
          "title": "Markdown Chunking",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Markdown Chunking",
            "summary": "true, h1-h5, structured or s1-s5: split the Markdown and return chunks."
          }
        },
        "max_tokens": {
          "anyOf": [
            {
              "maximum": 10000000,
              "minimum": 500,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Integer 500-10,000,000. Trim content to this many tokens.",
          "title": "Max Tokens",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Max Tokens",
            "summary": "Integer 500-10,000,000. Trim content to this many tokens."
          }
        },
        "no_gfm": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "const": "table",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "true, false or table: disable GitHub-flavored Markdown, or only its tables.",
          "title": "No Gfm",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "No Gfm",
            "summary": "true, false or table: disable GitHub-flavored Markdown, or only its tables."
          }
        },
        "page_timeout": {
          "anyOf": [
            {
              "maximum": 180,
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Seconds from 1 through 180 for page loading and browser operations. Cannot extend the total request budget set by timeout.",
          "examples": [
            30
          ],
          "title": "Page Timeout",
          "x-litescrape": {
            "formGroup": 2,
            "group": 2,
            "kind": "number",
            "label": "Page timeout",
            "placeholder": "30",
            "summary": "Seconds from 1 through 180 for page loading and browser operations. Cannot extend the total request budget set by timeout."
          }
        },
        "preset": {
          "anyOf": [
            {
              "enum": [
                "reader",
                "index",
                "research",
                "agent",
                "spider"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Option preset. Fills only the options the request leaves unset.",
          "title": "Preset",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Preset",
            "summary": "Option preset. Fills only the options the request leaves unset."
          }
        },
        "referer": {
          "anyOf": [
            {
              "maxLength": 8192,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "HTTP(S) URL sent as the Referer.",
          "examples": [
            "https://example.com"
          ],
          "title": "Referer",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Referer",
            "summary": "HTTP(S) URL sent as the Referer."
          }
        },
        "remove_overlay": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Remove modal and cookie-banner overlays from the page.",
          "title": "Remove Overlay",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Remove Overlay",
            "summary": "Remove modal and cookie-banner overlays from the page."
          }
        },
        "remove_selector": {
          "anyOf": [
            {
              "maxLength": 2048,
              "minLength": 1,
              "type": "string"
            },
            {
              "items": {
                "maxLength": 2048,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 16,
              "minItems": 1,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "CSS selector removed before extraction, 1-2,048 characters; POST also accepts a list of 1-16 selectors.",
          "examples": [
            "nav, footer"
          ],
          "title": "Remove Selector",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "label": "Remove selector",
            "placeholder": "nav, footer",
            "summary": "CSS selector removed before extraction, 1-2,048 characters; POST also accepts a list of 1-16 selectors."
          }
        },
        "respond_timing": {
          "anyOf": [
            {
              "enum": [
                "html",
                "visible-content",
                "mutation-idle",
                "resource-idle",
                "media-idle",
                "network-idle"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Page readiness condition to reach before responding.",
          "examples": [
            "network-idle"
          ],
          "title": "Respond Timing",
          "x-litescrape": {
            "formGroup": 2,
            "group": 2,
            "kind": "select",
            "label": "Respond timing",
            "options": [
              {
                "label": "Default",
                "value": ""
              },
              {
                "label": "html",
                "value": "html"
              },
              {
                "label": "visible-content",
                "value": "visible-content"
              },
              {
                "label": "mutation-idle",
                "value": "mutation-idle"
              },
              {
                "label": "resource-idle",
                "value": "resource-idle"
              },
              {
                "label": "media-idle",
                "value": "media-idle"
              },
              {
                "label": "network-idle",
                "value": "network-idle"
              }
            ],
            "summary": "Page readiness condition to reach before responding."
          }
        },
        "respond_with": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 3,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Output format: content (default; main content as Markdown, or the whole page when extraction keeps too little), markdown (whole page as Markdown), html, text, frontmatter (content plus front matter), or a '+' combination such as markdown+frontmatter. For screenshots use /api/web/screenshot.",
          "examples": [
            "markdown",
            "markdown+frontmatter"
          ],
          "title": "Respond With",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "kind": "select",
            "label": "Format",
            "options": [
              {
                "label": "Default (markdown)",
                "value": ""
              },
              {
                "label": "markdown",
                "value": "markdown"
              },
              {
                "label": "html",
                "value": "html"
              },
              {
                "label": "text",
                "value": "text"
              }
            ],
            "summary": "Output format: content (default; main content as Markdown, or the whole page when extraction keeps too little), markdown (whole page as Markdown), html, text, frontmatter (content plus front matter), or a '+' combination such as markdown+frontmatter. For screenshots use /api/web/screenshot."
          }
        },
        "retain_images": {
          "anyOf": [
            {
              "enum": [
                "none",
                "all",
                "alt"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Images to keep: all (default), alt (alt text only) or none.",
          "examples": [
            "alt"
          ],
          "title": "Retain Images",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "kind": "select",
            "label": "Images",
            "options": [
              {
                "label": "Default",
                "value": ""
              },
              {
                "label": "none",
                "value": "none"
              },
              {
                "label": "all",
                "value": "all"
              },
              {
                "label": "alt",
                "value": "alt"
              }
            ],
            "summary": "Images to keep: all (default), alt (alt text only) or none."
          }
        },
        "retain_links": {
          "anyOf": [
            {
              "enum": [
                "none",
                "all",
                "text",
                "gpt-oss"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Links to keep: all (default), text (link text only), none, or gpt-oss (citation format with a links summary).",
          "title": "Retain Links",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "kind": "select",
            "label": "Links",
            "options": [
              {
                "label": "Default",
                "value": ""
              },
              {
                "label": "none",
                "value": "none"
              },
              {
                "label": "all",
                "value": "all"
              },
              {
                "label": "text",
                "value": "text"
              },
              {
                "label": "gpt-oss",
                "value": "gpt-oss"
              }
            ],
            "summary": "Links to keep: all (default), text (link text only), none, or gpt-oss (citation format with a links summary)."
          }
        },
        "retain_media": {
          "anyOf": [
            {
              "enum": [
                "none",
                "text",
                "link",
                "image",
                "html"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "How video, audio and embedded video appear: none, text, link (default), image or html.",
          "title": "Retain Media",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Retain Media",
            "summary": "How video, audio and embedded video appear: none, text, link (default), image or html."
          }
        },
        "robots_txt": {
          "anyOf": [
            {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "User agent, 1-256 characters, to check against the site's robots.txt; disallowed URLs are rejected.",
          "examples": [
            "MyBot"
          ],
          "title": "Robots Txt",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Robots Txt",
            "summary": "User agent, 1-256 characters, to check against the site's robots.txt; disallowed URLs are rejected."
          }
        },
        "set_cookies": {
          "anyOf": [
            {
              "items": {
                "maxLength": 4096,
                "minLength": 3,
                "type": "string"
              },
              "maxItems": 100,
              "minItems": 1,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "POST only. 1-100 cookies in Set-Cookie syntax (name=value; Path=/; Domain=...), one line each, up to 4,096 characters.",
          "examples": [
            [
              "session=YOUR_SESSION; Path=/; Secure; HttpOnly"
            ]
          ],
          "title": "Set Cookies",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Set Cookies",
            "summary": "POST only. 1-100 cookies in Set-Cookie syntax (name=value; Path=/; Domain=...), one line each, up to 4,096 characters."
          }
        },
        "target_selector": {
          "anyOf": [
            {
              "maxLength": 2048,
              "minLength": 1,
              "type": "string"
            },
            {
              "items": {
                "maxLength": 2048,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 16,
              "minItems": 1,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "CSS selector to extract, 1-2,048 characters; POST also accepts a list of 1-16 selectors. Implies waiting for the selector. Match-all selectors are rejected.",
          "examples": [
            "article"
          ],
          "title": "Target Selector",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "label": "Target selector",
            "placeholder": "article",
            "summary": "CSS selector to extract, 1-2,048 characters; POST also accepts a list of 1-16 selectors. Implies waiting for the selector. Match-all selectors are rejected."
          }
        },
        "token_budget": {
          "anyOf": [
            {
              "maximum": 10000000,
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Integer 1-10,000,000. Reject the page when its token count exceeds the budget.",
          "title": "Token Budget",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Token Budget",
            "summary": "Integer 1-10,000,000. Reject the page when its token count exceeds the budget."
          }
        },
        "url": {
          "description": "Public HTTP(S) URL to capture, 1-8,192 characters. Include http:// or https://; bare domains are rejected. The host must be public, on port 80 or 443, without embedded credentials.",
          "examples": [
            "https://example.com"
          ],
          "maxLength": 8192,
          "minLength": 1,
          "title": "Url",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "URL",
            "placeholder": "https://ecll-litescrape-v3--site-api-web.modal.run",
            "summary": "Public HTTP(S) URL to capture, 1-8,192 characters. Include http:// or https://; bare domains are rejected. The host must be public, on port 80 or 443, without embedded credentials."
          }
        },
        "user_agent": {
          "anyOf": [
            {
              "maxLength": 1024,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "User-Agent for the page request, 1-1,024 characters without control characters. Defaults to the browser's own.",
          "title": "User Agent",
          "x-litescrape": {
            "formGroup": 2,
            "group": 2,
            "label": "User agent",
            "placeholder": "Mozilla/5.0 …",
            "summary": "User-Agent for the page request, 1-1,024 characters without control characters. Defaults to the browser's own."
          }
        },
        "viewport": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "device_scale_factor": {
                  "anyOf": [
                    {
                      "exclusiveMinimum": 0,
                      "maximum": 4,
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Device pixel ratio, greater than 0 and at most 4.",
                  "title": "Device Scale Factor"
                },
                "has_touch": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Emulate touch support.",
                  "title": "Has Touch"
                },
                "height": {
                  "description": "Viewport height in CSS pixels, 1-4,096. Required.",
                  "maximum": 4096,
                  "minimum": 1,
                  "title": "Height",
                  "type": "integer"
                },
                "is_landscape": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Use landscape orientation.",
                  "title": "Is Landscape"
                },
                "is_mobile": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Emulate a mobile device.",
                  "title": "Is Mobile"
                },
                "width": {
                  "description": "Viewport width in CSS pixels, 1-4,096. Required.",
                  "maximum": 4096,
                  "minimum": 1,
                  "title": "Width",
                  "type": "integer"
                }
              },
              "required": [
                "width",
                "height"
              ],
              "title": "Viewport",
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "POST only. Browser viewport; width and height are required. Default: 1280 x 1280.",
          "examples": [
            {
              "height": 900,
              "width": 1440
            }
          ],
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Viewport",
            "summary": "POST only. Browser viewport; width and height are required. Default: 1280 x 1280."
          }
        },
        "wait_for_selector": {
          "anyOf": [
            {
              "maxLength": 2048,
              "minLength": 1,
              "type": "string"
            },
            {
              "items": {
                "maxLength": 2048,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 16,
              "minItems": 1,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "CSS selector to wait for after navigation, 1-2,048 characters. POST also accepts a list of 1-16 selectors.",
          "examples": [
            "main"
          ],
          "title": "Wait For Selector",
          "x-litescrape": {
            "formGroup": 2,
            "group": 2,
            "label": "Wait for selector",
            "placeholder": "main",
            "summary": "CSS selector to wait for after navigation, 1-2,048 characters. POST also accepts a list of 1-16 selectors."
          }
        },
        "with_iframe": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "const": "quoted",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "true, false or quoted: include iframe content before extraction.",
          "title": "With Iframe",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "kind": "select",
            "label": "Iframes",
            "options": [
              {
                "label": "Default (false)",
                "value": ""
              },
              {
                "label": "true",
                "value": "true"
              },
              {
                "label": "false",
                "value": "false"
              },
              {
                "label": "quoted",
                "value": "quoted"
              }
            ],
            "summary": "true, false or quoted: include iframe content before extraction."
          }
        },
        "with_images_summary": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Add an images list to the response.",
          "title": "With Images Summary",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "With Images Summary",
            "summary": "Add an images list to the response."
          }
        },
        "with_links_summary": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "const": "all",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "true, false or all: add a links list to the response.",
          "title": "With Links Summary",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "With Links Summary",
            "summary": "true, false or all: add a links list to the response."
          }
        },
        "with_shadow_dom": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Include open shadow DOM content before extraction.",
          "title": "With Shadow Dom",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "kind": "select",
            "label": "Shadow DOM",
            "options": [
              {
                "label": "Default (false)",
                "value": ""
              },
              {
                "label": "true",
                "value": "true"
              },
              {
                "label": "false",
                "value": "false"
              }
            ],
            "summary": "Include open shadow DOM content before extraction."
          }
        }
      },
      "required": [
        "url"
      ],
      "title": "Request",
      "type": "object",
      "description": "Get a web page as Markdown, HTML or plain text."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "external": {
      "type": "object",
      "properties": {
        "alternate": {
          "type": "object",
          "properties": {
            "https://go.dev/blog/feed.atom": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                }
              }
            }
          }
        },
        "apple-touch-icon": {
          "type": "object",
          "properties": {
            "https://go.dev/images/favicon-gopher-plain.png": {
              "type": "object",
              "properties": {}
            }
          }
        },
        "canonical": {
          "type": "object",
          "properties": {
            "https://go.dev/blog/go1.22": {
              "type": "object",
              "properties": {}
            }
          }
        },
        "icon": {
          "type": "object",
          "properties": {
            "https://go.dev/images/favicon-gopher.png": {
              "type": "object",
              "properties": {
                "sizes": {
                  "type": "string"
                }
              }
            },
            "https://go.dev/images/favicon-gopher.svg": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                }
              }
            }
          }
        },
        "me": {
          "type": "object",
          "properties": {
            "https://hachyderm.io/@golang": {
              "type": "object",
              "properties": {}
            }
          }
        },
        "preconnect": {
          "type": "object",
          "properties": {
            "https://www.googletagmanager.com/": {
              "type": "object",
              "properties": {}
            }
          }
        }
      }
    },
    "metadata": {
      "type": "object",
      "properties": {
        "description": {
          "type": "string"
        },
        "lang": {
          "type": "string"
        },
        "og:description": {
          "type": "string"
        },
        "og:image": {
          "type": "string"
        },
        "og:title": {
          "type": "string"
        },
        "og:url": {
          "type": "string"
        },
        "theme-color": {
          "type": "string"
        },
        "twitter:card": {
          "type": "string"
        },
        "twitter:image": {
          "type": "string"
        },
        "twitter:site": {
          "type": "string"
        },
        "viewport": {
          "type": "string"
        }
      }
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "usage": {
      "type": "object",
      "properties": {
        "tokens": {
          "type": "integer"
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/litescrape/api/web/fetch' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "respond_with": "markdown",
  "url": "https://example.com"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "content": "## [The Go Blog](https://go.dev/blog/)\n\nToday the Go team is thrilled to release Go 1.22, which you can get by visiting the [download page](https://go.dev/dl/).\n\nGo 1.22 comes with several important new features and improvements. Here are some of the notable changes; for the full list, refer to the [release notes](https://go.dev/doc/go1.22).\n\n## Language changes[¶](https://go.dev/blog/go1.22#language-changes)\n\nThe long-standing “for” loop gotcha with accidental sharing of loop variables between iterations is now resolved. Starting with Go 1.22, the following code will print “a”, “b”, and “c” i ?",
  "description": "Go 1.22 enhances for loops, brings new standard library functionality and improves performance.",
  "external": {
    "alternate": {
      "https://go.dev/blog/feed.atom": {
        "title": "The Go Blog",
        "type": "application/atom+xml"
      }
    },
    "apple-touch-icon": {
      "https://go.dev/images/favicon-gopher-plain.png": {}
    },
    "canonical": {
      "https://go.dev/blog/go1.22": {}
    },
    "icon": {
      "https://go.dev/images/favicon-gopher.png": {
        "sizes": "any"
      },
      "https://go.dev/images/favicon-gopher.svg": {
        "type": "image/svg+xml"
      }
    },
    "me": {
      "https://hachyderm.io/@golang": {}
    },
    "preconnect": {
      "https://www.googletagmanager.com/": {}
    }
  },
  "metadata": {
    "description": "Go 1.22 enhances for loops, brings new standard library functionality and improves performance.",
    "lang": "en",
    "og:description": "Go 1.22 enhances for loops, brings new standard library functionality and improves performance.",
    "og:image": "https://go.dev/doc/gopher/gopher5logo.jpg",
    "og:title": "Go 1.22 is released! - The Go Programming Language",
    "og:url": "https://go.dev/blog/go1.22",
    "theme-color": "#00add8",
    "twitter:card": "summary",
    "twitter:image": "https://go.dev/doc/gopher/runningsquare.jpg",
    "twitter:site": "@golang",
    "viewport": "width=device-width, initial-scale=1"
  },
  "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token",
  "title": "Go 1.22 is released! - The Go Programming Language",
  "url": "https://go.dev/blog/go1.22",
  "usage": {
    "tokens": 811
  }
}
```

## 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.

### What type does timeout use?
timeout uses the JSON type number in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

### 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.

### 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
- keenable: https://openany.si/web/web-page-content/d842b7ba-1d8b-4150-ac0c-3d1d6deed577/
- litescrape: https://openany.si/web/web-page-content/a8fbac67-8c6d-446e-9d8f-4fcffef33dc3/
- search1api: https://openany.si/web/web-page-content/22de11e2-d576-49f9-a842-b8f750785097/
- tavily: https://openany.si/web/web-page-content/a64d248c-785f-4149-8116-e9c47a9c8c3c/
- tinyfish: https://openany.si/web/web-page-content/0bf3c77e-77a3-49c5-81ab-dd92d2c442ef/

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