https://transparencyreport.google.com/transparencyreport/api/v3/safebrowsing/status?site=domainhere
:
When we get the results from the endpoint above, the actual results we want will be on the 3rd line.
The first line will contain )]}'
, and the second line will be blank. Ignore both of those lines and get the results from the 3rd line.
Ex:
$ curl -sL 'https://transparencyreport.google.com/transparencyreport/api/v3/safebrowsing/status?site=testsafebrowsing.appspot.com' | tail -n -1
[["sb.ssr",3,1,0,1,1,0,1628410274243,"https://testsafebrowsing.appspot.com"]]