Web
Web Page Fetch
Fetches 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.
get/gateway/v1/web/fetch
Query parameters
urlstring required
URL to fetch and parse
Example:https://ethereum.org
URL to fetch and parse
target_selectorstring
CSS selector to extract specific content
Example:article.main-content
CSS selector to extract specific content
remove_selectorstring
CSS selector to remove unwanted elements
Example:nav,footer,.ads
CSS selector to remove unwanted elements
wait_for_selectorstring
CSS selector to wait for before extracting
Example:.content-loaded
CSS selector to wait for before extracting
timeoutinteger
Request timeout in milliseconds
Example:5000
Request timeout in milliseconds
Response
OK
Example response
{
"$schema": "https://example.com/schemas/DataObjectResponseWebFetchResultItem.json"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.