Install
openclaw skills install @dataify-server/dataify-amazon-productCollect Amazon Product data and return results
openclaw skills install @dataify-server/dataify-amazon-productSubmit Amazon product collection jobs through Dataify Builder and continue through final-result retrieval. After submission, continue monitoring the returned task_id and return the final result by default.
This skill covers five Amazon product collection modes:
| Mode | Use for | Builder spider_id |
|---|---|---|
asin | Collect product details by ASIN. Amazon product URLs can be accepted and converted to ASINs. | amazon_product_by-asin |
url | Collect product details by one or more Amazon product URLs and a zip code. | amazon_product_by-url |
keyword | Collect Amazon keyword search results. | amazon_product_by-keywords |
category-url | Collect Amazon category listing results from a category URL. | amazon_product_by-category-url |
best-sellers-url | Collect Amazon Best Sellers listing results from a Best Sellers URL. | amazon_product_by-best-sellers |
Input: an ASIN.
python3 scripts/submit_amazon_product.py asin B0BZYCJK89
The command waits up to 10 minutes and prints the final JSON result. Add --no-wait only for submission-only behavior.
If DATAIFY_API_TOKEN is missing, log in or register at https://dashboard.dataify.com/login?utm_source=skill. New accounts receive 50 free credits.
Use DATAIFY_API_TOKEN as the long-term saved token name.
DATAIFY_API_TOKEN is saved locally, use it.API TOKEN in user-facing instructions. Prefer the environment variable name DATAIFY_API_TOKEN for saved local use.PowerShell examples for saving the token for the current session:
$env:DATAIFY_API_TOKEN = "YOUR_DATAIFY_API_TOKEN"
For a persistent user-level variable on Windows:
[Environment]::SetEnvironmentVariable("DATAIFY_API_TOKEN", "YOUR_DATAIFY_API_TOKEN", "User")
asin, url, keyword, category-url, or best-sellers-url.data.task_id from the Builder response.
If the user has already provided some values, show those values in place of the defaults and only ask whether the remaining/defaulted values should be changed.For detailed mode schemas and advanced fields, read references/modes-and-parameters.md only when needed.
Use form fields rather than hand-built URL-encoded strings.
https://scraperapi.dataify.com/builderPOSTBearer DATAIFY_API_TOKENapplication/x-www-form-urlencodedspider_name=amazon.comspider_errors=truespider_id must match the chosen mode.spider_parameters must be a JSON string, not a raw object.file_name defaults to {{TasksID}} and can be changed by the user.file_name as the Builder form field, not as a downloaded output name.For stable execution, prefer scripts/submit_amazon_product.py with Python 3.6 or newer instead of rewriting the Builder flow. The script writes and reads UTF-8 text.
python3 ".\scripts\submit_amazon_product.py" asin B0BZYCJK89
python3 ".\scripts\submit_amazon_product.py" url --zip-code "94107" "https://www.amazon.com/HISDERN-Checkered-Handkerchief-Classic-Necktie/dp/B0BRXPR726"
python3 ".\scripts\submit_amazon_product.py" keyword --keyword "coffee"
python3 ".\scripts\submit_amazon_product.py" category-url --url "https://www.amazon.com/s?i=fashion" --page-turning 2 --sort-by "Best Sellers"
python3 ".\scripts\submit_amazon_product.py" best-sellers-url --url "https://www.amazon.com/Best-Sellers-Tools-Home-Improvement-Kitchen-Bath-Fixtures/zgbs/hi/3754161/ref=zg_bs_unv_hi_2_680350011_1" --page-turning 1
If python3 is not available, use the local Python 3 command for that machine, such as python. The script checks the runtime version and tells the user to use Python 3.6 or newer if the active interpreter is too old.
To override the saved environment token or default file name for one run:
python3 ".\scripts\submit_amazon_product.py" keyword --keyword "coffee" --file-name "amazon-coffee"
The script prints a JSON summary with task_id, submitted parameters and message.
Missing Dataify API TOKEN means DATAIFY_API_TOKEN is not set in the environment. Tell the user to get an API TOKEN from Dataify.
No valid ASINs were provided means the required asin value is missing or could not be extracted from the provided input.
No valid URLs were provided or URL cannot be empty means the required URL value is missing.
Zip code cannot be empty means no usable zip_code was provided.
Keyword cannot be empty means the required keyword value is missing.
Page turning must be greater than or equal to 1 means the requested page count is invalid.
Lowest price cannot be greater than highest price means the price range must be corrected before submission.
Unsupported sort_by means the category sort option must be one of the accepted display values or submitted values.
File name cannot be empty means no usable file_name was provided.
Necessary parameters is empty! usually means the Builder request was not submitted as form fields, spider_parameters was not a JSON string, or the object is missing required mode parameters.
Missing task_id usually means the authorization header, token, spider_name, or spider_id is wrong.
The default deliverable is the collected result, not only a task_id.
task_id.$dataify-task-operations and monitor the same task ID.
--timeout 1800 for media downloads or clearly high-volume, multi-page, or multi-input collections.--no-wait behavior.export for macOS/Linux shells, $env: for Windows PowerShell, or set for Windows Command Prompt). Show other platforms or persistent setup only when detection is ambiguous or the user asks.DATAIFY_API_TOKEN is present; never print its value. If verification succeeds, continue the original task without asking the user to repeat it..env unless the execution path explicitly loads it, and ensure .env is ignored by version control.