接口说明

本接口为 Amazon Scrape API企业级异步版本,其核心功能、计费规则及返回的数据结构与同步接口完全一致,仅需在请求中额外传入回调地址(callbackUrl),即可实现 100+ 高并发的高效抓取。

接口限制:异步模式仅支持 format=json,不支持 rawHtmlmarkdown。如需源文件,请使用 同步接口

接口优势

  • 企业级设计:专为海量数据抓取设计,支持 100+ 极高并发
  • 高稳定性:采用异步队列机制,大批量请求更稳定、更可靠。
  • 零成本迁移:请求参数、计费规则、返回的数据结构与 Amazon Scrape API(同步接口) 完全一致。

使用方法与核心差异 (How to Use)

维度Amazon Scrape APIAmazon Async API
产品定位标准同步接口 (Sync)企业级异步接口 (Async)
适用场景实时性要求高、单次、低并发请求海量数据、100+ 高并发的大批量抓取
核心区别bizContext 中无需 / 不传 callbackUrlbizContext 中必须传入 callbackUrl
工作模式客户端挂起等待,直接在 Response 中返回数据立即返回接收成功,抓取完成后将数据 POST 推送 到您的回调地址
数据结构返回标准 JSON 数据与同步接口完全一致
支持格式json / rawHtml / markdown仅支持 json(不支持 rawHtml / markdown
计费json (获取解析后的字段):1 个/次
rawHtmlmarkdown (获取源文件):0.75 个/次
1 个/次(同 json 计费)

请求URL

POST https://scrapeapi.pangolinfo.com/api/v1/scrape

请求头

参数名参数值类型说明
Content-Typeapplication/jsonstring数据格式
AuthorizationBearer xxxstring认证凭证

请求参数

参数必填类型说明
urlYesstring目标网页URL
注:如不填写该参数,则必须同时填写 sitecontent 参数
parserNameYesstring

根据业务需求,选择以下一种:
amzProductDetail: 获取商品详情
amzKeyword: 根据关键字获取商品列表
amzProductOfCategory: 根据商品类别获取商品列表
amzProductOfSeller: 根据卖家获取商品列表
amzBestSellers: 热卖榜
amzNewReleases: 新品榜

siteYesstring站点信息
注:若已填写 url,则 site 参数可不填
contentYesstring

该参数的取值根据 parserName 不同而有所区别:
amzProductDetail:填写 ASIN
amzKeyword:填写关键字
amzProductOfCategory:填写类目 Node ID
amzProductOfSeller:填写店铺 ID
amzBestSellers:填写热卖榜类目关键词
amzNewReleases:填写新品榜类目关键词
注:若已填写 url,则 content 参数可不填

formatYesstring数据返回格式,异步模式固定填 json(其他值会返回参数错误)
bizContextYesobject业务上下文信息

bizContext业务上下文参数说明

参数必填类型说明
callbackUrlYesstring异步回调地址,填写后接口切换为异步模式
调用立即返回 taskId,爬取与解析完成后。
结果将通过 HTTP POST 主动推送至该地址。
zipcodeNostring亚马逊邮编信息

客户端回调接收示例(部署 SDK)

以下示例提供一个最小可运行的 HTTP 服务,监听 /callback 路径接收平台推送的结果。必须返回 HTTP 2xx 表示接收成功,非 2xx 平台会自动重试。

@RestController
public class CallbackController {

    @PostMapping("/callback")
    public ResponseEntity<String> receive(@RequestBody Map<String, Object> body) {
        Integer code = (Integer) body.get("code");
        String taskId = (String) body.get("taskId");
        Object pointCost = body.get("pointCost");
        Object data = body.get("data");

        System.out.println("[Callback] taskId=" + taskId
                + ", code=" + code
                + ", pointCost=" + pointCost);

        if (code != null && code == 0) {
            // TODO: 处理 data
        } else {
            System.err.println("Scrape failed: " + body.get("message"));
        }
        return ResponseEntity.ok("received");
    }
}

响应值

返回值类型说明
codeint状态码
messagestring信息
dataobject返回数据

返回参数 data 说明

返回值类型说明
jsonstring[]返回json数据
urlstring任务URL
taskIdstring任务ID

请求示例

# 异步模式 (Async Mode) 调用示例
curl -X POST "https://scrapeapi.pangolinfo.com/api/v1/scrape" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://www.amazon.com/dp/B0DYTF8L2W",
    "parserName": "amzProductDetail",
    "site":"",
    "content":""
    "format": "json",
    "bizContext": {
      "zipcode": "10041",
      "callbackUrl": "https://your-server.com/callback"
    },
  }'

