GET /api/sites/:slug/views/:state/:view
Navigates to the page state and executes the view’s extraction code against the live DOM. Returns structured data.
When you call this endpoint, the execution server:
- Looks up the manifest for the site
- Finds the target state and view
- Opens a new browser page
- Navigates to the state’s URL
- Waits for the DOM to settle
- Runs the view’s extraction code
- Returns the result as JSON
Path parameters
string
required
The site identifier (e.g.,
example-com).string
required
The state name from the manifest (e.g.,
HomePage, SearchResults).string
required
The view name within the state (e.g.,
product_list, user_profile).Query parameters
If the state’s URL pattern contains template variables (e.g.,/products/{id}), pass the values as query parameters: