APIDeveloperScrapers

Web Page Content

Retrieve the contents of a webpage from its URL. The sample response includes URLs. Use it in developer tools or technical research. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.

Selected price
$0 / callPublished pricing
Sellers / APIs
4 / 4
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

Web Page Content

Prepare your request, then continue with your agent.

Selected price

$0 / 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

body

Fetch content from 1 to 10 known webpage URLs as Markdown, HTML, or a document tree. Each URL is processed independently; inspect both results and errors.

Sample response

"errors": []
results [1]
[0] {}
"description": "TinyFish provides enterprise infrastructure for AI web agents."
"final_url": "https://www.tinyfish.ai/"
"format": "markdown"
"language": "en"
textString · text preview
results[0].text
# TinyFish | Enterprise Web Agent Infrastructure

TinyFish provides enterprise infrastructure for AI web agents...
"title": "TinyFish | Enterprise Web Agent Infrastructure"
"url": "https://www.tinyfish.ai/"

Response result

Response structure

Inferred from examples
  • errorsunknown[]
  • resultsobject[]
    • descriptionstring
    • final_urlstring
    • formatstring
    • languagestring
    • textstring
    • titlestring
    • urlstring

Sellers

SellerPricingRequests · 30dPerformanceAccess
Keenable Public Fetch · GET · View API reference
$0 / call—Select to load statistics
—successP50—
Fetch · POST · View API reference
$0.00015 / 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—
Current
TinyFish Fetch · POST · View API reference
$0 / call—
—successP50—
Loading...
Selected pricing · tinyfishUSD / call
Unit price
$0

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.

calls

Total $0

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/tinyfish/
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api.openany.si/v1/agent-apis/tinyfish/' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "format": "markdown",
  "per_url_timeout_ms": 90000,
  "urls": [
    "https://www.tinyfish.ai/"
  ]
}'

Input parameters

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

ParameterLocationTypeRequiredDescription
exclude_selectorsJSON request bodybodyarrayNoArray of CSS selectors (1-20 entries, each 1-1000 characters) for elements to remove before extraction — applied before `include_selectors` scopes what remains, so it also prunes inside selected regions. Entries may themselves use CSS comma-grouping. Entries that match nothing are a no-op, never an error, but URLs that resolve to direct PDF/CSV downloads fail with `selector_unsupported`. Invalid CSS selector syntax is rejected with a 422. Applied post-fetch: caching and routing are unchanged.

minItems: 1 · maxItems: 20

Nested fields and variants

body.exclude_selectors[] · Array item · string

formatJSON request bodybodystringNoOutput format for extracted content. "markdown" (default) is ideal for LLM consumption. "html" returns cleaned semantic HTML. "json" returns a structured document tree.

enum: "markdown", "html", "json"

if_modified_sinceJSON request bodybodystringNoLast-Modified validator from a prior fetch of this URL, forwarded verbatim as the If-Modified-Since header on the origin request. Only valid with a single URL — combining with a batch of URLs returns a 400. tf-fetch does not persist validators; the caller owns replaying them.

minLength: 1

if_none_matchJSON request bodybodystringNoETag validator from a prior fetch of this URL, forwarded verbatim as the If-None-Match header on the origin request. Only valid with a single URL — combining with a batch of URLs returns a 400. tf-fetch does not persist validators; the caller owns replaying them.

minLength: 1

iframe_linksJSON request bodybodybooleanNoExtract the src URLs of <iframe> elements on each page. Useful when a page embeds its main content in a frame (job boards, booking widgets, document viewers): fetch the returned URL to read the embedded content. Iframe links are returned as absolute, deduplicated URLs in the iframe_links array of each result. Script-injected iframes are only present when the page was rendered in a browser.
image_linksJSON request bodybodybooleanNoExtract all image URLs (<img src>) from each page. Useful for finding visual content or media assets. Image links are returned as absolute URLs in the image_links array of each result.
include_etag_and_last_modifiedJSON request bodybodybooleanNoOpt-in to receiving `etag` / `last_modified` validators (and `not_modified` detection) on each result. Defaults to false — tf-fetch omits these fields unless requested. Independent of `if_none_match` / `if_modified_since`: works with a single URL or a batch.
include_selectorsJSON request bodybodyarrayNoArray of CSS selectors (1-20 entries, each 1-1000 characters) that scope extracted content (`text`, `links`, `image_links`) to elements matching ANY entry, concatenated in document order. Tag selectors cover semantic sections (`main`, `article`, `nav`); entries may themselves use CSS comma-grouping. Selected content is returned verbatim in the requested format (scripts/styles stripped) — automatic boilerplate removal is bypassed. Page-level metadata (`title`, `description`, `language`, `author`, `published_date`) still comes from the full document. When some entries match and others do not, the URL still succeeds and the misses are reported in the result's `unmatched_selectors`. When no entry matches anything, that URL fails with the per-URL error code `selector_not_matched` (carrying `unmatched_selectors` and `candidate_selectors` retry hints) — never a silent full-page fallback. URLs that resolve to direct PDF/CSV downloads fail with `selector_unsupported`. Invalid CSS selector syntax is rejected with a 422. Applied post-fetch: caching and routing are unchanged.

minItems: 1 · maxItems: 20

Nested fields and variants

body.include_selectors[] · Array item · string

linksJSON request bodybodybooleanNoExtract all outbound links (<a href>) from each page. Useful for discovering related pages or navigating to specific content. Links are returned as absolute URLs in the links array of each result.
page_metadataJSON request bodybodybooleanNoReturn page-head metadata for each page in the page_metadata object of each result: canonical URL, favicon, robots directive, generator, viewport, keywords, all Open Graph (og), Twitter card (twitter), and article tags, and remaining named meta tags under `other`. Useful for SEO/technical audits and link-preview generation.
per_url_timeout_msJSON request bodybodyintegerNoWall-clock timeout budget in milliseconds applied independently to each URL. If one URL exceeds this budget, it returns a per-URL timeout error while other URLs in the same request continue.

minimum: 1 · maximum: 110000

purposeJSON request bodybodystringNoWhy these URLs are being fetched — the underlying goal or task the content will be used for. Used to better tailor fetching and extraction to your intent.

minLength: 1 · maxLength: 2000 · pattern: \S

ttlJSON request bodybodyintegerNoCaller freshness tolerance in seconds for the cached entry. Omit (default) for unlimited tolerance — any cached entry is acceptable. Set to 0 to prefer a live fetch; a cached entry is still served if the origin's Cache-Control: max-age covers its age, or the host is in the small allowlist of operator-pinned never-expire domains. Set to N > 0 to accept a cached entry whose age is below N; the upstream Cache-Control: max-age and the never-expire allowlist may extend (never shorten) this tolerance.

minimum: 0

urlsJSON request bodybodyarrayYesArray of URLs to fetch (1-10). All URLs are fetched in parallel. Each URL is processed independently — if one fails, others still return successfully. Errors are reported per-URL in the errors array.

minItems: 1 · maxItems: 10

Nested fields and variants

body.urls[] · Array item · string

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

Sample response

Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.

Official example (abridged)
{
  "errors": [],
  "results": [
    {
      "description": "TinyFish provides enterprise infrastructure for AI web agents.",
      "final_url": "https://www.tinyfish.ai/",
      "format": "markdown",
      "language": "en",
      "text": "# TinyFish | Enterprise Web Agent Infrastructure\n\nTinyFish provides enterprise infrastructure for AI web agents...\n",
      "title": "TinyFish | Enterprise Web Agent Infrastructure",
      "url": "https://www.tinyfish.ai/"
    }
  ]
}

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# Web Page Content

Retrieve the contents of a webpage from its URL. The sample response includes URLs. Use it in developer tools or technical research. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
keenable · Keenable Public Fetch: https://openany.si/markets/apis/capabilities/web-page-content?offering=d842b7ba-1d8b-4150-ac0c-3d1d6deed577 · $0 / call
litescrape · Fetch: https://openany.si/markets/apis/capabilities/web-page-content?offering=a8fbac67-8c6d-446e-9d8f-4fcffef33dc3 · $0.00015 / call
tavily · Tavily Keyless Extract: https://openany.si/markets/apis/capabilities/web-page-content?offering=a64d248c-785f-4149-8116-e9c47a9c8c3c · $0.008–$0.016 / 5 successful URL extractions
tinyfish · TinyFish Fetch: https://openany.si/markets/apis/capabilities/web-page-content?offering=0bf3c77e-77a3-49c5-81ab-dd92d2c442ef · $0 / call

## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/web-page-content
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/tinyfish/
Price: $0 / call
Provider: tinyfish
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/tinyfish/' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "format": "markdown",
  "per_url_timeout_ms": 90000,
  "urls": [
    "https://www.tinyfish.ai/"
  ]
}'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "TinyFish Fetch",
  "endpoint": "https://api.openany.si/v1/agent-apis/tinyfish/",
  "method": "POST",
  "content_type": "application/json",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "Fetch content from 1 to 10 known webpage URLs as Markdown, HTML, or a document tree. Each URL is processed independently; inspect both results and errors.",
      "json_schema": {
        "additionalProperties": false,
        "allOf": [
          {
            "if": {
              "anyOf": [
                {
                  "required": [
                    "if_none_match"
                  ]
                },
                {
                  "required": [
                    "if_modified_since"
                  ]
                }
              ]
            },
            "then": {
              "properties": {
                "urls": {
                  "maxItems": 1
                }
              }
            }
          }
        ],
        "properties": {
          "exclude_selectors": {
            "description": "Array of CSS selectors (1-20 entries, each 1-1000 characters) for elements to remove before extraction — applied before `include_selectors` scopes what remains, so it also prunes inside selected regions. Entries may themselves use CSS comma-grouping. Entries that match nothing are a no-op, never an error, but URLs that resolve to direct PDF/CSV downloads fail with `selector_unsupported`. Invalid CSS selector syntax is rejected with a 422. Applied post-fetch: caching and routing are unchanged.",
            "example": [
              ".comments",
              ".newsletter-signup"
            ],
            "items": {
              "maxLength": 1000,
              "minLength": 1,
              "type": "string"
            },
            "maxItems": 20,
            "minItems": 1,
            "type": "array"
          },
          "format": {
            "default": "markdown",
            "description": "Output format for extracted content. \"markdown\" (default) is ideal for LLM consumption. \"html\" returns cleaned semantic HTML. \"json\" returns a structured document tree.",
            "enum": [
              "markdown",
              "html",
              "json"
            ],
            "example": "markdown",
            "type": "string"
          },
          "if_modified_since": {
            "description": "Last-Modified validator from a prior fetch of this URL, forwarded verbatim as the If-Modified-Since header on the origin request. Only valid with a single URL — combining with a batch of URLs returns a 400. tf-fetch does not persist validators; the caller owns replaying them.",
            "example": "Wed, 21 Oct 2015 07:28:00 GMT",
            "minLength": 1,
            "type": "string"
          },
          "if_none_match": {
            "description": "ETag validator from a prior fetch of this URL, forwarded verbatim as the If-None-Match header on the origin request. Only valid with a single URL — combining with a batch of URLs returns a 400. tf-fetch does not persist validators; the caller owns replaying them.",
            "example": "W/\"abc123\"",
            "minLength": 1,
            "type": "string"
          },
          "iframe_links": {
            "default": false,
            "description": "Extract the src URLs of <iframe> elements on each page. Useful when a page embeds its main content in a frame (job boards, booking widgets, document viewers): fetch the returned URL to read the embedded content. Iframe links are returned as absolute, deduplicated URLs in the iframe_links array of each result. Script-injected iframes are only present when the page was rendered in a browser.",
            "example": false,
            "type": "boolean"
          },
          "image_links": {
            "default": false,
            "description": "Extract all image URLs (<img src>) from each page. Useful for finding visual content or media assets. Image links are returned as absolute URLs in the image_links array of each result.",
            "example": false,
            "type": "boolean"
          },
          "include_etag_and_last_modified": {
            "description": "Opt-in to receiving `etag` / `last_modified` validators (and `not_modified` detection) on each result. Defaults to false — tf-fetch omits these fields unless requested. Independent of `if_none_match` / `if_modified_since`: works with a single URL or a batch.",
            "example": true,
            "type": "boolean"
          },
          "include_selectors": {
            "description": "Array of CSS selectors (1-20 entries, each 1-1000 characters) that scope extracted content (`text`, `links`, `image_links`) to elements matching ANY entry, concatenated in document order. Tag selectors cover semantic sections (`main`, `article`, `nav`); entries may themselves use CSS comma-grouping. Selected content is returned verbatim in the requested format (scripts/styles stripped) — automatic boilerplate removal is bypassed. Page-level metadata (`title`, `description`, `language`, `author`, `published_date`) still comes from the full document. When some entries match and others do not, the URL still succeeds and the misses are reported in the result's `unmatched_selectors`. When no entry matches anything, that URL fails with the per-URL error code `selector_not_matched` (carrying `unmatched_selectors` and `candidate_selectors` retry hints) — never a silent full-page fallback. URLs that resolve to direct PDF/CSV downloads fail with `selector_unsupported`. Invalid CSS selector syntax is rejected with a 422. Applied post-fetch: caching and routing are unchanged.",
            "example": [
              "article"
            ],
            "items": {
              "maxLength": 1000,
              "minLength": 1,
              "type": "string"
            },
            "maxItems": 20,
            "minItems": 1,
            "type": "array"
          },
          "links": {
            "default": false,
            "description": "Extract all outbound links (<a href>) from each page. Useful for discovering related pages or navigating to specific content. Links are returned as absolute URLs in the links array of each result.",
            "example": false,
            "type": "boolean"
          },
          "page_metadata": {
            "default": false,
            "description": "Return page-head metadata for each page in the page_metadata object of each result: canonical URL, favicon, robots directive, generator, viewport, keywords, all Open Graph (og), Twitter card (twitter), and article tags, and remaining named meta tags under `other`. Useful for SEO/technical audits and link-preview generation.",
            "example": false,
            "type": "boolean"
          },
          "per_url_timeout_ms": {
            "description": "Wall-clock timeout budget in milliseconds applied independently to each URL. If one URL exceeds this budget, it returns a per-URL timeout error while other URLs in the same request continue.",
            "example": 45000,
            "maximum": 110000,
            "minimum": 1,
            "type": "integer"
          },
          "purpose": {
            "description": "Why these URLs are being fetched — the underlying goal or task the content will be used for. Used to better tailor fetching and extraction to your intent.",
            "example": "Compare pricing tiers across vendors for a procurement report",
            "maxLength": 2000,
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "ttl": {
            "description": "Caller freshness tolerance in seconds for the cached entry. Omit (default) for unlimited tolerance — any cached entry is acceptable. Set to 0 to prefer a live fetch; a cached entry is still served if the origin's Cache-Control: max-age covers its age, or the host is in the small allowlist of operator-pinned never-expire domains. Set to N > 0 to accept a cached entry whose age is below N; the upstream Cache-Control: max-age and the never-expire allowlist may extend (never shorten) this tolerance.",
            "example": 0,
            "minimum": 0,
            "type": "integer"
          },
          "urls": {
            "description": "Array of URLs to fetch (1-10). All URLs are fetched in parallel. Each URL is processed independently — if one fails, others still return successfully. Errors are reported per-URL in the errors array.",
            "example": [
              "https://example.com",
              "https://example.org"
            ],
            "items": {
              "format": "uri",
              "pattern": "^[Hh][Tt][Tt][Pp][Ss]?://",
              "type": "string"
            },
            "maxItems": 10,
            "minItems": 1,
            "type": "array"
          }
        },
        "required": [
          "urls"
        ],
        "type": "object"
      },
      "location": "body",
      "name": "body",
      "nullable": false,
      "pointer": "",
      "required": true,
      "type": "object"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "fixed",
    "priceMicroUsd": "0",
    "rounding": null,
    "unit": "call",
    "unitQuantity": null
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Official example (abridged)",
      "request": {
        "body": {
          "format": "markdown",
          "per_url_timeout_ms": 90000,
          "urls": [
            "https://www.tinyfish.ai/"
          ]
        },
        "headers": {},
        "path": {},
        "query": {}
      },
      "response_body": {
        "errors": [],
        "results": [
          {
            "description": "TinyFish provides enterprise infrastructure for AI web agents.",
            "final_url": "https://www.tinyfish.ai/",
            "format": "markdown",
            "language": "en",
            "text": "# TinyFish | Enterprise Web Agent Infrastructure\n\nTinyFish provides enterprise infrastructure for AI web agents...\n",
            "title": "TinyFish | Enterprise Web Agent Infrastructure",
            "url": "https://www.tinyfish.ai/"
          }
        ]
      }
    }
  ]
}
```

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 (abridged)

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 1

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

    body
    Fetch content from 1 to 10 known webpage URLs as Markdown, HTML, or a document tree. Each URL is processed independently; inspect both results and errors.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/tinyfish/' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "format": "markdown",
      "per_url_timeout_ms": 90000,
      "urls": [
        "https://www.tinyfish.ai/"
      ]
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "errors": [],
      "results": [
        {
          "description": "TinyFish provides enterprise infrastructure for AI web agents.",
          "final_url": "https://www.tinyfish.ai/",
          "format": "markdown",
          "language": "en",
          "text": "# TinyFish | Enterprise Web Agent Infrastructure\n\nTinyFish provides enterprise infrastructure for AI web agents...\n",
          "title": "TinyFish | Enterprise Web Agent Infrastructure",
          "url": "https://www.tinyfish.ai/"
        }
      ]
    }

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 Web Page Content with your agent

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