Google Lighthouse

Overview#

Lighthouse API provides methods to see the lighthouse result of a website. Full result would be the webpage showing the result graphically, and the short result (format=json) provide result as a JSON.

Parameters#

ParameterDescription
ip or host or urlIP address or string IP address or hostname of the remote host.
formatUsing html or json for this parameter. Default: html
timeoutTimeout in second of the lighthouse query. Default: 60

Example:

http://eu-west.probe.onecheck.io/lighthouse?url=https://scaleflex.com
http://eu-west.probe.onecheck.io/lighthouse?url=https://scaleflex.com&format=json
http://eu-west.probe.onecheck.io/lighthouse?url=https://scaleflex.com&format=json&timeout=120

Exception#

This function is just run on any zone having high performance servers. An error string would be returned when running on other zones: NO_HIGHPERF_UPSTREAM.