cURL
curl --request POST \ --url https://app.gptscraper.com/api/searchgpt/jobs \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "query": "<string>", "screenshot": true, "country": "<string>" }'
{ "jobId": "<string>", "success": true }
Submit a query to be scraped
Enter your API key in the format: Bearer <YOUR_API_KEY>
The query to send to searchGPT
Whether to capture a screenshot of the search results
Country code in ISO 3166-1 alpha-2 format
Job created successfully
Unique identifier for the created job
Whether the job was created successfully