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...
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
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
failed_resultsobject[]errorstringurlstring
request_idstringresponse_timenumberresultsobject[]imagesunknown[]raw_contentstringurlstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
failed_results?: Array<{
error?: string;
url?: string;
}>;
request_id?: string;
response_time?: number;
results?: Array<{
images?: Array<unknown>;
raw_content?: string;
url?: string;
}>;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| 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— |
- 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.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
chunks_per_source | JSON request bodybody | integer | No | 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. minimum: 1 · maximum: 5 |
extract_depth | JSON request bodybody | string | No | 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" |
format | JSON request bodybody | string | No | 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" |
include_favicon | JSON request bodybody | boolean | No | Whether to include the favicon URL for each result. |
include_images | JSON request bodybody | boolean | No | Include a list of images extracted from the URLs in the response. Default is false. |
include_usage | JSON request bodybody | boolean | No | 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. |
query | JSON request bodybody | string | No | User intent for reranking extracted content chunks. When provided, chunks are reranked based on relevance to this query. |
timeout | JSON request bodybody | number | No | 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. minimum: [object Object] · maximum: [object Object] · format: float |
urls | JSON request bodybody | string | array | Yes | Nested fields and variantsarrayA list of 1–20 URLs to extract in one request. Nested fields and variants
|
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.
{
"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
# 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/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
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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" }'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" } ] }