OpenAny
Get API keyAPI Key
APIDeveloperScrapers

web logo
Web Page Content API

Get Web Page Content data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 5 implementations (Keenable, LiteScrape, Search1API and Tavily), pass parameters such as url, and retrieve structured data including content, title, author context, description, and returned published at field to search interfaces and source review, and integration reference.

Selected price
$0.00015 / callPublished pricing
Sellers / APIs
5 / 5
Requests · 30d
6Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

Web Page Content API

Prepare your request, then continue with your agent.

Selected price

$0.00015 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Web Page Content API

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.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs query: timeout; body: body
Selected implementation litescrape · Fetch
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

What You Can Build

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

Documented Response Fields

Field Meaning
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

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/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"
}'

Request and Response Examples

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

Published Web Fetch API implementation contract.

Pricing and Billing

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

Frequently Asked Questions

View FAQ

Related APIs

Playground

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

Request parameters
body*object

body

Get a web page as Markdown, HTML or plain text.
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.

Sample response

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

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
Keenable Public Fetch · GET · View API reference
$0 / call—Select to load statistics
—successP50—
Current
Fetch · POST · View API reference
$0.00015 / call6
100.00%successP506.88s
Search1API Web Crawl · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Tavily Keyless Extract · POST · View API reference
$0.008–$0.016 / 5 successful URL extractions—Select to load statistics
—successP50—
TinyFish Fetch · POST · View API reference
$0 / call—Select to load statistics
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · litescrapeUSD / call
Unit price
$0.00015

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

calls

Total $0.015

API

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

Input parameters

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

ParameterLocationTypeRequiredDescription
urlJSON request bodybodystringYes

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.

minLength: 1 · maxLength: 8192

timeoutURL query parametersquerynumberNo

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

assert_status_codeJSON request bodybodyinteger | nullNo

Expected origin HTTP status, 100-599. A different status is rejected; otherwise a rendered error page is a successful capture.

baseJSON request bodybodystring | nullNo

Resolve relative links against the requested URL (initial, default) or the final URL after redirects (final).

detach_invisiblesJSON request bodybodyboolean | nullNo

Drop display:none elements from the page.

engineJSON request bodybodystring | nullNo

auto (default; lightweight HTTP first, a browser when needed), browser, or curl (no JavaScript).

inject_frame_scriptJSON request bodybodyarray | nullNo

POST only. 1-8 scripts (source, or a URL to a script), up to 8,192 characters each, run in every frame.

Nested fields and variants

array

Nested fields and variants

body.inject_frame_script[] · Array item · string

inject_page_scriptJSON request bodybodyarray | nullNo

POST only. 1-8 scripts (source, or a URL to a script), up to 8,192 characters each, run in the main frame.

Nested fields and variants

array

Nested fields and variants

body.inject_page_script[] · Array item · string

keep_img_data_urlJSON request bodybodyboolean | nullNo

Keep inline data: images in Markdown.

localeJSON request bodybodystring | nullNo

Browser locale as a language tag, 2-64 characters. Defaults to the browser's own.

markdownJSON request bodybodyobject | nullNo

POST only. Markdown formatting options.

Nested fields and variants

MarkdownOptions

Nested fields and variants
body.markdown.bullet_list_marker string | null · Optional

Parent object: body.markdown

Marker for bulleted list items.
body.markdown.em_delimiter string | null · Optional

Parent object: body.markdown

Delimiter for emphasis.
body.markdown.heading_style string | null · Optional

Parent object: body.markdown

