webscrapingai.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Account
getInfo
account.getInfo
Return account quota and credit information
Risk: read
Ai
askQuestion
ai.askQuestion
Answer a question using the content of a web page
Risk: read
headers full type
headers full type
string
extractFields
ai.extractFields
Extract requested fields from a web page as structured JSON
Risk: read
headers full type
headers full type
fields full type
fields full type
object
Output full type
Output full type
Scraping
getHtml
scraping.getHtml
Return the rendered HTML of a web page
Risk: read
headers full type
headers full type
string
getSelectedHtml
scraping.getSelectedHtml
Return HTML matching one CSS selector
Risk: read
headers full type
headers full type
string
getSelectedMultiple
scraping.getSelectedMultiple
Return HTML matching multiple CSS selectors
Risk: read
headers full type
headers full type
object
Output full type
Output full type
getText
scraping.getText
Return clean text or Markdown extracted from a web page
Risk: read
headers full type
headers full type
object
Output full type
Output full type