JSON Response - Autoparse

For selected domains we offer a parameter that parses the data and returns structured JSON format. You enable the parsing simply by adding autoparse=true to your request.

Available domains:

GoogleAmazonWalmartEbay

Search Result

Product Pages

Product Pages

Products Pages

News Results

Search Results

Category Pages

Search Results (coming soon)

Job Results

Offers

Search Results

Shopping Results

Product Reviews

Product Reviews

Google Maps (coming soon)

We recommend using our Structured Data Endpoints instead of the autoparse parameter.

You can find all available endpoints here

API REQUEST

import fetch from 'node-fetch';

fetch('https://api.scraperapi.com/?api_key=APIKEY&autoparse=true&url=https://www.amazon.com/dp/B07V1PHM66')
.then(response => {
console.log(response)
})
.catch(error => {
console.log(error)
})

PROXY MODE

const axios = require('axios');

axios.get('http://httpbin.org/ip', {
  method: 'GET',
  proxy: {
    host: 'proxy-server.scraperapi.com',
    port: 8001,
    auth: {
      user: 'scraperapi.autoparse=true',
      password: 'APIKEY'  
    },
    protocol: 'http'
  }
})
  .then(response => {
    console.log(response)
  })
  .catch(error => {
    console.log(error)
  });

SDK METHOD

// remember to install the library: npm install scraperapi-sdk --save
const scraperapiClient = require('scraperapi-sdk')('APIKEY')
scraperapiClient.get('https://www.amazon.com/dp/B07V1PHM66', {autoparse: true})
.then(response => {
  console.log(response)
})
.catch(error => {
  console.log(error)
})

Last updated