Extract Page Information API
page_information contains the page's title, description, canonical URL, language, charset and
favicon. final_url is the URL after redirects.
API Examples
Page Information for https://en.wikipedia.org/wiki/Coffee
{
...
"page_information": {
"title": "Coffee - Wikipedia",
"url": "https://en.wikipedia.org/wiki/Coffee",
"final_url": "https://en.wikipedia.org/wiki/Coffee",
"canonical": "https://en.wikipedia.org/wiki/Coffee",
"language": "en",
"charset": "UTF-8",
"favicon": "https://en.wikipedia.org/static/favicon/wikipedia.ico"
}
}
JSON Structure Overview
{
...
"page_information": {
"title": "String - Title of the page",
"url": "String - Requested URL",
"final_url": "String - URL after redirects",
"description": "String - Content of the description meta tag",
"canonical": "String - Canonical URL of the page",
"language": "String - Language from the lang attribute of the html tag",
"charset": "String - Character encoding of the page",
"favicon": "String - URL of the page's favicon"
},
"meta_tags": {
"keywords": "String - Content of the keywords meta tag",
"author": "String - Content of the author meta tag",
"robots": "String - Content of the robots meta tag",
"viewport": "String - Content of the viewport meta tag",
"generator": "String - Content of the generator meta tag",
"theme_color": "String - Content of the theme-color meta tag",
"application_name": "String - Content of the application-name meta tag",
"color_scheme": "String - Content of the color-scheme meta tag",
"referrer": "String - Content of the referrer meta tag"
},
...
}