Use the Factery API to Get Important Text From Searches

Adam DuVander
Apr. 18 2010, 11:13AM EDT

Factery is a search API with a twist. Instead of links, it returns facts. Actually, it returns links, too. But the real interesting stuff is that it extracts the sentence or two that best answers a user's search.

Factery results for search engines search

Another way Factery is different is that you decide the sources to use. You can search Twitter, Digg, or a standard search engine. All you need are pages containing a list of links and Factery does the rest.

At the heart of Factery's technology is FactRank, which CNET describes well:

FactRank goes through each Web page or source (in whatever index it's searching from) finding semantic tip-offs like declarative sentences. It then cross references each of those against one another, surfacing some of the most relevant ones to the top, as well as factoring in the order of how they appeared. What the user then gets is a tidy list of statements, each of which is sourced and given a level of relevancy based on their appearances in all of the indexed source pages combined.

Factery is a rare API in that the API is the service. It's not an add-on, where you can just build off of their data. Factery is not a destination--it's sole purpose is to be incorporated into your applications.

For a further look at Factery, see our Factery profile and check out this video (embedded below).

Adam DuVander Hi! I'm Developer Communications Director for SendGrid and former Executive Editor of ProgrammableWeb. I currently serve as a Contributing Editor. If you have API news, or are interested in writing for ProgrammableWeb, please contact Though I'm a fan of anything API-related, my particular interest is in mapping. I've published a how-to book, Map Scripting 101, to get anyone started making maps on websites. In a not-so-distant past life I wrote for Wired and Webmonkey.




  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

That looks really nice. What would be cool, is extracting facts from a given url. Say you give it a URL of a very long Wikipedia page and it gives you the most important 2 or 3 sentences. That would be great (The Yahoo! Term Extraction service comes close, but the results tend to be not that good for the stuff I feed it).

(disclaimer: I haven't really looked into the API, so it might possible already)