Endpoints
Scrape
Extract content from a specified URL with various output formats. This endpoint allows you to retrieve the content of a webpage in different formats, extract links and images, and optionally get a screenshot of the page.
POST
/
api
/
scrape
Authorizations
x-api-key
string
headerrequiredAPI key obtained from your AgentGo dashboard
Body
application/json
url
string
requiredURL of the webpage to scrape. Must be a valid, publicly accessible URL.
formats
enum<string>[]
Output formats to return. If not specified, defaults to ['html'].
Available options:
markdown, html, rawHtml, screenshot timeout
integer
default: 30000Timeout in milliseconds for the scraping operation. Minimum 1000ms, maximum 60000ms.
Response
200 - application/json
success
boolean
requiredIndicates if the request was successful
data
object
required