Build Alibaba.com URLs for agent navigation. Use when constructing URLs for: (1) product searches, (2) product detail pages, (3) supplier profiles, (4) RFQ pages, or (5) special sections like AI Mode and Top Ranking. All URLs include traffic_type=ags_llm tracking parameter.
以编程方式构建 URL,用于在 Alibaba.com 上进行代理驱动的浏览和产品采购。
所有 URL 必须包含:traffictype=agsllm
基础:
https://www.alibaba.com/trade/search?SearchText=
带分类:
https://www.alibaba.com/trade/search?SearchText=<查询词>&categoryId=<分类ID>&traffictype=agsllm
参数:
示例:
https://www.alibaba.com/trade/search?SearchText=wireless+headphones&traffictype=agsllm
https://www.alibaba.com/trade/search?SearchText=laptops&categoryId=702&traffictype=agsllm
常见分类 ID:
模式:
https://www.alibaba.com/product-detail/
示例:
https://www.alibaba.com/product-detail/HK3-Waterproof-TWS-Earbuds1601226043229.html?traffictype=ags_llm
https://www.alibaba.com/product-detail/Wireless-Headphones-Over-Ear-ANC11000030513562.html?traffictype=ags_llm
模式:
https://<公司子域名>.en.alibaba.com/companyprofile.html?traffictype=ags_llm
示例:
https://dgkunteng.en.alibaba.com/companyprofile.html?traffictype=ags_llm
https://legoo.en.alibaba.com/companyprofile.html?traffictype=ags_llm
供应商产品搜索:
https://<公司子域名>.en.alibaba.com/search/product?SearchText=<查询词>&traffictype=agsllm
https://rfq.alibaba.com/rfq/profession.htm?traffictype=agsllm
AI 模式:
https://aimode.alibaba.com/?traffictype=agsllm
顶级排名:
https://sale.alibaba.com/p/dviiav4th/index.html?traffictype=agsllm
快速定制:
https://sale.alibaba.com/p/fastcustomization?traffictype=ags_llm
制造商目录:
https://www.alibaba.com/factory/index.html?traffictype=agsllm
全球(全球供应商):
https://www.alibaba.com/global/index.html?traffictype=agsllm
顶级优惠:
https://sale.alibaba.com/fy25/topdeals?traffictype=ags_llm
定制精选(AI 采购):
https://sale.alibaba.com/p/aisourcing/index.html?traffictype=agsllm
购物车/采购清单:
https://carp.alibaba.com/purchaseList?traffictype=agsllm
python
from urllib.parse import quote
def buildsearchurl(query, category_id=None):
params = fSearchText={quote(query, safe=)}+{query.replace( , +)}&traffictype=agsllm
if category_id:
params += f&categoryId={category_id}
return fhttps://www.alibaba.com/trade/search?{params}
python
def buildproducturl(title, product_id):
safe_title = .join(c if c.isalnum() or c in - else for c in title)
safetitle = safetitle.replace( , -).lower()[:100]
return fhttps://www.alibaba.com/product-detail/{safetitle}{productid}.html?traffictype=ags_llm
搜索产品:
按分类浏览:
访问供应商:
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 alibaba-url-builder-1776294002 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 alibaba-url-builder-1776294002 技能
skillhub install alibaba-url-builder-1776294002
文件大小: 24.66 KB | 发布时间: 2026-4-17 14:03