SuperAPI AI Directory

linkfox-temu-product-query

General & other

View repository

Updated 10-16 06:23

About this skill

Temu Product Query

Key Points

  • Pagination:page Starts from 1;pageSize default 20, maximum 100 (recommended ≤50).
  • Range parameters:*Begin / *End appear in pairs (price, rating, reviews, total/weekly/daily sales, listing time), forming the upstream range.
  • Category:categoryHome Front-end category ID,categoryBackend back-end category ID; you can first use Temu category search to get the id.
  • Managed mode:isLocal(0=fully managed, 1=semi-managed); for semi-managed, you can use region to limit the region (multiple values separated by commas).
  • Listed/delisted:soldOut(0=listed, 1=delisted).
  • Tags:tags / customTags separate multiple values with commas.
  • Sorting:sortBy is a "field-direction" string, such as order_week-0(weekly sales descending, default),price-0、order_total-0、rating-0。

Script (optional)

Command-line debugging:python scripts/temu_product_query.py '<JSON>'(requires LINKFOXAGENT_API_KEY). See details at the end of references/api.md .

Reference

For the input/output parameter table, see references/api.md。

Resolve authentication and compute power issues

When the following abnormal situations occur, use references/onboarding.md to guide problem resolution:

Abnormal situations

  • API Key not configured: the environment variable is not configured LINKFOX_AGENT_API_KEY, and LINKFOXAGENT_API_KEY。
  • Response 401 or 402 status code
  • Response indicates insufficient compute power or balance: the message contains "insufficient compute power balance/insufficient billing/insufficient balance/quota exceeded/insufficient balance/package expired/recharge required/please recharge", or content with a similar meaning.

Compute power consumption rules

Billed by dynamic rules: compute power consumed = number of products × 1.8. Billing is based on the number of items returned on this page; going to the next page is essentially sending another request, and it is recalculated based on the number of items returned on the next page.

Important: the service of this skill is dynamically calculated by a multiplier and may consume a large amount of compute power at once. You must remind the user and let the user decide whether to continue.