Site Scraper

FREE
By fyhao
Updated 4 months ago
Data
7.8/10
Popularity Score
7613ms
Latency
86%
Success Rate

Site Scraper API Documentation

The web site title scraper by passing an URL and the system will crawl the site title

View API Details
GETfetchsitetitle
GETfetchsitetitle

Fetch site title by passing site URL

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
urlSTRING
REQUIREDSite URL
Code Snippet
unirest.get("https://site-scrapper.p.rapidapi.com/fetchsitetitle?url=http%3A%2F%2Fwww.bbc.co.uk")
.header("X-RapidAPI-Host", "site-scrapper.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://site-scrapper.p.rapidapi.com/fetchsitetitle
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://site-scrapper.p.rapidapi.com/fetchsitetitle?url=http%3A%2F%2Fwww.bbc.co.uk")
.header("X-RapidAPI-Host", "site-scrapper.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication