Skip to main content
POST
/
v3
/
tools
/
web
/
fetch
Web fetch
curl --request POST \
  --url https://api.opper.ai/v3/tools/web/fetch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>"
}
'
{
  "content": "<string>",
  "title": "<string>",
  "url": "<string>"
}
This endpoint is in beta. Its request and response shapes may change without the usual deprecation window.

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token.

Body

application/json
url
string
required

The HTTP or HTTPS URL to fetch. Required.

engine
enum<string>

Fetch backend. auto (default) routes to Jina.

Available options:
auto,
jina
max_chars
integer

Truncate the returned content to at most this many characters. 0 means unbounded (return the full page).

Response

Successful response

content
string
required

Page content as Markdown. Truncated to max_chars if set.

title
string
required

Page title as extracted from the rendered HTML.

url
string
required

Canonical URL of the fetched page (may differ from the requested URL after redirects).