Web Page Fetch
GET
/gateway/v1/web/fetchFetches a web page and converts it to clean, LLM-friendly markdown.
Options: - `target_selector` — extract specific page sections - `remove_selector` — strip unwanted elements
Returns 400 if the URL is invalid or unreachable.
Query Parameters
urlstringrequired
URL to fetch and parse
Example:
https://ethereum.orgtarget_selectorstring
CSS selector to extract specific content
Example:
article.main-contentremove_selectorstring
CSS selector to remove unwanted elements
Example:
nav,footer,.adswait_for_selectorstring
CSS selector to wait for before extracting
Example:
.content-loadedtimeoutinteger
Request timeout in milliseconds
Example:
5000Web Page Fetch
OK