Xpersona
U

UpKuaJing Customs Trade Company Search

CLAWHUB · Unverified

Official skill for upkuajing (跨境魔方). Find companies (找公司) and global buyers using customs trade data. Get trade order details, business contact info, and lea... Skill: UpKuaJing Customs Trade Company Search Owner: warmc Summary: Official skill for upkuajing (跨境魔方). Find companies (找公司) and global buyers using customs trade data. Get trade order details, business contact info, and lea... Tags: latest:1.0.6 Version history: v1.0.6 | 2026-04-17T11:46:24.654Z | user - Added a new script: scripts/version_check.py. - Documented a best practice in SKILL.md: always use direct script

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s177bfh3d8jvx2rsfjyxtnv4v583n48j:upkuajing-trade-company-search
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-warmc-upkuajing-trade-company-search/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

78,292 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: upkuajing-trade-company-search
description: Official skill for upkuajing (跨境魔方). Find companies (找公司) and global buyers using customs trade data. Get trade order details, business contact info, and lead generation tools for import/export market research and supply chain analysis.
metadata: {"version":"1.0.6","homepage":"https://www.upkuajing.com","clawdbot":{"emoji":"🏢","requires":{"bins":["python"],"env":["UPKUAJING_API_KEY"]},"primaryEnv":"UPKUAJING_API_KEY"}}
---

# UpKuaJing Customs Trade Company Search

Search for companies through customs trade data using the UpKuaJing Open Platform API. This skill uses a **data-driven approach**: finding companies by analyzing trade records and transaction patterns.

## Overview

This skill provides access to UpKuaJing's customs trade data API through four scripts: two search methods (trade list, company list) and two enhancement interfaces (company details, contact information).
API key generation and top-up are provided through the `auth.py` script.

## Running Scripts

### Environment Setup

1. **Check Python**: `python --version`
2. **Install dependencies**: `pip install -r requirements.txt`

Script directory: `scripts/*.py`
Run example: `python scripts/*.py`

**Important**: Always use direct script invocation like `python scripts/trade_list_search.py`. **Do NOT use** shell compound commands like `cd scripts && python trade_list_search.py`.

### Two Search Methods

**Trade List Search** (`trade_list_search.py`)
- **Return granularity**: Each trade order as one record
- **Use cases**: Focus on "what transactions occurred"
- **Examples**:
   - "Show all orders where Company A purchased LED"
   - "Find soybean trade records imported/exported to US"
   - "View specific transaction details within a time period"
- **Parameters**: See [Trade List](references/trade-list-api.md)


**Company List Search** (`company_list_search.py`)
- **Return granularity**: Trade orders aggregated by company, each company as one row
- **Use cases**: Focus on "which companies exist"
- **Examples**:
  - "Find companies that purchased LED"
  - "Find US companies with electronics import/export business with China"
  - "Find companies with China-US trade" (logistics industry customer development)
- **Parameters**: See [Company List](references/company-list-api.md)


### Two Enhancement Features

After obtaining trade list or company list, use these interfaces to enrich company IDs in the results when necessary:
**Company Details** (`company_get_details.py --companyIds *`)
- Get company information (excluding contact information)
- **Parameters**: `--companyIds` List of company IDs (space-separated), max 20 at a time
- **API business parameters**: [Company Details](references/company-detail-api.md)

**Contact Information** (`company_get_contact.py --companyIds *`)
- Get contact details: email, phone, social media, website
- **Parameters**: `--companyIds` List of com

_meta.json

{
  "ownerId": "kn7ccryx4d363fdb2z6gq73x9s82nwv3",
  "slug": "upkuajing-trade-company-search",
  "version": "1.0.6",
  "publishedAt": 1776426384654
}

references/company-detail-api.md

# 公司详情 API 参考

## python脚本参数
- `--companyIds`:公司ID列表(空格分隔,必需,最多20个)

## 请求参数

### 必需参数
- companyIds(整数数组):公司编号列表(最多20个)

## 响应参数

### 基本信息
- companyId:公司编号
- name:公司名
- logo:公司logo
- introduce:公司介绍
- industry:行业
- scope:经营范围

### 位置信息
- location:公司位置
- country:国家
- province:省、州
- city:城市
- address:地址
- postcode:邮编

### 注册信息
- registerPerson:注册法人
- registerNumber:注册编号
- registerDate:注册日期
- registerType:注册类型
- registerCapital:注册资金
- registerState:注册状态

### 贸易信息
- companyType:公司贸易类型
  - 0:未知
  - 1:供应商
  - 2:采购商
  - 3:采购商和供应商

### 国家信息
- country.id:国家编号
- country.name_cn:国家中文名
- country.name_en:国家英文名
- country.code_iso2:国家二字码
- country.icon:国旗链接

