PHP Classes

PHP Scrape Stack: Scrape web sites using scrapeStack API

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 191 All time: 8,578 This week: 524Up
Version License PHP version Categories
scrapestack 1.0.0GNU General Publi...5HTTP, PHP 5, Web services


This package can scrape web sites using scrapeStack API.

It can send HTTP requests to the scrapeStack API Web server to request to retrieve the contents of a Web page given its URL.

The class returns the remote Web server response details as an object that is assigned to the class response variable.

Scrape websites using the scrapeStack API service which rotates through proxies to protect your IP number from being blacklisted.

Innovation Award
PHP Programming Innovation award nominee
October 2019
Number 3
Some applications need to scrape information from other Web sites because they need that information and the sites do not provide an API or any other means to provide that information to other sites.

However, scraping Web sites may be difficult if the site server limits the number of requests that a site receives from a remote client computer.

This package provides a workaround that uses the Scrape API Web service. That service uses multiple proxy servers to perform multiple requests to pages of a another site.

Manuel Lemos
Picture of Dave Smith
  Performance   Level  
Name: Dave Smith is available for providing paid consulting. Contact Dave Smith .
Classes: 51 packages by
Country: United States United States
Age: 59
All time rank: 608 in United States United States
Week rank: 16 Up2 in United States United States Up
Innovation award
Innovation award
Nominee: 32x

Winner: 7x


example usage
weatherStack ver 1.0

You must get an API key from
and enter it in the weatherstack.class.php file

//turning off low level notices
error_reporting(E_ALL ^ E_NOTICE);

//instantiate the class
$scrape = new scrapeStack();

//set the url parameter for the website to be scraped

//get the response

//output the response
//if json is returned we had a problem
if( $scrape->jsonReturned ){

Premium plans are available that allow advanced features like...
using SSL to get response
rendering javascript
proxy locations
premium addressed proxies
You can see what is available at

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example Usage
Accessible without login Plain text file license.txt Lic. License
Plain text file scrapestack.class.php Class Main Class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,578
This week:524Up