{% extends 'base.html' %} {% block bodyclass %}NB-static NB-static-api{% endblock %} {% block content %}
NewsBlur's API allows users to retrieve their feeds, feed counts, feed icons, feed statistics, and individual feed stories. No API key is required, but you are required to authenticate before using any of the API endpoints. Please be considerate, and don't hammer our servers.
If your project or application allows users to interact with data from NewsBlur, you must cite NewsBlur as the source of your data.
You may use the API commercially, by which we mean you may charge people money to use your project which itself uses the API. You may not, however, sell advertising against any data retrieved from NewsBlur's API. Essentially, you can charge money for your application or service, but not wrap NewsBlur in advertisements.
We reserve the right to revise these guidelines. If you violate the spirit of these terms, expect to be blocked without advance warning.
Parameter | Description | Default | Example |
---|---|---|---|
include_favicons | Optional Include favicons inline. Since they can be time consuming to download, you can optionally turn them off. Use /api/v1/feeds/favicons/ to retrieve the favicons in a separate request. | true |
true/false |
{
'feeds': []
}
/api/v1/reader/refresh_feeds
to get updated unread counts.include_favicons
if you can either cache favicons or can
wait to fetch them.Parameter | Description | Default | Example |
---|---|---|---|
feeds | REQUIRED Array of feed ids | [1, 2, 3] |
{
'feeds': []
}
<img src="data:image/png;base64,[IMAGE_DATA_STRING]" />
Parameter | Description | Default | Example |
---|---|---|---|
page | optional Page of stories, starting from 1. | 1 |
12 |
{
'feeds': []
}