API接口调用说明:
Listing智能编写 | Listing纠错重写 | 产品标题智能编写 | 产品特征词生成 | 产品关联词生成 | |
计费标准 | 10积分/每条卖点 | 10积分/次 | 10积分/次 | 5积分/次 | 10积分/次 |
语言支持 | 多种语言 | 多种语言 | 多种语言 | 多种语言 | 多种语言 |
使用API接口批量智能生成产品标题,卖点关键词,产品描述以及重写润色
调用地址:https://api.wordkit.cn/
请求方式:GET
返回类型:JSON
请求参数(Header): Authorization:Bearer 您的KEY
请求参数(Query): 如下表格
参数名称 | 类型 | 是否必须 | 描述 |
f | String | 是 | 五个对象之一(f=full_listing,生成listing五点描述+标题;f=listing,生成listing单点描述;f=rewrite,文本润色重写;f=title,生成产品标题;f=kwdext,生成产品关键词拓展) |
q | String | 是 | 产品名称 |
b | String | 否 | 品牌名称 |
k | String | 否 | 卖点关键词 |
l | String | 是 | 输出语言(en:英文,fr:法语,de:德语,it:意大利语,es:西班牙语,nl:荷兰语,pl:波兰语,jp:日语,pt:葡萄牙语,ar:阿拉伯语) |
curl请求示例1(产品名称是Elbow Brace的五点描述+标题): curl -i -k --get --include 'https://api.wordkit.cn/?q=elbow+brace&f=full_listing&l=en' -H 'Authorization:Bearer 您的KEY'
示例1返回值:{"response":{"listing":["This adjustable elbow brace provides optimal compression and support for sore, strained, or injured elbows.", "The Pika Elbow Brace is designed to provide comfortable and supportive relief for elbow pain and discomfort.", "This Pika elbow brace is designed to provide support and comfort with its lightweight and breathable fabric, designed specifically for any physical activity.", "This Pika elbow brace features a non-slip design to provide secure and comfortable support for your elbow joint.", "The Pika Elbow Brace provides superior support and comfort with its open-patella design, helping to reduce pain and discomfort in the elbow joint."],"title":[" Pika Elbow Brace with Compression Pad, Tennis Elbow Strap for Tendonitis Relief, Adjustable Elbow Support Brace for Men & Women, Best Elbow Wraps for Golfer's Elbow (1 Pack)", " Pika Elbow Brace with Compression Pad, Tennis Elbow Brace for Men & Women, Elbow Support Band for Tendonitis, Golfer's Elbow Strap Band for Pain Relief, Includes Two Braces and E-Guide"],"feature":["Adjustable compression", "Supportive and comfortable", "Lightweight and breathable fabric", "Non-slip design", "Open-patella design for maximum support"]},"error_code":"","request":{"created":1677367672604,"l":"en","q":"elbow brace","b":"Pika","f":"full_listing"}}
curl请求示例2(产品名称是kids bike的卖点特征词): curl -i -k --get --include 'https://api.wordkit.cn/?q=kids+bike&f=feature&l=en' -H 'Authorization:Bearer 您的KEY'
示例2返回值:{"response":{"feature":["durable", "lightweight", "good quality", "large wheels", "padded seat", "adjustable handlebars", "adjustable height seat"]},"error_code":"","request":{"created":1675811389550,"q":"kids bike","f":"feature"}}
curl请求示例3(产品名称是kids bike的关键词扩展): curl -i -k --get --include 'https://api.wordkit.cn/?q=kids+bike&f=kwdext&l=en' -H 'Authorization:Bearer 您的KEY'
示例3返回值:{"response":{"kwdext":[ "kids bike 20 inch", "kids bike accessories", "kids bike basket", "kids bike helmet", "kids bike helmet boys", "kids bike helmets ages 5-8", "kids bike helmets ages 8-14", "kids bike seat", "kids bike with training wheels", "kids bikes 3-5", "kids bikes ages 5-8", "pedals", "riding", "safety", "schwinn kids bike", "tires", "training wheels"]},"error_code":"","request":{"created":1675815199583,"q":"kids bike","b":"","f":"kwdext"}}
curl请求示例4(品牌是Nike产品名称是kids bike且包含关键词lightweight,durable的产品描述): curl -i -k --get --include 'https://api.wordkit.cn/?q=kids+bike&f=listing&b=Nike&k=lightweight%2Cdurable&l=en' -H 'Authorization:Bearer 您的KEY'
示例4返回值:{"response":{"listing":[" The Nike kids bike is designed for kids ages 5-10 to have a safe and fun riding experience. Its lightweight frame is durable and designed to fit smaller riders. Its adjustable seat and handlebars ensure a comfortable fit while its sturdy construction provides stability and safety. "]},"error_code":"","request":{"created":1675815503026,"q":"kids bike","k":"lightweight,durable","b":"Nike","f":"listing"}}
curl请求示例5(品牌是Nike产品名称是kids bike的产品标题): curl -i -k --get --include 'https://api.wordkit.cn/?q=kids+bike&f=title&b=Nike&l=en' -H 'Authorization:Bearer 您的KEY'
示例5返回值:{"response":{"title":[" Nike Kids Bike - Durable and Stylish Children's Bike with Training Wheels, Basket and Bell - 12, 14, 16 and 18 inch Wheels Available."]},"error_code":"","request":{"created":1675815668951,"q":"kids bike","b":"Nike","f":"title"}}
curl请求示例6(listing英文重写润色): curl -i -k --get --include 'https://api.wordkit.cn/?q=I+were+went+to+looking+the+daycare+and+find+many+child+over+there&f=rewrite&l=en' -H 'Authorization:Bearer 您的KEY'
示例6返回值:{"response":{"rewrite":[" I visited the daycare and observed many children."]},"error_code":"","request":{"created":1675816068625,"q":"I were went to looking the daycare and see many child","f":"rewrite"}}
以上示例中,response内容为返回的结果,request内容为请求参数,error_code内容为请求错误时的提示.
获取API接口KEY 下载示例代码如有疑问,右侧联系客服.