Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Classify an HTTP response for anti-bot blocking.
scrapfly.classifyResponse
import { automation, onInvocation } from "automate.ax" import { scrapfly } from "automate.ax/scrapfly" export default automation("Classify response", () => { onInvocation() scrapfly.classifyResponse({ url: "https://example.com", statusCode: 403, body: "Checking your browser…", }) })
url
string
statusCode
number
method
GET
headers
Record<string, string>
body
string | null
{ blocked, antibot, cost }
antibot
null