• 小红书商品详情API接口(商品详情页面数据接口)


    小红书商品详情API接口(商品详情页面数据接口

    小红书商品详情API接口(商品详情页面数据接口)代码对接如下:

    1.公共参数

    名称类型必须描述
    keystringget请求方式拼接在url中,点击获取
    api_namestring是   api接口名称
    cachestring默认
    result_typestringjson格式返回
    langstring默认cn简体中文
    versionstringapi版本,默认即可


    2.请求参数

    请求参数:note_id=5eb1097ba091410953951d17

    参数说明:note_id:小红书笔记ID 

    3.响应参数

    4.请求示例(CURL、PHP 、PHPsdk 、Java 、C# 、Python…)

    1. {
    2. "code": 0,
    3. "success": true,
    4. "msg": "成功",
    5. "data": {
    6. "cursor_score": "",
    7. "items": [
    8. {
    9. "id": "63eddd2d000000001300c519",
    10. "model_type": "note",
    11. "note_card": {
    12. "image_list": [
    13. {
    14. "file_id": "",
    15. "height": 1706,
    16. "width": 1280,
    17. "url": "https://sns-img-hw.xhscdn.net/16b4ad58-560f-2570-c018-553c4a62536e",
    18. "trace_id": ""
    19. },
    20. {
    21. "file_id": "",
    22. "height": 1706,
    23. "width": 1280,
    24. "url": "https://sns-img-hw.xhscdn.net/9aa0c598-5914-50f2-3adc-eac1056aa578",
    25. "trace_id": ""
    26. },
    27. {
    28. "width": 1280,
    29. "url": "https://sns-img-hw.xhscdn.net/89f95cdf-307e-94c1-37b8-96b57b33d98f",
    30. "trace_id": "",
    31. "file_id": "",
    32. "height": 1706
    33. },
    34. {
    35. "width": 1280,
    36. "url": "https://sns-img-hw.xhscdn.net/7769b682-5453-8d07-43ad-a7aa366be6a2",
    37. "trace_id": "",
    38. "file_id": "",
    39. "height": 1706
    40. }
    41. ],
    42. "at_user_list": [ ],
    43. "time": 1676533038000,
    44. "share_info": {
    45. "un_share": false
    46. },
    47. "type": "normal",
    48. "title": "先亲程程后摸腿,我是莽村李宏伟~",
    49. "user": {
    50. "avatar": "https://sns-avatar-qc.xhscdn.com/avatar/63f202aecfabd425aded900f.jpg",
    51. "user_id": "5d8245e80000000001005326",
    52. "nickname": "v瑶瑶最可爱v"
    53. },
    54. "interact_info": {
    55. "comment_count": "1418",
    56. "share_count": "574",
    57. "followed": false,
    58. "relation": "none",
    59. "liked": false,
    60. "liked_count": "10498",
    61. "collected": false,
    62. "collected_count": "1033"
    63. },
    64. "tag_list": [
    65. {
    66. "id": "5c97097b000000000d0221a5",
    67. "name": "痞帅",
    68. "type": "topic"
    69. },
    70. {
    71. "id": "61d7b86f000000000100982a",
    72. "name": "我的解放日志",
    73. "type": "topic"
    74. },
    75. {
    76. "id": "53f1efa6b4c4d679d7e13559",
    77. "name": "男神",
    78. "type": "topic"
    79. },
    80. {
    81. "id": "56f8004b14de4115615889db",
    82. "name": "都暻秀",
    83. "type": "topic"
    84. },
    85. {
    86. "type": "topic",
    87. "id": "62208bf5000000000101db52",
    88. "name": "我的解放日记"
    89. },
    90. {
    91. "type": "topic",
    92. "id": "6120b152000000000101f85f",
    93. "name": "狂飙"
    94. },
    95. {
    96. "id": "6166367d0000000001006091",
    97. "name": "莽",
    98. "type": "topic"
    99. },
    100. {
    101. "id": "63ccb02b00000000010069e3",
    102. "name": "莽村",
    103. "type": "topic"
    104. },
    105. {
    106. "id": "63e23db500000000010079fe",
    107. "name": "莽村村霸",
    108. "type": "topic"
    109. },
    110. {
    111. "id": "63af9e1a00000000010051f4",
    112. "name": "恶少",
    113. "type": "topic"
    114. },
    115. {
    116. "id": "5beec4369e1dec000171af50",
    117. "name": "恶霸",
    118. "type": "topic"
    119. },
    120. {
    121. "id": "5c56a07f000000000d016140",
    122. "name": "痞",
    123. "type": "topic"
    124. }
    125. ],
    126. "last_update_time": 1676533038000,
    127. "note_id": "63eddd2d000000001300c519",
    128. "desc": "8岁进体校,19岁进国家队,25岁回莽村,29岁被高启盛拿冻鱼活活打死 "
    129. }
    130. }
    131. ],
    132. "current_time": 1696339111883
    133. }
    134. }

  • 相关阅读:
    C/C++教程 从入门到精通《第二章》—— 快速入门C/C++
    STM32 GD32 标准库移植SFUD
    小学期,第三场-下午:WEB_sessionlfi
    算法入门(二):简单排序算法
    原装芯片现货,价格优惠,实单可谈
    [运维|中间件] 东方通TongWeb忘记密码后修改密码
    用qemu + gdb调试linux内核
    react 也就这么回事 02 —— JSX 插值表达式、条件渲染以及列表渲染
    传输层 选择性确认 SACK
    IOC理解
  • 原文地址:https://blog.csdn.net/qq_43586718/article/details/133934645