AgentScraper API
v0.1.0Fetch public web pages live and get clean Markdown, text or HTML.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_page_contents Get page contents
Fetch a public web page live and return its main content as clean Markdown, plain text or HTML. Use this when you have a specific URL and need its current content. Works best on articles, docs, product and listing pages. Pages that need JavaScript are rendered in a real browser automatically when the fast fetch is not enough (charged at the rendered rate). Does not log in or submit forms.
| Parameter | Type | Description |
|---|---|---|
url * | string | The public URL to fetch (http or https, at most 8,192 characters). |
country | string | Fetch the page as seen from this country, e.g. 'de', 'gb', 'us'. |
format | string | Output format. Prefer markdown. |
max_characters | integer | Maximum characters of content to return (default 8000, smaller than the REST API's 100000 to save context). Raise it when the content is cut. |
verbosity | string | 'compact' = main content only, 'full' = whole page body. |
get_account_status Get account status
Check the remaining credits, plan and rate limit for the connected AgentScraper API account. Use before large batches of fetches.