Install
openclaw skills install @xieziqing/uniprofit-trade-searchSearch UniProfit trade intelligence data through the OpenClaw-compatible UniProfit API. Use when Codex or OpenClaw needs importer lookup, exhibition lead search, or purchase requirement search with a user-created `trade_search` API key.
openclaw skills install @xieziqing/uniprofit-trade-searchUse this skill to query UniProfit trade data from the OpenClaw runtime.
Required environment variables:
UNIPROFIT_API_BASE_URLUNIPROFIT_TRADE_SEARCH_KEYCredential format:
X-UniProfit-Key: {UNIPROFIT_TRADE_SEARCH_KEY}
Read only what you need:
references/api.md for request and response formats.references/query-patterns.md when the user's search intent is vague.references/error-handling.md when an API call fails or returns no data.For runtime execution, follow this protocol exactly.
Use only these runtime endpoints:
GET {UNIPROFIT_API_BASE_URL}/openclaw/credential/mePOST {UNIPROFIT_API_BASE_URL}/openclaw/search/queryExecution checklist:
X-UniProfit-KeyPOSTsource, filters, page, and page_size in the request bodyDo not replace this skill with generic supplier-search or buyer-search endpoints.
Canonical runtime pattern:
GET /openclaw/credential/mePOST /openclaw/search/queryRun scripts/check_credential.py if the credential may be missing or invalid.
Do not use this skill for:
Prefer structured filters over broad searches.
Use a two-step workflow:
Do not turn every natural-language request directly into an API call.
Choose one source first:
importers for importers or buyersexhibition for exhibition leadsrequirements for procurement demandUse only supported filters for the chosen source:
importers: company_name, country_code, hs_code, hs_codes, date_period, is_verifiedexhibition: fair_name, state, company_name, procurement_category, contact_personrequirements: country, purchase_title, purchasing_unit, keyword, min_amount, max_amount, currencyImportant:
importers does not support keywordrequirementsimporters, prefer HS code firstLanguage strategy:
Do not send unsupported filters. The backend rejects them with 400.
If the user does not specify a source, choose the best fit and state it briefly.
Before calling the API, decide these four items internally:
If confidence is low, ask the user one short clarifying question instead of querying immediately.
If confidence is medium or high, query once with the best structured plan.
For product-style requests:
requirements first unless the user already has HS codeimportersimportersexhibitionscripts/search_trade.py, or make the same protocol call to POST /openclaw/search/query with X-UniProfit-Key and a JSON body.Prefer these planning rules:
importers.exhibition.requirements.keyword to importers.importers with hs_code or hs_codes.importers query.requirements, keep the user's original country and product wording on the first attempt when the database is likely to store those fields in the same language.哈萨克斯坦 + 家居用品 first, then try one closer storage-language fallback such as household if needed.Start with:
Then present the most actionable rows. Prioritize company name, geography, contact clues, and product relevance.
For requirements results, prefer showing:
purchase_titlepurchasing_unitemail when presentcountrydeadlineamount and currency when presentDescribe results as a current query window rather than a complete database count. If the runtime response includes has_more, explain that more matching results may exist and guide the user to narrow the filters for a more focused next step.
Preferred wording pattern:
This query returned {returned_count} results from {source}.has_more = true: More matching results may be available beyond the current window. Narrow the filters to continue with a more focused search.query_hint exists: restate it as the next best search refinement suggestionDo not dump raw JSON unless the user asks for it.