AgentScraper API

v0.1.0
cc.agentscraper/agentscraper Checked 3 days ago Published 24 days ago

Fetch 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.

ParameterTypeDescription
url *stringThe public URL to fetch (http or https, at most 8,192 characters).
countrystringFetch the page as seen from this country, e.g. 'de', 'gb', 'us'.
formatstringOutput format. Prefer markdown.
max_charactersintegerMaximum characters of content to return (default 8000, smaller than the REST API's 100000 to save context). Raise it when the content is cut.
verbositystring'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.