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.008–$0.016 / 5 successful URL extractionsPublished 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.008–$0.016 / 5 successful URL extractions

The displayed rate follows the published options and billing groups. Final charges follow reported usage.

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

Extract content from one URL or batch up to 20 URLs in one request. Successful URLs appear in results; per-URL failures appear in failed_results. Check both arrays even when the response is HTTP 200. Request options apply to every URL in the batch.

Sample response

{
  "failed_results": [
    {
      "error": "Failed to retrieve content",
      "url": "https://example.com/unavailable"
    }
  ],
  "request_id": "123e4567-e89b-12d3-a456-426614174111",
  "response_time": 0.5,
  "results": [
    {
      "images": [],
      "raw_content": "Example extracted article content.",
      "url": "https://example.com/article"
    }
  ]
}

Response result

Response structure

Inferred from examples
  • failed_resultsobject[]
    • errorstring
    • urlstring
  • request_idstring
  • response_timenumber
  • resultsobject[]
    • imagesunknown[]
    • raw_contentstring
    • 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—
Current
Tavily Keyless Extract · POST · View API reference
$0.008–$0.016 / 5 successful URL extractions—
—successP50—
TinyFish Fetch · POST · View API reference
$0 / call—Select to load statistics
—successP50—
Loading...
Selected pricing · tavilyUSD / 5 successful URL extractions
Unit price
$0.008–$0.016

The displayed rate follows the published options and billing groups. Final charges follow reported usage.

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: 6. Price update time: not supplied.

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/tavily/extract
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api.openany.si/v1/agent-apis/tavily/extract' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "include_usage": true,
  "urls": "https://en.wikipedia.org/wiki/Artificial_intelligence"
}'

Input parameters

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

ParameterLocationTypeRequiredDescription
chunks_per_sourceJSON request bodybodyintegerNoChunks are short content snippets (about 800 characters each) pulled directly from the source. Use `chunks_per_source` to define the maximum number of relevant chunks returned per source and to control the `raw_content` length. Chunks will appear in the `raw_content` field as: `<chunk 1> [...] <chunk 2> [...] <chunk 3>`. If a page splits into no more chunks than `chunks_per_source`, its full content is returned. Available only when `query` is provided. Must be between 1 and 5.

minimum: 1 · maximum: 5

extract_depthJSON request bodybodystringNoThe depth of the extraction process. `advanced` extraction retrieves more data, including tables and embedded content, with higher success but may increase latency.`basic` extraction costs 1 credit per 5 successful URL extractions, while `advanced` extraction costs 2 credits per 5 successful URL extractions.

enum: "basic", "advanced"

formatJSON request bodybodystringNoThe format of the extracted web page content. `markdown` returns content in markdown format. `text` returns plain text and may increase latency.

enum: "markdown", "text"

