Blekko: Automate With the Spam-Free Search API

Diego Montalvo, February 7th, 2012

Blekko is a search engine which uses both algorithms and human interaction for producing high quality search results. Currently serving more than 3 billion pages, Blekko sorts through spam, content farms, and sites containing malware in order to offer only real information to the end-user.

One of the coolest features of Blekko are custom search terms called slashtags for example “freebsd /news” returns FreeBSD news results from blogs, online magazines and other tech news sources.

The Blekko search API uses RESTful calls and all results are formatted in JSON. Developers are free to integrate the api into web services, toolbars, and mobile applications. A current restriction is a one query per second limit.

Search Query API

http://blekko.com/ws/?q=freebsd+/news+/json+/ps=50&auth=[API Key]

Blekko API Results

Pagestats API

https://blekko.com/api/pagestats?url=http://buildasearch.com&auth=[API Key]

Slashtag API

Log in Via API
https://blekko.com/login?u=[USERNAME]&p=[PASSWORD]&auth=[API Key]

Add to Existing Slashtag
http://blekko.com/tag/add?name=[SLASHTAG]&submit=update&urls=[LIST]&auth=[API Key]

Creating a New Slashtag
http://blekko.com/tag/add?name=[SLASHTAG]&submit=create&urls=[LIST]&auth=[API Key]

Removing URLs From a Slashtag
http://blekko.com/tag/edit?submit=1&type=del&name=[SLASHTAG]&urls=[LIST]&auth=[API Key]

Deleting a Slashtag
http://blekko.com/tag/delete?submit=1&name=[SLASHTAG]&auth=[API Key]

Inbound Link API

http://blekko.com/api/inbound?auth=[API Key]&to_host=geocities.com
Must register your server IP address with apiauth@blekko.com

Blekko’s Inbound API is meant to display information about inbound links pointing to a given page or site.

To get started using the Blekko API contact apiauth@blekko.com for documentation and an API key.

Tags: Search
Both comments and pings are currently closed.

3 Responses to “Blekko: Automate With the Spam-Free Search API”

June 17th, 2012
at 1:49 am
Comment by: Finance News Day

We try to search our site in a specific keywords and blekko serps works great.

June 18th, 2012
at 12:03 pm
Comment by: the snowboarding shop

You should be a part of a contest for one of the greatest
sites on the web. I will highly recommend this blog!

June 20th, 2012
at 10:16 am
Comment by: CORE

Blekko rulez! Can’t wait to try using it programmatically.

Follow the PW team on Twitter

ProgrammableWeb
APIs, mashups and code. Because the world's your programmable oyster.

John Musser
Founder, ProgrammableWeb

Adam DuVander
Executive Editor, ProgrammableWeb. Author, Map Scripting 101. Lover, APIs.