返回示例

{
  "code":0,
  "message":"ok",
  "data":{
    "json":[{"code":0,"data":{"results":[{"seller":{"name":"","link":"","id":""},"parentAsin":"B0DZCK66FV","shipper":"","ratingDistribution":[{"star":"5 star","percentage":"76%"},{"star":"4 star","percentage":"12%"},{"star":"3 star","percentage":"6%"},{"star":"2 star","percentage":"0%"},{"star":"1 star","percentage":"6%"}],"category_name":"Sofas & Couches","color":"","product_weight":"47.4 Pounds","rating":"(24)","followSeller":"","product_dims":"20.07\"D x 126.77\"W x 24.01\"H","galleryThumbnails":["https://m.media-amazon.com/images/I/51liy1KFSBL._AC_US100_.jpg","https://m.media-amazon.com/images/I/51HAiUE+GIL._AC_US100_.jpg","https://m.media-amazon.com/images/I/51AZ7LzSKBL._AC_US100_.jpg","https://m.media-amazon.com/images/I/41QSvhFxZXL._AC_US100_.jpg","https://m.media-amazon.com/images/I/41LVvGnSUZL._AC_US100_.jpg","https://m.media-amazon.com/images/I/51cQneb9DlL._AC_US100_.jpg"],"merchant_id":"","title":"Sweetcrispy Convertible Sectional Sofa Couch, 6 Seat 8 Backs Sofa Set with Storage for Living Room, U-Shaped Modern Modular Sofa Sleeper with Reversible Chaise, Beige","aiReviewsSummary":{"items":[]},"bestSellersRankItems":[{"link":"/gp/bestsellers/home-garden/ref=pd_zg_ts_home-garden","text":"#2,422,883 in Home & Kitchen (See Top 100 in Home & Kitchen)"},{"link":"/gp/bestsellers/home-garden/3733551/ref=pd_zg_hrsr_home-garden","text":"#6,846 in Sofas & Couches"}],"sales":"","productOverview":[{"value":"Sweetcrispy","key":"Brand"},{"value":"Yes","key":"Assembly Required"},{"value":"20.07 inches","key":"Seat Depth"},{"value":"24.01 Inches","key":"Seat Height"},{"value":"300 Pounds","key":"Weight Limit"},{"value":"6","key":"Seating Capacity"},{"value":"20.07\"D x 126.77\"W x 24.01\"H","key":"Product Dimensions"},{"value":"47.4 Pounds","key":"Item Weight"},{"value":"1.57 Inches","key":"Leg Length"},{"value":"Sectional","key":"Type"}],"features":[" 【Warm Tips】Due to the size of the sofa is too large, so sometimes will be split into several packages sent. If you find that there are missing parts in the package, please do not be anxious and wait patiently for a few days for the goods to reach you. Sincerest Wishes and Have a Nice Day!!!  "," 【Convertible & Flexible Couch】Available in multiple configurations, the modular couch can be easily rearranged to fit both small and spacious living rooms, family rooms, basement playrooms, etc. To accommodate different occasions and gatherings, the modular combination allows you to pull the armless chair out as a standalone piece.  "," 【Sturdy & Comfy】The sleeper sofa are made of a sturdy wood frame and high-quality springs and to overcome the unstable connection problem of modular sofas, we use high-quality stainless steel tapered connectors to ensure the stability, durability, provide a a long time use in your living space.  "," 【Ample Storage Space】Storage function under each seat of the living room couch, it is not only a holy place for children’s toys, but also can store blankets and remote control to make the room look neat and clean. Inside the seat is a sofa cushion, remember to take it out before assembly.  "," 【Easy Assembly】Say goodbye to complicated setups. The sectional sofa comes with installation instructions and all necessary hardware & tools. We also offer a video to help you. If you have any questions about the product, please do not hesitate to contact us.  "],"reviews":[{"date":"July 20, 2025","country":"United States","imgs":null,"star":"5.0 out of 5 stars","author":"DJPizzaboi","videos":null,"authorId":"AGEXUB6O7BXWFC6U3RCLFQE5EIOQ","title":"It's a real couch","content":"This couch is surprisingly sturdy and perfectly functional for my needs. Build quality will be determined at a later time but it looks and feels awesome. Assembly was easy and size was exactly what I wanted.","purchased":true,"vineVoice":false,"authorLink":"/gp/profile/amzn1.account.AGEXUB6O7BXWFC6U3RCLFQE5EIOQ","attributes":null,"asin":"","helpful":"","reviewId":"R12W2XCCBZMJK9"},{"date":"July 2, 2025","country":"United States","imgs":null,"star":"5.0 out of 5 stars","author":"brenda palma","videos":null,"authorId":"AE5UH4W2EFHSO5BUQB5PMCOCJMCA","title":"Some screws are tricky","content":"We love it the color is as pictured the sofa is not too soft or too hard the thickness is great assembly was easy the size is perfectly","purchased":true,"vineVoice":false,"authorLink":"/gp/profile/amzn1.account.AE5UH4W2EFHSO5BUQB5PMCOCJMCA","attributes":null,"asin":"","helpful":"","reviewId":"R16L0ZZEDD0A20"},{"date":"June 11, 2025","country":"United States","imgs":["https://m.media-amazon.com/images/I/71hQCakAISL._SY88.jpg"],"star":"4.0 out of 5 stars","author":"Amazon Customer","videos":null,"authorId":"AGMYOGKIOAMC3AZ5RK2NPNOMR4EA","title":"Great couch for price!","content":"The couch is wonderful, it’s firm but comfortable, the backs are not very high but the pillows make up for the space. It took not even an hour for me to put together myself , in fact, I think I spent more time taking the pieces out of the boxes lol I love it and it looks great in my living room!  Would give five stars but the only complaint is that one of the arm rests were not drilled properly and I was unable to Allen wrench the screws in and connect some pieces but it still worked out.  One out of like 16 pieces is ok by me.","purchased":true,"vineVoice":false,"authorLink":"/gp/profile/amzn1.account.AGMYOGKIOAMC3AZ5RK2NPNOMR4EA","attributes":null,"asin":"","helpful":"","reviewId":"R1BJI3IVUO1C3J"},{"date":"June 21, 2025","country":"United States","imgs":null,"star":"5.0 out of 5 stars","author":"Dianara M","videos":null,"authorId":"AHQULPKPFZ6SXTMWLEGDDB4TX2BQ","title":"Great affordable couch","content":"Very comfortable and clean look absolutely love these especially for the prize","purchased":true,"vineVoice":false,"authorLink":"/gp/profile/amzn1.account.AHQULPKPFZ6SXTMWLEGDDB4TX2BQ","attributes":null,"asin":"","helpful":"","reviewId":"R3JKDB4QFUWOWZ"},{"date":"May 2, 2025","country":"United States","imgs":["https://m.media-amazon.com/images/I/71f9RCnRXgL._SY88.jpg","https://m.media-amazon.com/images/I/81J3ENjpiAL._SY88.jpg"],"star":"5.0 out of 5 stars","author":"Roxxy Breedlove","videos":null,"authorId":"AHHPNEZSLRDRZWCMMU54DJMHHHIA","title":"Family of Six Plus Guests","content":"You’ll absolutely love this sectional. I bought the six seat, eight back/armrest option and can only imagine how much more amazing the next price/size option is. It’s huge & comfy and really elevates my tiny apartment in this beige color. I do see me ordering slipcovers asap to keep it nice & grime free. Very easy to assemble, one person could do it alone but help is always quicker. Plenty of room for my family of six as a one seater and modifying the seating helps it fit guests too. I get the cozies thinking of us enjoying this together \uD83E\uDD17.","purchased":true,"vineVoice":false,"authorLink":"/gp/profile/amzn1.account.AHHPNEZSLRDRZWCMMU54DJMHHHIA","attributes":null,"asin":"","helpful":"4 people found this helpful","reviewId":"R20UBH46P9VAH6"},{"date":"May 30, 2025","country":"United States","imgs":null,"star":"3.0 out of 5 stars","author":"Alexander Smith","videos":null,"authorId":"AHCYZORYAZNO7MSEXT5R454JEJEA","title":"Decent couch","content":"Easy to put together,I like the modular styles, the color was as pictured, decent price. It is very firm, so if looking for a softer couch, this is not the one. It’s not uncomfortable, I personally was expecting a little softer. The chair pieces is big, so 6 was plenty of space, and I like that each one has a storage for blankets, pillows, etc","purchased":true,"vineVoice":false,"authorLink":"/gp/profile/amzn1.account.AHCYZORYAZNO7MSEXT5R454JEJEA","attributes":null,"asin":"","helpful":"One person found this helpful","reviewId":"R2FZMRHHYD4L22"},{"date":"June 5, 2025","country":"United States","imgs":null,"star":"5.0 out of 5 stars","author":"Alexis Beninson","videos":null,"authorId":"AEX6R7PW5MXNS2V2UT2DDSYKQPQQ","title":"Happy","content":"Worth the money","purchased":true,"vineVoice":false,"authorLink":"/gp/profile/amzn1.account.AEX6R7PW5MXNS2V2UT2DDSYKQPQQ","attributes":null,"asin":"","helpful":"","reviewId":"R1N72D3QZPLSLK"},{"date":"March 20, 2024","country":"United States","imgs":null,"star":"5.0 out of 5 stars","author":"William Bishop","videos":null,"authorId":"AE77GV6UISBPSLXP4DDXMFAVOKKA","title":"GORGEOUS","content":"This couch is great and so pretty! The pictures of the seller doesn't even do it justice. It looks 10 times better in real life and exceeded all my expectations. The color is also really great and the storage under every seat a life saver! 10 out of 10.","purchased":true,"vineVoice":false,"authorLink":"/gp/profile/amzn1.account.AE77GV6UISBPSLXP4DDXMFAVOKKA","attributes":null,"asin":"","helpful":"4 people found this helpful","reviewId":"R3Q4HD4MCSZO20"}],"category_id":"1055398","pkg_dims":"","price":"","acBadge":false,"inStock":"","brand":"Sweetcrispy","pkg_weight":"","productDescription":[{"images":[{"img":"https://m.media-amazon.com/images/S/aplus-media-library-service-media/7c5a4460-f0c4-42fe-ade3-15d7c2e7a723.__CR0,0,1464,600_PT0_SX1464_V1___.jpg","name":"Convertible Sectional Sofa Couch"}]},{"images":[{"img":"https://m.media-amazon.com/images/S/aplus-media-library-service-media/ea57d470-2651-4ed1-90c3-7f2bcc949564.__CR0,0,1464,600_PT0_SX1464_V1___.jpg","name":"Convertible Sectional Sofa Couch"}]},{"images":[{"img":"https://m.media-amazon.com/images/S/aplus-media-library-service-media/60a94822-c7a9-48d6-952a-f7adb72207ec.__CR0,0,1464,600_PT0_SX1464_V1___.jpg","name":"Convertible Sectional Sofa Couch"}]},{"images":[{"img":"https://m.media-amazon.com/images/S/aplus-media-library-service-media/ff0a102f-854f-4355-a882-8ff6be50b299.__CR0,0,1464,600_PT0_SX1464_V1___.jpg","name":"Convertible Sectional Sofa Couch"}]},{"images":[{"img":"https://m.media-amazon.com/images/S/aplus-media-library-service-media/75eafc7f-2b65-475e-be62-b53c1f102e5a.__CR0,0,1464,600_PT0_SX1464_V1___.jpg","name":"Convertible Sectional Sofa Couch"}]},{"images":[{"img":"https://m.media-amazon.com/images/S/aplus-media-library-service-media/0caa346a-9d0b-445f-9305-4ec4d3b1fae4.__CR0,0,1464,600_PT0_SX1464_V1___.jpg","name":"Convertible Sectional Sofa Couch"},{"img":"https://m.media-amazon.com/images/S/aplus-media-library-service-media/c43fe9fd-0664-4cdc-981d-e573e80cb4d3.__CR0,0,1464,600_PT0_SX1464_V1___.jpg","name":"Convertible Sectional Sofa Couch"},{"img":"https://m.media-amazon.com/images/S/aplus-media-library-service-media/6a41afb3-e324-49f0-81e9-ba3c1f9984bf.__CR0,0,1464,600_PT0_SX1464_V1___.jpg","name":"Convertible Sectional Sofa Couch"},{"img":"https://m.media-amazon.com/images/S/aplus-media-library-service-media/d5d145c5-ed92-4f2e-ab7d-090b1fabe2ad.__CR0,0,1464,600_PT0_SX1464_V1___.jpg","name":"Convertible Sectional Sofa Couch"}]}],"delivery":{"deliveryTime":"","fastestDelivery":""},"image":"https://m.media-amazon.com/images/I/81IaFnL+FUL._AC_SY300_SX300_QL70_FMwebp_.jpg","images":["https://m.media-amazon.com/images/I/51liy1KFSBL._AC_US100_.jpg","https://m.media-amazon.com/images/I/51HAiUE+GIL._AC_US100_.jpg","https://m.media-amazon.com/images/I/51AZ7LzSKBL._AC_US100_.jpg","https://m.media-amazon.com/images/I/41QSvhFxZXL._AC_US100_.jpg","https://m.media-amazon.com/images/I/41LVvGnSUZL._AC_US100_.jpg","https://m.media-amazon.com/images/I/51cQneb9DlL._AC_US100_.jpg","https://m.media-amazon.com/images/I/51YNqDqhbUL.SS125_PKplay-button-mb-image-grid-small_.jpg"],"breadCrumbs":"Home & Kitchen›Furniture›Living Room Furniture›Sofas & Couches","variantDetails":[],"star":"4.5","coupon":"","bestSellersRank":"#2,422,883 in Home & Kitchen (See Top 100 in Home & Kitchen)  #6,846 in Sofas & Couches","importantInfo":["    ","Safety Information","    ","Keep away from open flames or high heat sources. Supervise children and pets to avoid entrapment risks. Ensure all components are fully assembled and secure before use. Do not place heavy objects on the sofa when in a convertible state.","  "],"badge":"","size":"","highResolutionImages":["https://m.media-amazon.com/images/I/81IaFnL+FUL._AC_SL1500_.jpg","https://m.media-amazon.com/images/I/81gMajU+bkL._AC_SL1500_.jpg","https://m.media-amazon.com/images/I/71MefyLruzL._AC_SL1500_.jpg","https://m.media-amazon.com/images/I/7127T0twgzL._AC_SL1500_.jpg","https://m.media-amazon.com/images/I/71LwvUm037L._AC_SL1500_.jpg","https://m.media-amazon.com/images/I/81HnUWBQUlL._AC_SL1500_.jpg"],"strikethroughPrice":null,"has_cart":false,"asin":"B0DYTF8L2W","attributes":[{"value":"Amazon.com Return Policy:Regardless of your statutory right of withdrawal, you enjoy a 30-day right of return for many products. For exceptions and conditions, see Return details.","key":"Warranty & Support"},{"value":"20.07 inches","key":"Seat Depth"},{"value":"24.01 Inches","key":"Seat Height"},{"value":"20.07\"D x 126.77\"W x 24.01\"H","key":"Item Dimensions D x W x H"},{"value":"47.4 Pounds","key":"Item Weight"},{"value":"1.57 Inches","key":"Leg Length"},{"value":"U Shape Sofa-6 Seat 8 Back","key":"Size"},{"value":"20.07 x 126.77 x 24.01 inches","key":"Item Dimensions"},{"value":"300 Pounds","key":"Weight Capacity Maximum"},{"value":"6","key":"Seating Capacity"},{"value":"Medium","key":"Item Firmness Description"},{"value":"Multiple Cushion Seat","key":"Seat Cushion Configuration"},{"value":"No","key":"Is Customizable?"},{"value":"Leather","key":"Upholstery Fabric Type"},{"value":"Metal","key":"Frame Material Type"},{"value":"Metal","key":"Material Type"},{"value":"true","key":"Has Removable Seat Cushion Cover"},{"value":"Foam","key":"Seat Fill Material"},{"value":"Metal","key":"Furniture Leg Material"},{"value":"Faux Leather","key":"Material Features"},{"value":"Yes","key":"Required Assembly"},{"value":"Limited","key":"Warranty Type"},{"value":"Installation Required","key":"Component Connector Assembly"},{"value":"Beige","key":"Color"},{"value":"Track","key":"Arm Style"},{"value":"Square Back","key":"Back Style"},{"value":"Boxed Edge","key":"Cushion Style"},{"value":"Beige","key":"Upholstery Color"},{"value":"Sweetcrispy","key":"Brand Name"},{"value":"Sectional","key":"Sofa Type"},{"value":"6","key":"Seat Cushion Quantity"},{"value":"Indoor","key":"Indoor Outdoor Usage"},{"value":"modular","key":"Orientation"},{"value":"Ottoman","key":"Included Components"},{"value":"717242964754","key":"UPC"},{"value":"SW-CW01-U","key":"Model Number"},{"value":"CW01-SW-U","key":"Manufacturer Part Number"},{"value":"Sweetcrispy","key":"Manufacturer"},{"value":"Sectional","key":"Item Type Name"},{"value":"B0DYTF8L2W","key":"ASIN"}],"first_date":""}]},"message":"ok"}],
    "url":"https://www.amazon.com/dp/B0DYTF8L2W",
    "taskId":"cbafa9045722466a94444394bedc3376"
  }
}

积点消耗说明

  • 异步模式仅支持 format=json消耗积点数:1 个/次