Web Page Analysis API

Description

Get the metadata of a web page, or get the information on the page in json format according to your css.

Pricing per Call: 0.001$
For learn the packages and usage details of the services, go to the pricing page.

End Points

post/getMetadata

...

Example
Request
{
  "uri": "https://api.collectapi.com/website_info/ss",
  "body": {},
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": {
    "title": "Web Sayfası başlığı",
    "heading": "Web Sayfası heading",
    "description": "Web Sayfası açıklaması"
  }
}
post/getPageData

...

Parameters
FieldDescriptionTypeHeaderRequired
JsonMapSayfadan istenilen bilgilerinin csslerinin bir map halinde verilmesijson
Example
Request
{
  "uri": "https://api.collectapi.com/website_info/getPageData",
  "body": {
    "key_css_mapping": {
      "product_name": "css",
      "product_price": "css",
      "product_image": "css"
    }
  },
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": {
    "product_name": "iPhone 6",
    "product_price": "X.000 TL",
    "product_image": "/product/iphone6-image.jpg"
  }
}