POST to /v2/analyses
Send a A successful request returns HTTP Save the
POST request to /v2/analyses with an input type of webPageUrl. Set content to the page you want to analyze, and set medium to either desktopWeb or mobileWeb to control which browser viewport EyeQuant simulates. Replace $apikey with your API credentials.201 Created along with the ID and location of the new analysis resource:location URL — you’ll use it to check on progress in the next step.Poll for completion
Taking a screenshot and running the analysis both take a few seconds to complete. Send a While processing is still underway, the response will show a Once the analysis finishes successfully, the status changes to Keep polling until the status is no longer
GET request to the location URL to check the current status.pending status:success and the response includes your output URLs:pending.Additional options
Removing cookie banners: Pass"removeCookieBanner": true in the input object to instruct EyeQuant to strip cookie consent banners from the screenshot before running analysis. This is useful when banners would otherwise dominate the predicted attention.
Supported media types: Only desktopWeb and mobileWeb are valid values for medium when using a webPageUrl input. The generic media type is only available for image uploads.
For the full list of accepted parameters — including optional fields for controlling viewport size and more — see the Input Model reference.