references/company-list-api.md

# 公司列表 API 参考

## python脚本参数
- `--params`: API业务参数
- `--task_id`:任务ID;指定task_id时,脚本会找到task_id的执行参数,从最后一条数据继续游标查询;一般用于大数据量查询、异常中断后继续查询;
- `--query_count`:期望获取的总记录数,脚本据此自动计算次数并轮询调用API;非必填;默认值20;取值范围 20~1000;
params、task_id 必须指定其一,不能同时指定时

## params API业务参数
### 必需参数
- companyType(整数):公司类型`1`:供应商,`2`:采购商
### 贸易时间
- dateStart(整数):贸易开始时间(毫秒级时间戳)
- dateEnd(整数):贸易截止时间(毫秒级时间戳)
### 产品筛选
- products(数组):产品名称列表
- hscodes(数组):HS海关编码(超过6位,只取前6位)
- productSuperordinate(数组):产品的上游产品名称列表
- productDownstream(数组):产品的下游产品名称列表
### 公司筛选
- sellerIds(数组):供应商公司ID列表
- buyerIds(数组):采购商公司ID列表
- seller(字符串):供应商公司名称
- buyer(字符串):采购商公司名称
### 地理筛选
- sellerCountryCodes(数组):供应商国家代码
- buyerCountryCodes(数组):采购商国家代码
- originCountryCodes(数组):起运国国家代码
- arrivalCountryCodes(数组):抵运国国家代码
- sellerPort(字符串):装运港
- buyerPort(字符串):卸货港
### 联系方式筛选
- existPhone:1(有电话),2(无电话),0(全部)
- existEmail:1(有邮箱),2(无邮箱),0(全部)
- existWhatsApp:1(有WhatsApp),2(无WhatsApp),0(全部)
- existWebsite:1(有网站),2(无网站),0(全部)
- existSocial:1(有社媒),2(无社媒),0(全部)
### 其他参数
- tradeCode(字符串):提关单号
- minTradeCount(整数):最小贸易频次数量
- createTimeStart/createTimeEnd(整数):数据创建日期范围
- isExact(布尔值):true=精确匹配,false=模糊匹配(默认true)

### 排序
- sorting_field:tradeCount(默认)、latestTradeDate
- sorting_direction:asc、desc(默认:desc)

## 响应

### 公司标识
- companyId:公司ID
- companyType:1(供应商),2(采购商)
- name:公司名称
### 贸易统计
- tradeTotal:贸易总量
- tradeMatchTotal:匹配贸易量
- tradeMatchPercent:匹配贸易占比(%)
- latestTradeDate:最后贸易日期(毫秒时间戳)
### 公司信息
- countryInfo:所属国信息
- scope:公司主营
- address:公司地址
### 产品信息
- productDesc:产品描述
- productTag:产品标签列表
- productNames:标准化产品名称
- productAlias:产品别名
- productSuperordinate:产品的上游产品名称列表
- productDownstream:产品的下游产品名称列表

references/contact-fetch-api.md

# 联系方式获取 API 参考

## python脚本参数
- `--companyIds`:公司ID列表(空格分隔,必需,最多20个)

## 请求参数

### 必需参数
- companyIds(整数数组):公司编号列表(最多20个)

## 响应参数
- companyId:公司编号

### 邮箱信息 emails
- val:邮箱地址
- is_valid:是否有效
  - 0:未检测
  - 1:是
  - 2:否
  - 3:不确定
- reason:原因

### 电话信息 phones
- val:电话号码
- is_valid:是否有效(0未检测,1是,2否,3不确定)
- is_ws:是否WhatsApp
  - 0:未检测
  - 1:是
  - 2:否
  - 3:不确定
- phone_type:号码类型
  - 0:未检测
  - 1:固定电话
  - 2:移动电话
  - 3:已检测但未知
- country_code:电话所属国家二字码
- dialing_code:电话所属国际冠码
- area_code:电话所属地区码
- international_number:国际格式号码
- telephone:号码(去除冠码与区码)
- national_number:号码属国格式

### 社交媒体信息 socials
- val:社媒完整链接
- social_url:社媒链接路径
- social_type:社媒链接类型
  - linkedin、facebook、twitter、youtube、instagram、pinterest、github、tiktok
- is_valid:是否有效(0未检测,1是,2否,3不确定)
- reason:原因

### 网站信息 websites
- val:网址
- is_valid:是否有效(0未检测,1是,2否,3不确定)
- is_sensitive:是否敏感
  - 0:未检测
  - 1:是(如电子商务网站)
  - 2:否
  - 3:不确定
- reason:原因

Sponsored

Ads related to UpKuaJing Customs Trade Company Search and adjacent AI workflows.