create_scrape_job
Create a hosted scrape job that reads prices from one public https page with CSS selectors, on a schedule or on demand with run_scrape_job. Try the selectors first with preview_scrape_job. Hosted scraping is behind a release flag: until it is on for your workspace this answers 501 hosted_scraping_not_enabled. Runs honour robots.txt and fetch only public https pages. Needs a Last Price credential with the commerce:configure scope. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The public page to read. Must start with https://. | |
| name | Yes | A name for the job. | |
| enabled | No | false pauses the schedule. | |
| currency | No | Three-letter ISO 4217 code, such as USD. | |
| schedule | No | How often the job runs. manual runs only with run_scrape_job. | |
| vertical | No | The vertical the prices belong to, such as saas. | |
| plan_selector | No | CSS selector for the plan name beside each price. | |
| price_selector | Yes | CSS selector for the price elements. | |
| auto_contribute | No | Whether run results are contributed to the shared price pool. | |
| extraction_mode | No | css reads the selectors only; css_with_llm_fallback asks a model when they find nothing. |