OpenAny
Get API keyAPI Key
APIDeveloperScrapers

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 / callPublished pricing
Sellers / APIs
5 / 5
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Web Page Content API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Web Page Content API

Web TinyFish Fetch API

Retrieve content from 1 to 10 known webpage URLs as Markdown, HTML, or a document tree. Provide urls 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 body: body
Selected implementation tinyfish · TinyFish 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
results[].text Text
results[].title Title
results[].description Description
results[].final_url Returned final url field
results[].format Returned format field
results[].language Returned language field
results[].url Returned URL
errors Returned errors 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/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/"
  ]
}'

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 TinyFish 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

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

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—
Fetch · POST · View API reference
$0.00015 / call—Select to load statistics
—successP50—
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—
Current
TinyFish Fetch · POST · View API reference
$0 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
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: 4. 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
View request and response examples

Input parameters

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

ParameterLocationTypeRequiredDescription
urlsJSON request bodybodyarrayYes

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.

minItems: 1 · maxItems: 10

Nested fields and variants

body.urls[] · Array item · string

exclude_selectorsJSON request bodybodyarrayNo

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.

minItems: 1 · maxItems: 20

Nested fields and variants

body.exclude_selectors[] · Array item · string

formatJSON request bodybodystringNo

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"

if_modified_sinceJSON request bodybodystringNo

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.

minLength: 1

if_none_matchJSON request bodybodystringNo

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.

minLength: 1

iframe_linksJSON request bodybodybooleanNo

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.

image_linksJSON request bodybodybooleanNo

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.

include_etag_and_last_modifiedJSON request bodybodybooleanNo

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.

include_selectorsJSON request bodybodyarrayNo

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.

minItems: 1 · maxItems: 20

Nested fields and variants

body.include_selectors[] · Array item · string

linksJSON request bodybodybooleanNo

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.

page_metadataJSON request bodybodybooleanNo

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.

per_url_timeout_msJSON request bodybodyintegerNo

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.

minimum: 1 · maximum: 110000

purposeJSON request bodybodystringNo

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.

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

ttlJSON request bodybodyintegerNo

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.

minimum: 0

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

Response structure

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

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

Which inputs identify this request?

Provide urls in body (array). 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.

Use Web Page Content API with your agent

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