Agent skill · okdata-products
Products and reviews
What sells, and what do buyers say about it?
Searches one page of products for a keyword, then reads one page of reviews for each of the first few, as one table: a row per review with the product's title, price and units sold beside it.
- 2 platforms
- 4 calls in the example
- ≤ $0.01 for that run
- 6 calls before it asks
Tell your AI
Install the okdata skill okdata-products from https://okdata.online/.well-known/agent-skills/okdata-products/SKILL.md into your skills folder.
The package is one folder with one SKILL.md; unzip it into your agent's skills folder. The skill is free; you pay only for the calls it makes.
Ask it like this
- “What yoga mats sell best on TikTok Shop, and what do buyers complain about?”
- “Find the top three portable fans on Xiaohongshu's shop and read their reviews.”
- “What price range do the best-selling phone cases sit in?”
Example run
| Endpoint | Calls | At most |
|---|---|---|
tiktok.shop.products.search | 1 | $0.004 |
tiktok.shop.products.reviews.list | 3 | $0.006 |
| Total | 4 | $0.01 |
What it does
- Plans and states the cost before the first paid call, and asks before going past 6 calls.
- Call the product search with
queryand keep the firstproductsresults. - For each product kept, call its reviews endpoint with the product id, one page each.
- Lays every result out as one table and answers from it, with the cost and where the data came from.
What you get back
| Product | Price | Sold | Review | Rating | Review time | Link |
|---|---|---|---|---|---|---|
One row per item fetched. A cell stays empty when the platform does not show that figure; nothing is guessed.
Inputs it needs
| Input | Needed | Meaning |
|---|---|---|
platform | yes | The platform id, e.g. douyin, tiktok, x. |
query | yes | The product keyword. |
products | no | How many products to read reviews for, 1 to 5; 3 if not given. |
Platforms and endpoints
| Platform | Endpoint | Price |
|---|---|---|
| Xiaohongshu (RedNote) | Xiaohongshu shop product search xiaohongshu.shop.products.search | $0.02 per call · about 20 products per page |
| Xiaohongshu (RedNote) | Xiaohongshu shop product reviews xiaohongshu.shop.products.reviews.list | $0.02 per call · about 12 reviews per page |
| TikTok | TikTok Shop product search tiktok.shop.products.search | $0.004 per call · about 20 products per page |
| TikTok | TikTok Shop product reviews tiktok.shop.products.reviews.list | $0.002 per call · about 20 reviews per page |