Skip to main content
POST
/
api
/
extract
JavaScript
import { Hyperbrowser } from '@hyperbrowser/sdk';

const client = new Hyperbrowser({ apiKey: 'your-api-key' });

await client.extract.start({
  urls: ['https://example.com'],
  prompt: 'Extract the main headline and author'
});
{
  "jobId": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
urls
string[]
required
systemPrompt
string
prompt
string
schema
object
sessionOptions
object
waitFor
number
default:0

Response

Extract job started successfully

jobId
string
required