Skip to content
Jupiter documentation
Menu

Search for a product

Call search_offers, choose marketplaces and a sort, and read the three kinds of entry it returns.

search_offers takes a product keyword and returns one list: ranked offers, then comps, then diagnostics. Only query is required.

  1. Call search_offers with a query and a sort.

  2. To search fewer marketplaces, list them. The search then ends when the slowest listed lane ends.

  3. Read kind on each entry.

  4. Compare offers on landed_aud and check landed_basis beside it. exact includes shipping, item_only leaves shipping out, and estimated holds a forwarder estimate.

Choose a sort#

Ranking has the formulas.

Search Chinese marketplaces#

taobao, tmall, 1688 and jd match Chinese text far better than English. The server does not translate. Pass the query in Chinese as query_zh, and give the item weight so that the forwarder estimate uses it.

The \u escapes spell silicone kitchenware in Chinese characters. JSON reads an escape as the character itself, so the server gets the same text whether you type the escapes or the characters.

An offer whose moq is larger than qty goes to the end of the list in every sort.

Change the destination#

The Destination is SHIP_TO_COUNTRY and SHIP_TO_POSTCODE, AU 4000 by default. To change it for one call, pass postcode, and ship_to for another country.

ebay_au sends the postcode to eBay and gets the shipping options and costs for it. Pickup searches on facebook stay centred on SHIP_TO_LAT and SHIP_TO_LNG, which a call cannot change.

To drop listings that must be collected in person, pass "include_pickup": false.

Search eBay auctions and overseas sellers#

Refresh one offer#

Call get_offer_detail with an offer_id from the search. taobao, tmall, 1688, jd and pdd ids are fetched from TMAPI, and ebay_au ids from eBay. For every other marketplace the tool returns the offer as the most recent search held it.

Timeouts#

All lanes run at once under one deadline of 55 seconds. A lane that has not replied by then is cancelled and returns a timeout diagnostic. Apify lanes take 30 to 90 seconds.

To give one search more time, pass deadline_s (5 to 300):

A search with a timeout, upstream_error or quota diagnostic is not cached, so the next call tries the source again.

Source: belikh/procurement HEAD