Markdown heading style: setext (underlined) or atx (# prefixed).
body.markdown.hr string | null · Optional

Parent object: body.markdown

Markdown used for horizontal rules, 1-128 characters.
body.markdown.link_reference_style string | null · Optional

Parent object: body.markdown

Reference format when link_style is referenced.
body.markdown.link_style string | null · Optional

Parent object: body.markdown

How links are written: inlined, referenced (reference-style) or discarded.
body.markdown.strong_delimiter string | null · Optional

Parent object: body.markdown

Delimiter for strong emphasis.
markdown_chunkingJSON request bodybodystring | nullNo

true, h1-h5, structured or s1-s5: split the Markdown and return chunks.

max_tokensJSON request bodybodyinteger | nullNo

Integer 500-10,000,000. Trim content to this many tokens.

no_gfmJSON request bodybodyboolean | string | nullNo

true, false or table: disable GitHub-flavored Markdown, or only its tables.

page_timeoutJSON request bodybodyinteger | nullNo

Seconds from 1 through 180 for page loading and browser operations. Cannot extend the total request budget set by timeout.

presetJSON request bodybodystring | nullNo

Option preset. Fills only the options the request leaves unset.

refererJSON request bodybodystring | nullNo

HTTP(S) URL sent as the Referer.

remove_overlayJSON request bodybodyboolean | nullNo

Remove modal and cookie-banner overlays from the page.

remove_selectorJSON request bodybodystring | array | nullNo

CSS selector removed before extraction, 1-2,048 characters; POST also accepts a list of 1-16 selectors.

Nested fields and variants

array

Nested fields and variants

body.remove_selector[] · Array item · string

respond_timingJSON request bodybodystring | nullNo

Page readiness condition to reach before responding.

respond_withJSON request bodybodystring | nullNo

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_imagesJSON request bodybodystring | nullNo

Images to keep: all (default), alt (alt text only) or none.

retain_linksJSON request bodybodystring | nullNo

Links to keep: all (default), text (link text only), none, or gpt-oss (citation format with a links summary).

retain_mediaJSON request bodybodystring | nullNo

How video, audio and embedded video appear: none, text, link (default), image or html.

robots_txtJSON request bodybodystring | nullNo

User agent, 1-256 characters, to check against the site's robots.txt; disallowed URLs are rejected.

set_cookiesJSON request bodybodyarray | nullNo

POST only. 1-100 cookies in Set-Cookie syntax (name=value; Path=/; Domain=...), one line each, up to 4,096 characters.

Nested fields and variants

array

Nested fields and variants

body.set_cookies[] · Array item · string

target_selectorJSON request bodybodystring | array | nullNo

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.

Nested fields and variants

array

Nested fields and variants

body.target_selector[] · Array item · string

token_budgetJSON request bodybodyinteger | nullNo

Integer 1-10,000,000. Reject the page when its token count exceeds the budget.

user_agentJSON request bodybodystring | nullNo

User-Agent for the page request, 1-1,024 characters without control characters. Defaults to the browser's own.

viewportJSON request bodybodyobject | nullNo

POST only. Browser viewport; width and height are required. Default: 1280 x 1280.

Nested fields and variants

Viewport

Nested fields and variants
body.viewport.device_scale_factor number | null · Optional

Parent object: body.viewport

Device pixel ratio, greater than 0 and at most 4.
body.viewport.has_touch boolean | null · Optional

Parent object: body.viewport

Emulate touch support.
body.viewport.height integer · Required

Parent object: body.viewport

Viewport height in CSS pixels, 1-4,096. Required.

minimum: 1 · maximum: 4096

body.viewport.is_landscape boolean | null · Optional

Parent object: body.viewport

Use landscape orientation.
body.viewport.is_mobile boolean | null · Optional

Parent object: body.viewport

Emulate a mobile device.
body.viewport.width integer · Required

Parent object: body.viewport

Viewport width in CSS pixels, 1-4,096. Required.

minimum: 1 · maximum: 4096

wait_for_selectorJSON request bodybodystring | array | nullNo

CSS selector to wait for after navigation, 1-2,048 characters. POST also accepts a list of 1-16 selectors.

Nested fields and variants

array

Nested fields and variants

body.wait_for_selector[] · Array item · string

with_iframeJSON request bodybodyboolean | string | nullNo

true, false or quoted: include iframe content before extraction.

with_images_summaryJSON request bodybodyboolean | nullNo

Add an images list to the response.

with_links_summaryJSON request bodybodyboolean | string | nullNo

true, false or all: add a links list to the response.

with_shadow_domJSON request bodybodyboolean | nullNo

Include open shadow DOM content before extraction.

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

Response structure

Inferred from examples
  • contentstring
  • descriptionstring
  • externalobject
    • alternateobject
      • https://go.dev/blog/feed.atomobject
        • titlestring
        • typestring
    • apple-touch-iconobject
      • https://go.dev/images/favicon-gopher-plain.pngobject
    • canonicalobject
      • https://go.dev/blog/go1.22object
    • iconobject
      • https://go.dev/images/favicon-gopher.pngobject
        • sizesstring
      • https://go.dev/images/favicon-gopher.svgobject
        • typestring
    • meobject
      • https://hachyderm.io/@golangobject
    • preconnectobject
      • https://www.googletagmanager.com/object
  • metadataobject
    • descriptionstring
    • langstring
    • og:descriptionstring
    • og:imagestring
    • og:titlestring
    • og:urlstring
    • theme-colorstring
    • twitter:cardstring
    • twitter:imagestring
    • twitter:sitestring
    • viewportstring
  • submit_feedback_for_this_response_herestring
  • titlestring
  • urlstring
  • usageobject
    • tokensinteger

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

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

Examples

Official example

Example from the provider's documentation. Field values in your results will differ.

  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 2

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

    timeout
    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.
    body
    Get a web page as Markdown, HTML or plain text.
    Terminal · cURL
    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"
    }'
  3. Check the response

    Sample response · Documented HTTP 200

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

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.

Use Web Page Content API with your agent

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