include_faviconJSON request bodybodybooleanNoWhether to include the favicon URL for each result.
include_imagesJSON request bodybodybooleanNoInclude a list of images extracted from the URLs in the response. Default is false.
include_usageJSON request bodybodybooleanNoWhether to include credit usage information in the response. `NOTE:`The value may be 0 if the total successful URL extractions has not yet reached 5 calls. See our [Credits & Pricing documentation](https://docs.tavily.com/documentation/api-credits) for details.
queryJSON request bodybodystringNoUser intent for reranking extracted content chunks. When provided, chunks are reranked based on relevance to this query.
timeoutJSON request bodybodynumberNoMaximum time in seconds to wait for the URL extraction before timing out. Must be between 1.0 and 60.0 seconds. If not specified, default timeouts are applied based on extract_depth: 10 seconds for basic extraction and 30 seconds for advanced extraction.

minimum: [object Object] · maximum: [object Object] · format: float

urlsJSON request bodybodystring | arrayYes
Nested fields and variants

array

A list of 1–20 URLs to extract in one request.

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

Third-party response reference · Documented HTTP 200 Historical third-party reference. It may differ from the current provider response; verify the original contract before use.

Third-party reference
{
  "failed_results": [
    {
      "error": "Failed to retrieve content",
      "url": "https://example.com/unavailable"
    }
  ],
  "request_id": "123e4567-e89b-12d3-a456-426614174111",
  "response_time": 0.5,
  "results": [
    {
      "images": [],
      "raw_content": "Example extracted article content.",
      "url": "https://example.com/article"
    }
  ]
}

Usage billing

The displayed rate follows the published options and billing groups. Final charges follow reported usage.

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/apis/a64d248c-785f-4149-8116-e9c47a9c8c3c
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/tavily/extract
Price: $0.008–$0.016 / 5 successful URL extractions
Pricing note: The displayed rate follows the published options and billing groups. Final charges follow reported usage.
Provider: tavily
Contract revision: 6
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/tavily/extract' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "include_usage": true,
  "urls": "https://en.wikipedia.org/wiki/Artificial_intelligence"
}'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "Tavily Keyless Extract",
  "endpoint": "https://api.openany.si/v1/agent-apis/tavily/extract",
  "method": "POST",
  "content_type": "application/json",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "Extract content from one URL or batch up to 20 URLs in one request. Successful URLs appear in results; per-URL failures appear in failed_results. Check both arrays even when the response is HTTP 200. Request options apply to every URL in the batch.",
      "json_schema": {
        "additionalProperties": false,
        "properties": {
          "chunks_per_source": {
            "default": 3,
            "description": "Chunks are short content snippets (about 800 characters each) pulled directly from the source. Use `chunks_per_source` to define the maximum number of relevant chunks returned per source and to control the `raw_content` length. Chunks will appear in the `raw_content` field as: `<chunk 1> [...] <chunk 2> [...] <chunk 3>`. If a page splits into no more chunks than `chunks_per_source`, its full content is returned. Available only when `query` is provided. Must be between 1 and 5.",
            "maximum": 5,
            "minimum": 1,
            "type": "integer"
          },
          "extract_depth": {
            "default": "basic",
            "description": "The depth of the extraction process. `advanced` extraction retrieves more data, including tables and embedded content, with higher success but may increase latency.`basic` extraction costs 1 credit per 5 successful URL extractions, while `advanced` extraction costs 2 credits per 5 successful URL extractions.",
            "enum": [
              "basic",
              "advanced"
            ],
            "type": "string"
          },
          "format": {
            "default": "markdown",
            "description": "The format of the extracted web page content. `markdown` returns content in markdown format. `text` returns plain text and may increase latency.",
            "enum": [
              "markdown",
              "text"
            ],
            "type": "string"
          },
          "include_favicon": {
            "default": false,
            "description": "Whether to include the favicon URL for each result.",
            "type": "boolean"
          },
          "include_images": {
            "default": false,
            "description": "Include a list of images extracted from the URLs in the response. Default is false.",
            "type": "boolean"
          },
          "include_usage": {
            "default": false,
            "description": "Whether to include credit usage information in the response. `NOTE:`The value may be 0 if the total successful URL extractions has not yet reached 5 calls. See our [Credits & Pricing documentation](https://docs.tavily.com/documentation/api-credits) for details.",
            "type": "boolean"
          },
          "query": {
            "description": "User intent for reranking extracted content chunks. When provided, chunks are reranked based on relevance to this query.",
            "type": "string"
          },
          "timeout": {
            "default": "None",
            "description": "Maximum time in seconds to wait for the URL extraction before timing out. Must be between 1.0 and 60.0 seconds. If not specified, default timeouts are applied based on extract_depth: 10 seconds for basic extraction and 30 seconds for advanced extraction.",
            "format": "float",
            "maximum": 60.0,
            "minimum": 1.0,
            "type": "number"
          },
          "urls": {
            "oneOf": [
              {
                "description": "The URL to extract content from.",
                "example": "https://en.wikipedia.org/wiki/Artificial_intelligence",
                "type": "string"
              },
              {
                "description": "A list of 1–20 URLs to extract in one request.",
                "example": [
                  "https://en.wikipedia.org/wiki/Artificial_intelligence",
                  "https://en.wikipedia.org/wiki/Machine_learning",
                  "https://en.wikipedia.org/wiki/Data_science"
                ],
                "items": {
                  "type": "string"
                },
                "maxItems": 20,
                "minItems": 1,
                "type": "array"
              }
            ]
          }
        },
        "required": [
          "urls"
        ],
        "type": "object"
      },
      "location": "body",
      "name": "body",
      "nullable": false,
      "pointer": "",
      "required": true,
      "type": "object"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "usage",
    "priceMicroUsd": "8000",
    "rounding": "ceil",
    "unit": "credit",
    "unitQuantity": "1"
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Third-party reference",
      "request": {
        "body": {
          "include_usage": true,
          "urls": "https://en.wikipedia.org/wiki/Artificial_intelligence"
        },
        "headers": {},
        "path": {},
        "query": {}
      },
      "response_body": {
        "failed_results": [
          {
            "error": "Failed to retrieve content",
            "url": "https://example.com/unavailable"
          }
        ],
        "request_id": "123e4567-e89b-12d3-a456-426614174111",
        "response_time": 0.5,
        "results": [
          {
            "images": [],
            "raw_content": "Example extracted article content.",
            "url": "https://example.com/article"
          }
        ]
      }
    }
  ]
}
```

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

Third-party reference

Historical third-party reference. It may differ from the current provider response; verify the original contract before use.

  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
    Extract content from one URL or batch up to 20 URLs in one request. Successful URLs appear in results; per-URL failures appear in failed_results. Check both arrays even when the response is HTTP 200. Request options apply to every URL in the batch.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/tavily/extract' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "include_usage": true,
      "urls": "https://en.wikipedia.org/wiki/Artificial_intelligence"
    }'
  3. Check the response

    Third-party response reference · Documented HTTP 200

    Third-party response reference
    {
      "failed_results": [
        {
          "error": "Failed to retrieve content",
          "url": "https://example.com/unavailable"
        }
      ],
      "request_id": "123e4567-e89b-12d3-a456-426614174111",
      "response_time": 0.5,
      "results": [
        {
          "images": [],
          "raw_content": "Example extracted article content.",
          "url": "https://example.com/article"
        }
      ]
    }

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.