Page.REST

FREEMIUM
By laktek
Updated 7 months ago
Tools
7.2/10
Popularity Score
3778ms
Latency
79%
Success Rate

Page.REST API Documentation

An API to extract content from any web page as JSON. Get the title, description, open graph, embed content or any other information available at a given public URL.

View API Details
GETFetch
GETFetch

Fetches details from a web page given by the URL

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
urlSTRING
REQUIREDGive the URL of the page you want to fetch
Optional Parameters
selectorSTRING
OPTIONALA valid CSS selector to extract element(s) from the page (You can provide multiple selectors, up to 10)
embedBOOLEAN
OPTIONALSet this param if you want the response to include oEmbed content from the page
ogSTRING
OPTIONALSet this param if you want the response to include OpenGraph data from the page
headerSTRING
OPTIONALAn HTTP response header value to return from the response (You can provide multiple selectors, up to 10)
prerenderBOOLEAN
OPTIONALSet this param if you want the page to be pre-rendered (usually this is needed for pages that are client-side rendered, for example if the site uses React)
containsSTRING
OPTIONALProvide a valid JS regex (or simply a string) to see if a pattern matching it exists in the page's text.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication