DeepScout
v1.0.1Scrape any e-shop and match products across shops without EAN.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scout_list_projects List projects
List the projects of the user: id, name, localization, and the customer that pays for them. The exports of a project have prices in its localization currency. Most tools need a project_id.
scout_create_project Create a project
Create a project only when the user asks for a new one, e.g. for another client or market. A project is a separate workspace with its own websites and exports. A matching connects only the websites of one project. Each project pays for its websites: a website in a second project takes another analysis and another paid scrape. Thus do not create a project for each website. The customer_id is in scout_list_projects. country: ISO 3166 code of the market of the project, e.g. "CZ". currency: ISO 4217 code of the prices in the exports, e.g. "CZK".
| Parameter | Type | Description |
|---|---|---|
country * | string | |
currency * | string | |
customer_id * | string | |
name * | string |
scout_list_websites List websites
List the websites of a project, each with the job that defines its state. full_scrape_estimate is the price of a full scrape now. The API calculates it at each call from the latest product count of the website.
| Parameter | Type | Description |
|---|---|---|
project_id * | string |
scout_analyze_website Add and analyze a website
Add a website to a project: analyze it and scrape a free sample of its products. Each customer has free analyses each month. After them, an analysis charges the prepaid balance when the job is created, without an approval. scout_get_balance shows the free analyses left and the price of one. If none are left, confirm the price with the user before you call this tool. Returns the setup job; poll it with scout_get_job(job_kind="setup") until it is COMPLETED, then check the sample with scout_get_sample. A job that FAILED with the error_code CURRENCY_NOT_AVAILABLE found that the website does not of…
| Parameter | Type | Description |
|---|---|---|
country * | string | |
currency * | string | |
project_id * | string | |
url * | string |
scout_get_job Get the state of a job
Get the state of a job: status, estimate, approval, settlement, and error. Poll every 5 to 10 minutes until the status is COMPLETED, FAILED, or CANCELLED. The time depends on the number of products, because DeepScout fetches the pages at a rate that the e-shop accepts. The usual times, with the wait in the queue, are: - setup: from a few minutes to 3 hours. - scraping: 1 to 2 hours for a few thousand products, several hours for 20,000, and up to 1 day for 100,000 or more. - matching: 1 hour for 1,000 products, 4 to 15 hours for 10,000, 1 to 2 days for 50,000. - EXPORTING, the last status: up…
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
job_kind * | string |
scout_list_jobs List jobs
List the 20 newest jobs of a kind in a project, e.g. to find the id of a matching job. website_id limits the setup and scraping jobs to one website.
| Parameter | Type | Description |
|---|---|---|
job_kind * | string | |
project_id * | string | |
website_id |
scout_cancel_job Cancel a job
Cancel a job that waits for approval, e.g. when the user does not accept its price. Nothing is charged. A matching job that waits for approval also blocks the free sample. Fails with 409 when the job cannot be cancelled anymore, e.g. after its approval.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
scout_get_sample Get the sample products
Get a temporary URL of the sample products file of a website. The sample exists after the setup job of the website is COMPLETED.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
website_id * | string |
scout_scrape_website Create a scraping job
Create a scraping job of a website: its full catalog, or only the given product URLs. The job waits for approval with its price estimate; nothing is charged yet. Approve it with scout_approve_job(job_kind="scraping"). Get the result of each URL of a job of given URLs with scout_get_url_results.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
website_id * | string | |
urls |
scout_get_url_results Get the results of a URL scrape
Get a temporary URL of the CSV file with the result of each URL of a scraping job of given URLs. A row has the url, its result, and the product_url of its product. The file exists after the job is COMPLETED.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
scout_match_websites Create a matching job
Create a matching job: find the same products on the reference website and the competitor websites. A paid job matches every pair of its websites, so the matches also connect the competitors with each other. All the websites must be scraped first. The job waits for approval with its price estimate; sample=True runs the free sample of the project instead. Approve it with scout_approve_job(job_kind="matching"). DeepScout matching does not need EAN codes. It finds the same product under different names, even in another language. Each uncertain pair gets a strict check with the product photos and…
| Parameter | Type | Description |
|---|---|---|
competitor_website_ids * | array | |
project_id * | string | |
reference_website_id * | string | |
sample | boolean |
scout_approve_job Approve and start a job
Approve a job that waits for approval and start it. This charges the prepaid balance of the customer: the estimate now, and at most the cap of the estimate after the job. Confirm the price with the user before you call this tool. Fails with 402 when the spendable balance or the monthly spend limit is too low.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
job_kind * | string |
scout_list_exports List exports
List the export files of a project: the scraped products and prices, and the matches. A download_url needs the API key. Get a temporary URL of a file with scout_get_export.
| Parameter | Type | Description |
|---|---|---|
project_id * | string |
scout_get_export Get an export file
Get a temporary URL of an export file of a project. Give the dataset of the file from scout_list_exports, and its website_id if the file has one. The file exists after the job is COMPLETED.
| Parameter | Type | Description |
|---|---|---|
dataset * | string | |
project_id * | string | |
website_id |
scout_get_balance Get the prepaid balance
Get the prepaid balance of a customer: the total, the part held by running jobs, and the spendable rest. customer.quotas gives the free analyses left this month and the price of an analysis after them. The customer_id is in scout_list_projects.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string |