All Feeds

View All Feeds

This API call will return a snapshot of each Xively Feed that is viewable by the authenticated account.

The default page size returned contains 50 Feeds. Each Feed snapshot contains the current value of each Datastream and of the Feed’s metadata.

Search Feeds (Filter & Sort)

To search/sort Feeds (e.g. by location, user, date created, tags, etc.), see the documentation on Searching Feeds.

Request

Parameters
Method GET
Base URL https://api.xively.com
API Endpoint /v2/feeds
Headers
X-ApiKey API_KEY_HERE
Body
JSON
XML
CSV
  • PUT/v2/feeds.json

    This request does not require body data 
    
  • PUT/v2/feeds.xml

    This request does not require body data
    
  • PUT/v2/feeds.csv

    This request does not require body data
    

Response

Parameters
Status Code 200 OK
Headers
No Headers
Body
JSON
XML
CSV
  • {
        "totalResults":4299,
        "results":[
          {
            "feed":"https://api.xively.com/v2/feeds/5853.json",
            "title":"bridge19",
            "status":"live",
            "version":"1.0.0",
            "creator":"https://xively.com/users/hdr",
            "updated":"2010-06-08T09:30:21.472927Z",
            "created":"2010-05-03T23:43:01.238734Z",
            "location":{"domain":"physical"},
            "tags":[
                "Tag1",
                "Tag2"
            ],
            "datastreams":[
              {
                "max_value":"10000.0",
                "tags":["humidity"],
                "current_value":"435",
                "min_value":"-10.0",
                "at":"2010-07-02T10:21:57.101496Z",
                "id":"0"
              },
              {
                "max_value":"10000.0",
                "tags":["humidity"],
                "current_value":"herz",
                "min_value":"-10.0",
                "at":"2010-07-02T10:21:57.176209Z",
                "id":"1"
              }
            ]
          }
          {"feed": ...
          
          ...}
        ]
      }
    
  • <eeml xmlns="http://www.eeml.org/xsd/0.5.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" version="0.5.1" xsi:schemaLocation="http://www.eeml.org/xsd/0.5.1 http://www.eeml.org/xsd/0.5.1/0.5.1.xsd">
      <opensearch:totalResults>4299</opensearch:totalResults>
      <opensearch:startIndex>0</opensearch:startIndex>
      <opensearch:itemsPerPage>50</opensearch:itemsPerPage>
      <environment updated="2010-06-08T09:30:21.472927Z" created="2010-05-03T23:43:01.238734Z" id="5853" creator="https://cosm.com/users/hdr">
        <title>bridge19</title>
        <feed>http://api.cosm.com/v2/feeds/5853.xml</feed>
        <status>live</status>
        <tag>Tag1</tag>
        <tag>Tag2</tag>
        <location domain="physical">
          <lat/>
          <lon/>
        </location>
        <data id="0">
          <tag>watts</tag>
          <min_value>0.0</min_value>
          <max_value>4355.0</max_value>
          <current_value at="2010-06-30T13:36:34.830647Z">126</current_value>
        </data>
      </environment>
      <environment 
      ...
    </eeml>
    
  • 7441,1,2010-06-01T12:01:32.1Z,123
    7441,2,2010-06-01T12:01:32.1Z,456
    <feed_id>,<stream_id>,<retrieved_at>,<value>
    ...