Database Reference
In-Depth Information
"c" : 1,
"short_host" : "herbalremedies.com",
"url" :
"http://www.herbalremedies.com/the-bible-cure-for-headaches-don-colbert.html"
},
...
To obtain an API key, email
apiauth@blekko.com
. The
terms of service
are somewhat restrictive,
but the service is small and hungry enough to be lexible in practice (at least until it becomes
large and well fed).
Microsoft ofers quite a comprehensive set of search APIs for standard web results, along with
images, news, and even local businesses. Though the
terms of service
make it clear the service is
intended only for end-user-facing websites, the lack of rate limits is very welcome. You'll need
to
obtain an API key
before you can use the API:
curl "http://api.bing.net/json.aspx?AppId=&Query=pete+warden&Sources=Web"
{"SearchResponse":{
"Version":"2.2",
"Query":{"SearchTerms":"pete warden"},
"Web":{
"Total":276000,"Offset":0,"Results":[
{"Title":"Pete Warden",
"Description":"I've had reports of problems running these with the latest
After Effects CS3. I'm not working with AE at the moment, so I haven't been able to
investigate and fix the problems.",
"Url":"http:\/\/petewarden.com\/",
...
As the king of search, Google doesn't have much of an incentive to open up its data to external
developers…and it shows. Google killed of the
Ajax Search API
that allowed access to the same
results as the web interface and replaced it with the more restrictive
Custom Search
version.
You'll need to
sign up
to get access, and you start with a default of only 100 queries per day, with
any additional calls requiring approval from the company. You can also only search a specific
slice of the Web, which you'll need to specify up front:
curl "https://www.googleapis.com/customsearch/v1?\
key=<key>&cx=017576662512468239146:omuauf_lfve&alt=json&\
q=pete%20warden&prettyprint=true"