Docs
Log in

API usage

Add &scraper=amazon-new-releases to a Crawling API request. URL-encode the target URL in the url parameter.

curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
  --data-urlencode 'url=https://www.amazon.com/new-releases/handmade' \
  --data-urlencode 'scraper=amazon-new-releases' -G
from crawlbase import CrawlingAPI

api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
    'https://www.amazon.com/new-releases/handmade',
    {'scraper': 'amazon-new-releases'}
)

import json
data = json.loads(res['body'])
const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });

const res = await api.get(
  'https://www.amazon.com/new-releases/handmade',
  { scraper: 'amazon-new-releases' }
);
const data = JSON.parse(res.body);
require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')

res = api.get('https://www.amazon.com/new-releases/handmade', scraper: 'amazon-new-releases')
data = JSON.parse(res.body)

Example input URL

The URL passed in the url parameter (URL-decoded for readability):

https://www.amazon.com/new-releases/handmade

Response shape

JSON response body. Field types may be null when the source page omits the value.

category
string
New-release category.
category_url
string
Absolute URL of the category page.
products
array
Newly listed products with the same shape as amazon-best-sellers.

Sample response

{
  "category": "Handmade",
  "products": [
    {
      "rank": 1,
      "asin": "B0F3YC9NKH",
      "title": "Handmade Ceramic Vase",
      "price": "$39.00",
      "rating": null,
      "reviews_count": null,
      "image": "https://m.media-amazon.com/images/I/...jpg",
      "url": "https://www.amazon.com/dp/B0F3YC9NKH"
    }
  ]
}