patent-transaction
Patent marketplace via trade.9235.net (listings, deals, open license, procurement, Excel export).
Latest: v1.0.0
Initial release: Enables patent marketplace integration via trade.9235.net.
- Search and view patents for sale, sellers, deal records, open licenses, procurement needs, and export results to Excel.
- Supports key commands: searching, exporting, viewing details, sellers, orders, open licenses, and demands.
- CLI usage and API endpoints clearly documented for quick integration.
- Requires TRADE_API_TOKEN for authentication.
- Designed to work with patent-search for due diligence workflows.
专利交易 · Patent Transaction
概述 | Overview
| 中文 | 对接 https://trade.9235.net/api/skill:在售专利、详情、卖家、成交、开放许可、采购需求、Excel 导出。与 patent-search 联用做尽调。 |
| English | Trade skill API for patent listings, sellers, deal history, open licensing, procurement, Excel export. Pair with patent-search for due diligence. |
凭证 Credentials: TRADE_API_TOKEN 或 skills.entries.patent-transaction.apiKey
触发词:专利交易、转让、许可、在售专利、开放许可、采购需求、patent listing、licensing。
工具命令
| command | 说明 |
|---|---|
search | 在售专利搜索(表格展示) |
export | 导出当前检索结果为 Excel 下载 |
export_orders | 导出成交记录 Excel |
detail / sellers / orders / open / demand | 详情与其它查询 |
配置
{
"api_base_url": "https://trade.9235.net/api/skill",
"token": "YOUR_TRADE_SKILL_TOKEN"
}
或环境变量:
export TRADE_API_TOKEN="your_token"
export TRADE_API_BASE_URL="https://trade.9235.net/api/skill"
获取 Token
- 运维设置
TRADE_SKILL_TOKENS - 或
go run scripts/gen_skill_token.go -client mchat
备用:无 token 时可设 TRADE_API_BASE_URL=https://trade.9235.net/nbapi
CLI
python3 main.py search 锂电池
python3 main.py detail CN112968234A
python3 main.py orders
python3 main.py open 石墨烯
python3 main.py demand 电池
python3 main.py info
API 端点
| 功能 | 路径 |
|---|---|
| 在售搜索 | GET /api/skill/product/search?keyWord=&page=&pageSize= |
| 交易详情 | GET /api/skill/product/detail/{an} |
| 卖家 | GET /api/skill/product/sellers/{an} |
| 成交记录 | GET /api/skill/orders |
| 成交详情 | GET /api/skill/order/detail/{an} |
| 开放许可 | GET /api/skill/openPatent/search |
| 采购需求 | GET /api/skill/demand/search |
所有请求需 t=<token>&v=1 或头 X-Token。
与 patent-search 协作
尽调流程:
patent-search查法律状态、权利要求、相似专利patent-transaction查是否挂牌、价格、成交记录- 输出尽调摘要(见 due-diligence.md)
错误码
| code | 含义 |
|---|---|
| 201 | token 为空 |
| 202 | 非法 token |
| 209 | 版本号 v 缺失 |
| 203 | 服务异常 |
