This API helps you extract the title, description, icon, and social media information from a web page.
Authentication for this API is done using an x-api-key
header.
x-api-key: YOUR_API_KEY
url
(required) - The website url (e.g - https://goonlinetools.com/).x-api-key
(required) - Your API Key.{
"title": "GoOnlineTools.com - 100% Free Online Tools Collection",
"description": "Dozens of interesting microservices have been developed in GO Online Tools and the number is still growing. If you feel that a certain model is good, you may wish to use it or share it with others.",
"productIconUrl": "https://goonlinetools.com/favicon/favicon.ico",
"socialMediaLinks": [
"https://www.facebook.com/goonlinetools",
"https://twitter.com/goonlinetools"
]
}
Method: POST
Key | Value |
---|---|
x-api-key |
const axios = require('axios');
const FormData = require('form-data');
let data = new FormData();
let config = {
method: 'post',
url: 'https://api.goonlinetools.com/api/extract-website-data?url=https://goonlinetools.com/',
headers: {
'x-api-key': 'Your API Key',
...data.getHeaders()
},
data: data
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Each successful request to the API consumes 1 credit.
This API does not work if the website uses any type of captcha. Request allowed only to https internet protocol.