{% extends 'base.html' %} {% block bodyclass %}NB-static NB-static-api{% endblock %} {% block title %}The NewsBlur API{% endblock %} {% block content %}
The NewsBlur API
Introduction to the API

NewsBlur is an RSS feed reader with intelligence.

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.

It is a very nice thing to note that this entire API is open-source, including the implementation of the endpoints. You can find the source of the /reader/ views, /rss_feeds/ views, as well as the API definitions in YAML.

API Table of Contents
{% for group in data %}{% for group_name, endpoints in group.items %}
{{ group_name }}
{% endfor %}{% endfor %}
{% for group in data %}{% for group_name, endpoints in group.items %}
{{ group_name }}
{% for endpoint in endpoints %}

{{ endpoint.method }} {{ endpoint.url }}

{% if endpoint.long_desc %}
    {% for desc in endpoint.long_desc %}
  • {{ desc|safe }}
  • {% endfor %}
{% endif %} {% if endpoint.params %} {% for param in endpoint.params %} {% endfor %}
Parameter Description Default Example
{{ param.key }} {% if param.optional %} Optional {% else %}{% if param.required %} Required {% endif %}{% endif %} {{ param.desc|safe }} {% if param.default %}{{ param.default }}{% endif %} {% if param.example %}{{ param.example|safe }}{% endif %}
{% endif %} {#

Example Response

#} {#
 #}
{# { #}
{#   'feeds': [] #}
{# } #}
{#             
#} {% if endpoint.tips %}

Tips

    {% for tip in endpoint.tips %}
  • {{ tip|safe }}
  • {% endfor %}
{% endif %}
{% endfor %}
{% endfor %}{% endfor %} {# ===================== #} {# = Terms of Services = #} {# ===================== #}
API Guidelines and Terms of Service

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.

{% endblock content %}