Skip to content

Repository files navigation

HasData NodeJS SDK

HasData - Web Scraping API with Proxy Rotation. Get valuable data at scale in HTML format from any website without need for a proxy.

Interface to call HasData API easily from Node.

Install

npm i @scrapeit-cloud/scrapeit-cloud-node-sdk

Usage

Signup to HasData to get your API key and some free credits to get started.

import ScrapeitSDK from './index';
const main = async() => {
const scrapeit = new ScrapeitSDK('INSERT_YOUR_API_KEY_HERE');
try {
const response = await scrapeit.scrape({
"url": "https://example.com",
"screenshot": true,
"proxy_country": "US",
"proxy_type": "datacenter"
});
console.log(response);
} catch(e) {
console.log(e.message);
}
};
main();

HasData supports various parameters to execute a custom JavaScript script, use a premium proxy from a specific geolocation and more.

You can find all the supported parameters on HasData documentation.

About

NodeJS SDK to interact with Hasdata API

Topics

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages