安全浏览查找API只返回true或false?

I was looking for api's that would check urls for malware. I found Safe Browsing Lookup API and i want to do something like so:

1) In php pass the url to this api 2) Get the response from api - 1(or true) if it doesnt have malware, 0(or false) if it has malware.

How can i do that? Do i need to make a DOM document and then parse the result? I tried reading the Developer's Guide but i didnt see anything that would help me (maybe im blind).

Any suggestions?

Edit: The API i was using was Google Safe Browsing (https://developers.google.com/safe-browsing/)

Have a look at WOT api - http://www.mywot.com/wiki/API

Wot is a community powered service and I had good experience developing with its api in the past.