URL Info
GET {{baseUrl}}/url-info?url=<string>&fetch-content=false&ignore-certificate-errors=false&timeout=60&retry=0
Parse, analyze and retrieve content from the supplied URL
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
url | string | (Required) The URL to probe | |
fetch-content | boolean | If this URL responds with html, text, json or xml then return the response. This option is useful if you want to perform further processing on the URL content (e.g. with the HTML Extract or HTML Clean APIs) | |
ignore-certificate-errors | boolean | Ignore any TLS/SSL certificate errors and load the URL anyway | |
timeout | number | Timeout in seconds. Give up if still trying to load the URL after this number of seconds | |
retry | number | If the request fails for any reason try again this many times |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"http-status-message":"\u003cstring\u003e","server-region":"\u003cstring\u003e","query":{"ipsum_4d":"\u003cstring\u003e"},"server-name":"\u003cstring\u003e","url-port":"\u003cinteger\u003e","server-country":"\u003cstring\u003e","real":"\u003cboolean\u003e","server-city":"\u003cstring\u003e","url-path":"\u003cstring\u003e","url":"\u003cstring\u003e","valid":"\u003cboolean\u003e","server-hostname":"\u003cstring\u003e","load-time":"\u003cnumber\u003e","http-ok":"\u003cboolean\u003e","content-size":"\u003cinteger\u003e","http-status":"\u003cinteger\u003e","server-country-code":"\u003cstring\u003e","content-encoding":"\u003cstring\u003e","server-ip":"\u003cstring\u003e","url-protocol":"\u003cstring\u003e","content-type":"\u003cstring\u003e","http-redirect":"\u003cboolean\u003e","content":"\u003cstring\u003e","is-timeout":"\u003cboolean\u003e","title":"\u003cstring\u003e","language-code":"\u003cstring\u003e","is-error":"\u003cboolean\u003e"}