Skip to content
Jupiter documentation
Menu

Add marketplace keys

Set the API keys that turn each marketplace on, and confirm them with the health tool.

Each Marketplace runs when its key is set in .env or in the environment. The server reads .env from the repository root at start, so restart it after a change.

Steps#

  1. Open .env and set the keys you hold.

  2. Restart the server.
  3. Call health. A marketplace with its key set reports "missing": null.

  4. Run one live search for the marketplaces you turned on. Each Apify lane starts one actor run, which spends Apify credits.

Key notes#

  • EBAY_CLIENT_ID, EBAY_CLIENT_SECRET and TMAPI_API_TOKEN are accepted as other names for the eBay and TMAPI keys.
  • EBAY_OAUTH_TOKEN holds a bearer token you fetched yourself. With it set, the server skips the client-credentials call.
  • 1688 uses TMAPI when TMAPI_TOKEN is set, and the Apify actor otherwise.
  • KEEPA_DOMAIN has no default. Keepa's official clients list domain ids 1 to 12 and none is Australia. Set the id that your Keepa account documents for amazon.com.au.
  • gumtree stays degraded in health and is never counted in ready_count. Without GUMTREE_COOKIES it returns a degraded diagnostic, because Gumtree blocks the actor.
  • health shows key names only. It prints no key values.

Errors#

Source: belikh/procurement HEAD