/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
string
required
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.boolean
required
Always
true on a successful response.object
required
The scraped page data.
number
required
Number of credits deducted for this request. Always
10.number
required
Your credit balance after the deduction.
