For AI

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

EndpointCallsAt most
tiktok.shop.products.search1$0.004
tiktok.shop.products.reviews.list3$0.006
Total4$0.01

What it does

  1. Plans and states the cost before the first paid call, and asks before going past 6 calls.
  2. Call the product search with query and keep the first products results.
  3. For each product kept, call its reviews endpoint with the product id, one page each.
  4. Lays every result out as one table and answers from it, with the cost and where the data came from.

What you get back

ProductPriceSoldReviewRatingReview timeLink

One row per item fetched. A cell stays empty when the platform does not show that figure; nothing is guessed.

Inputs it needs

InputNeededMeaning
platformyesThe platform id, e.g. douyin, tiktok, x.
queryyesThe product keyword.
productsnoHow many products to read reviews for, 1 to 5; 3 if not given.

Platforms and endpoints

PlatformEndpointPrice
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
TikTokTikTok Shop product search tiktok.shop.products.search$0.004 per call · about 20 products per page
TikTokTikTok Shop product reviews tiktok.shop.products.reviews.list$0.002 per call · about 20 reviews per page

Connect once, then just ask.

Every new key comes with $0.10 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

MCP serverhttps://api.okdata.online/mcp