/api/openclaw/scrape endpoint fetches a public web page and returns structured data: the page title, meta description, headings, links, and readable text content. Scripts, styles, navigation, and footer elements are stripped before the text is extracted. The endpoint costs 10 credits per successful call — credits are refunded automatically if the fetch fails.
Request
Method:POSTURL:
https://onyxiq.in/api/openclaw/scrapeAuthentication: Required (session cookie). Returns
401 if missing.Content-Type:
application/json
Body parameters
The public HTTP or HTTPS URL of the page to scrape. Must be a fully-qualified URL with a valid
http: or https: scheme. Relative paths and other protocols are rejected.Response
200 — success
Credits are only deducted when the endpoint returns a
200 response. If the fetch fails for any reason, the 10 credits are refunded to your account automatically.Always
true on a successful response.The scraped page data.
Number of credits deducted for this request. Always
10.Your credit balance after the deduction.
