OSoMe Team / truthy / Indiana University
a3We are pleased to announce that all the data has been reloaded into OSoMe and all interactive tools and API endpoints are working again. Thank you for your patience! --The OSoME team
Thu 2:3513/7/17
a5Thank you jbdougherty! We modified two field names: `capture_date` to `date_captured`, and `publish_date` to `date_published`, and sorry for the inconvenient. Also for the top articles, the data is updated, you can enjoy it now. Thanks very much for your help of improving Hoaxy API. Any problem is welcomed! I'll close this ticket. Chengcheng
Mon 1:328/5/17
a5You're right! I just found out that there is a bug in this API. Now it is fixed. However, I found another problem about the data: before Apr 1st, the data of top articles is correct, but after that day, the data is not correct. Because there was a change of the database, I did not well handle the data. I am working on it. It will be ready before next Monday. And will let you know. Thanks again for your report. Chengcheng
Fri 1:005/5/17
a5Hi jbdougherty, Thanks for using HoaxyAPI. This error message is simply telling you that there is no result for your query. Would you mind give me your query in curl format? Thanks Chengcheng
Thu 2:124/5/17
a2Hi jbdougherty, Thanks for your using of our Hoaxy API. And yes, we did modify the API some days before. The previous modification would remove all Lucene reserved characters before do Lucene parse. This was because our website (http://hoaxy.iuni.indiana.edu) received many query strings containing special characters, without clean these characters will cause Lucene fail to search. Considering requirement as you, we add a new option for the articles API, `use_lucene_syntax`. By default it is `false`, meaning that please treat this query string as a normal string and remove all special characters. You can set it to `true` to keep use Lucene search features. For your case, you can search exactly matched titles by searching `title:"YOUR TITLE"` Sorry for the inconvenient. Best Chengcheng
Mon 11:0617/4/17
a3Hi, an update on this. The API is partially back up, with the exception of the `user-post-count` endpoint. We are reloading all the data from scratch, currently working through the backlog going backwards, meaning that at this point we have reloaded all 2016 and part of 2015. This means that if you are looking for something recent, then you will not get any result, or it will throw an error. I will keep posting updates on this ticket as we re-enable all services and get all data back into the database. Thanks for your patience! --The OSoME team
Thu 9:2530/3/17
Showing 1-6 of 13 results

Install SDK for NodeJS


To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication