当前位置:网站首页>Tiktok keyword search list interface, ultra detailed interface docking steps
Tiktok keyword search list interface, ultra detailed interface docking steps
2022-06-13 08:23:00 【wx_ one billion five hundred and ninety-seven million sixty-thr】
One 、 Tiktok keyword search commodity interface parameter description :
1. utilize filter: Search type :filter=video Search video 、filter=goods Search for products 、filter=user Search users ,, Get it Number of babies , The interface returns the quantity page number , Total number of pages , Baby details data , Commodity title , Baby pictures , concessional rate , Price , sales , baby ID, Seller nickname , There are some data on the product links and other pages .
Click to get the test key and secret
2. Request parameters :
Request parameters :q= dress &page=1&sort=
Parameter description :q: key word ,
filter: Search type :filter=video Search video 、filter=goods Search for products 、filter=user Search users ,
page: the number of pages
sort: Sort ( Currently only videos can be sorted ):sort=new The latest release sort=credit Like it most sort=bid Comprehensive ranking
3. Response parameter
name type must Example value describe
items items[] 0 Search products by keyword
page Int 0 1 Page number
real_total_results Int 0 1900 Number of babies
total_results Int 0 1900 Number of babies
page_size Int 0 20 The number returned by the interface
pagecount Int 0 120 Total number of pages
item item[] 0 Baby details data
title String 0 【 Qing Zi 】 It looks thin and slim ~ New custom design spring sweater dress L0788 Commodity title
pic_url String 0 https://p6-aio.ecombdimg.com/obj/ecom-shop-material/v1_cbrNegKF_70732696448192514710931_f48788ff100d9afb00d63ed437357f29_sx_920709_www2891-2891 Baby pictures
promotion_price Float 0 169.00 concessional rate
price Float 0 169.00 Price
sales Int 0 17872 sales
num_iid Bigint 0 3536467110454782000 baby ID
shop_name String 0 MDNW dress Seller nickname
detail_url String 0 https://haohuo.jinritemai.com/views/product/item2?id=3536467110454782196&pick_source=Nvt7YLu Product links
Two 、 Request example :(CURL、PHP 、PHPsdk 、Java 、C# 、Python)
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.URL;
import java.nio.charset.Charset;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.PrintWriter;
import java.net.URLConnection;
public class Example {
private static String readAll(Reader rd) throws IOException {
StringBuilder sb = new StringBuilder();
int cp;
while ((cp = rd.read()) != -1) {
sb.append((char) cp);
}
return sb.toString();
}
public static JSONObject postRequestFromUrl(String url, String body) throws IOException, JSONException {
URL realUrl = new URL(url);
URLConnection conn = realUrl.openConnection();
conn.setDoOutput(true);
conn.setDoInput(true);
PrintWriter out = new PrintWriter(conn.getOutputStream());
out.print(body);
out.flush();
InputStream instream = conn.getInputStream();
try {
BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8")));
String jsonText = readAll(rd);
JSONObject json = new JSONObject(jsonText);
return json;
} finally {
instream.close();
}
}
public static JSONObject getRequestFromUrl(String url) throws IOException, JSONException {
URL realUrl = new URL(url);
URLConnection conn = realUrl.openConnection();
InputStream instream = conn.getInputStream();
try {
BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8")));
String jsonText = readAll(rd);
JSONObject json = new JSONObject(jsonText);
return json;
} finally {
instream.close();
}
}
public static void main(String[] args) throws IOException, JSONException {
// Request example url The default request parameters have been URL Encoding processing
String url = "https:// Click to get /douyin/item_search/?key=< Your own apiKey>&secret=< Your own apiSecret>&q= dress &page=1&sort=";
JSONObject json = getRequestFromUrl(url);
System.out.println(json.toString());
}
}
Response example :
{
"items": {
"page": "1",
"real_total_results": 500,
"total_results": 500,
"page_size": 20,
"pagecount": 25,
"item": [
{
"title": "【 Qing Zi 】 It looks thin and slim ~ New custom design spring sweater dress L0788",
"pic_url": "https://p6-aio.ecombdimg.com/obj/ecom-shop-material/v1_cbrNegKF_70732696448192514710931_f48788ff100d9afb00d63ed437357f29_sx_920709_www2891-2891",
"promotion_price": 169,
"price": 169,
"sales": 17872,
"num_iid": 3536467110454782000,
"shop_name": "MDNW dress ",
"shop_id": 9088931,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3536467110454782196&pick_source=Nvt7YLu"
},
{
"title": "【 Shiyu recommends 】 Fashionable casual dress ",
"pic_url": "https://p9-aio.ecombdimg.com/obj/ecom-shop-material/v1_yjSJQYM_70770131096798824990399_b8a44fa0240e628775f3b8c4fbee085d_sx_342317_www782-782",
"promotion_price": 59.9,
"price": 59.9,
"sales": 19871,
"num_iid": 3536848829968219000,
"shop_name": " Star clothing store ",
"shop_id": 6970399,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3536848829968218897&pick_source=NvndGU9"
},
{
"title": " Jinggu Leilei pet powder LL&JINGU/「 Don't pick people 」V A dress with a thin collar and contrast color design ",
"pic_url": "https://p3-aio.ecombdimg.com/obj/ecom-shop-material/v1_yAcTOwNE_70755344657952115580027_9faedfb6047eaf1a87f6cabde09476a7_sx_245846_www1080-1080",
"promotion_price": 159,
"price": 159,
"sales": 15298,
"num_iid": 3537767536399665700,
"shop_name": " Jinggu flagship store ",
"shop_id": 27226027,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3537767536399665722&pick_source=Nvtt1n1"
},
{
"title": "TONGXUAN/ With the spring and summer new floral dress 0313.2058",
"pic_url": "https://p6-aio.ecombdimg.com/obj/ecom-shop-material/v1_uEvMYbQo_70745289030580472430369_27dd8add86a7996ef8e397d401099068_sx_218598_www1170-1170",
"promotion_price": 159.9,
"price": 159.9,
"sales": 6001,
"num_iid": 3537264606424760000,
"shop_name": " Shengda clothing ",
"shop_id": 34202369,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3537264606424759942&pick_source=Nvn1XRe"
},
{
"title": "【 Qing Zi 】 Fashion invincible ~ New custom Chain sweater dress L0789",
"pic_url": "https://p3-aio.ecombdimg.com/obj/ecom-shop-material/v1_cbrNegKF_70773595225615240000931_886c00ad1ebeab7423044faa9524d549_sx_701912_www2761-2761",
"promotion_price": 149,
"price": 149,
"sales": 14638,
"num_iid": 3537798859512253400,
"shop_name": "MDNW dress ",
"shop_id": 9088931,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3537798859512253339&pick_source=Nvt3BPJ"
},
{
"title": "Lenakids 22 In the summer Bowknot love princess dress 22022503",
"pic_url": "https://p6-aio.ecombdimg.com/obj/ecom-shop-material/v1_ejmsuggl_70752756065601129260328_fd86404f26cb6d2e2d70daa3ca80a132_sx_485473_www1920-1920",
"promotion_price": 129,
"price": 129,
"sales": 17406,
"num_iid": 3537637931424610000,
"shop_name": " Lina kids-YG shop ",
"shop_id": 36857328,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3537637931424609759&pick_source=NvnLTgd"
},
{
"title": " Girls' summer dress 2022 New floral bubble sleeve princess skirt summer girl baby summer short sleeve skirt ",
"pic_url": "https://p9-aio.ecombdimg.com/obj/temai/af695f0729ae83a24c325bcfd5aec192www800-800",
"promotion_price": 19.9,
"price": 19.9,
"sales": 33642,
"num_iid": 3534622230833180000,
"shop_name": " Mengxiaodou children's clothing factory store ",
"shop_id": 14088342,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3534622230833179994&pick_source=NvtgRFD"
},
{
"title": "Disney/ Disney children's floral two piece dress XFW1BZ115①",
"pic_url": "https://p3-aio.ecombdimg.com/obj/temai/efcf9481abd785adc282276ee7fac9e3www800-800",
"promotion_price": 139.9,
"price": 139.9,
"sales": 14398,
"num_iid": 3533677142598661000,
"shop_name": "Disney Small shop ",
"shop_id": 9944359,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3533677142598661014&pick_source=Nvtwqfy"
},
{
"title": " For the first time Spring new gingko leaf printed belt dress - 9966#",
"pic_url": "https://p6-aio.ecombdimg.com/obj/temai/397bdc8c8631c4255cf1fb96a8b3d490www1080-1080",
"promotion_price": 6666,
"price": 6666,
"sales": 11775,
"num_iid": 3532954784934043000,
"shop_name": " At the beginning, it was a fashionable large women's dress ",
"shop_id": 699303,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3532954784934042902&pick_source=NvtWDtU"
},
{
"title": " Pink and white dress XZ2090",
"pic_url": "https://p3-aio.ecombdimg.com/obj/ecom-shop-material/v1_PzFHhbHs_70818007540879526520081_c791eaf5449f2e05e1e3d847aac8552b_sx_177192_www1079-1079",
"promotion_price": 199,
"price": 199,
"sales": 10894,
"num_iid": 3540451021136484400,
"shop_name": "YINZ Small silver women's clothing ",
"shop_id": 12839081,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3540451021136484138&pick_source=NvtG65c"
},
{
"title": " Round face crisp new skinny denim dress Send the same waist chain ",
"pic_url": "https://p3-aio.ecombdimg.com/obj/ecom-shop-material/v1_UzNjkRcp_70845668187397491550759_6a3a5112365b685c464ed55396c10ee8_sx_207425_www800-800",
"promotion_price": 129.9,
"price": 129.9,
"sales": 17698,
"num_iid": 3541937150696256000,
"shop_name": " Round face crisp garment factory ",
"shop_id": 12306759,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3541937150696256191&pick_source=NvtoWpT"
},
{
"title": "2022 Combed moder home clothes and nightdress V Word pleated design dress 1059",
"pic_url": "https://p9-aio.ecombdimg.com/obj/temai/bbc089c8205f78211d4830d7167be0f5www800-800",
"promotion_price": 35,
"price": 35,
"sales": 42535,
"num_iid": 3509952969334515000,
"shop_name": " Darong clothing store ",
"shop_id": 4378674,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3509952969334514955&pick_source=NvnGMKR"
},
{
"title": "TONGXUAN/ With the spring and summer new dress 0312.2041",
"pic_url": "https://p9-aio.ecombdimg.com/obj/ecom-shop-material/v1_uEvMYbQo_70741570862837271390369_1bd285f4891ba56efeccee4753239110_sx_171847_www1170-1170",
"promotion_price": 149.9,
"price": 149.9,
"sales": 4261,
"num_iid": 3537078793221058000,
"shop_name": " Shengda clothing ",
"shop_id": 34202369,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3537078793221057827&pick_source=NvnLNDw"
},
{
"title": "【 Great joy 】CP Dress dress elegant temperament long dress ",
"pic_url": "https://p3-aio.ecombdimg.com/obj/ecom-shop-material/v1_uvMttNQo_70770253450812623700320_2551e5b1fd36e1ed1f3d5cdf4d5cb722_sx_82756_www600-600",
"promotion_price": 359,
"price": 359,
"sales": 11118,
"num_iid": 3536498199617493500,
"shop_name": " Daxi women's clothing store ",
"shop_id": 31046320,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3536498199617493444&pick_source=Nvtp4nX"
},
{
"title": " Fairy custom · The Korean version has a sense of waist closing design POLO The collar shows a thin dress 6687#",
"pic_url": "https://p9-aio.ecombdimg.com/obj/ecom-shop-material/v1_BmscpSV_70786600292214377080577_3fc24c8158db19f069fb1a6ef4a520e0_sx_908521_www1440-1681",
"promotion_price": 39.9,
"price": 39.9,
"sales": 9868,
"num_iid": 3538414620425485000,
"shop_name": " Fairy custom official account ",
"shop_id": 2780577,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3538414620425484697&pick_source=NvtErRV"
},
{
"title": "2021 New suspender shirt, aging white dress, foreign style two-piece suit ",
"pic_url": "https://p9-aio.ecombdimg.com/obj/temai/d8b9b52a523dee34c21b80f14a20a79f478f837bwww800-800",
"promotion_price": 79,
"price": 79,
"sales": 23896,
"num_iid": 3493447132738898400,
"shop_name": " Clothes are full of flowers ",
"shop_id": 6335140,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3493447132738898360&pick_source=Nvt7KP4"
},
{
"title": "2130 Cheongsam skirt dress medium length Qibao skirt 2022 Young girls in the new and improved cheongsam version ",
"pic_url": "https://p3-aio.ecombdimg.com/obj/temai/b406e48fe59f3141e98fa15b0f0345843dc36ad8www750-750",
"promotion_price": 79.9,
"price": 79.9,
"sales": 24234,
"num_iid": 3480085173800951000,
"shop_name": " Wow, clothes ",
"shop_id": 3889958,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3480085173800950962&pick_source=Nvneodf"
},
{
"title": "RRFG.R Dissolution zero dress N1052 3.17",
"pic_url": "https://p6-aio.ecombdimg.com/obj/ecom-shop-material/v1_UoIznLQo_70763979360951503680152_d117fd3c6eb2bca82272247654efbfa1_sx_197906_www800-800",
"promotion_price": 149.9,
"price": 149.9,
"sales": 6898,
"num_iid": 3537948146133031000,
"shop_name": " Rongrong Gaoding clothing ",
"shop_id": 21961152,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3537948146133030735&pick_source=NvnR9gq"
},
{
"title": " Smoothie peach dress XZ2242",
"pic_url": "https://p6-aio.ecombdimg.com/obj/ecom-shop-material/v1_PzFHhbHs_70775320259173419930081_0fbc2a86b8227fa1762240d17ae774bc_sx_201357_www1080-1080",
"promotion_price": 189,
"price": 189,
"sales": 6718,
"num_iid": 3538407183639311000,
"shop_name": "YINZ Small silver women's clothing ",
"shop_id": 12839081,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3538407183639310973&pick_source=NvnWosw"
},
{
"title": " Girls' summer dress 2022 New children's Korean version of exotic cherry Princess Dress summer dress ",
"pic_url": "https://p6-aio.ecombdimg.com/obj/ecom-shop-material/v1_eiXzSSw_70740828160441387850169_d8e63140c5f63eae45ba0bc3f214a1a3_sx_717003_www800-800",
"promotion_price": 39.9,
"price": 39.9,
"sales": 13356,
"num_iid": 3537041448480433000,
"shop_name": " Jimmy family flagship store ",
"shop_id": 1921169,
"detail_url": "https://haohuo.jinritemai.com/views/product/item2?id=3537041448480432904&pick_source=NvttnNN"
}
],
"_ddf": "xpgj"
},
"error_code": "0000",
"reason": "ok",
"secache": "9fd1f6906c8b8bc9080fe69807fc5a1f",
"secache_time": 1649835424,
"secache_date": "2022-04-13 15:37:04",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"error": "",
"cache": 0,
"api_info": "today:48 max:11000",
"execution_time": "0.048",
"server_time": "Beijing/2022-04-13 17:02:00",
"client_ip": "106.60.134.146",
"call_args": {
"q": " dress ",
"start_price": "1"
},
"api_type": "douyin",
"translate_language": "zh-CN",
"translate_engine": "google_new",
"server_memory": "0.77MB",
"request_id": "gw-4.625691883e023",
"last_id": "880760728"
}
API Tools
API SDK Invoke the sample
APISDK download
API Testing tools
How to open API test , Click open now
边栏推荐
- About redis encapsulation tool class using distributed locks
- Did decentralized digital identity
- IPFs cluster setup process
- filebeat采集日志到ELK
- Determine whether a string is rotated from another string
- CCNP_ Bt-ospf big experiment (1)
- HCIP_ MGRE comprehensive experiment
- Bidirectional retransmission step experiment
- 微服务项目搭建二:数据库设计
- How about a well-known food material distribution information management system?
猜你喜欢

Methods of importing and exporting settings in Altium Designer

JS - print 99 multiplication table of the for cycle case
![[notes] like the solution to the problem of slow query (index + explicitly specifying query fields)](/img/95/2109ddf1a0ff0223109eb9b5a02f00.jpg)
[notes] like the solution to the problem of slow query (index + explicitly specifying query fields)
将solidworks建的机器人模型导入到ros中

Learning record 4:einops / / cudnn benchamark=true // hook

星巴克创始人:出于安全考量 或不再向非店内消费者开放“公厕”

When submitting the laravel admin form and using the required verification, an error is reported when the value is 0

HCIP_ Static experiment

array_ Pop error: only variables should be passed by reference

SQL injection experiment
随机推荐
How to efficiently manage commodities and inventory in the beverage wholesale industry
How to modify desktop path in win10 system
学习记录4: einops // cudnn.benchamark=true // hook
LeetCode-按奇偶排序数组
中小型照明灯饰行业如何利用数字化转型突出重围?
The method of SolidWorks modifying text font in engineering drawing
Dfinity (ICP) development problems and solutions-6
Homestead environment setup
Process and scheduled task management
Buuctf web (IV)
淘宝商品历史价格接口/商品历史价走势接口代码对接分享
DHCP principle and configuration
【完全信息静态博弈-Nash均衡的特性】
【博弈论-完全信息静态博弈】 Nash均衡
Notes on MySQL transaction not automatically submitting
How to hide tabs in nailing applet
Dest0g3 520 orientation
Reverse order and comparison of strings
Methods of importing and exporting settings in Altium Designer
Determination of ranking