Flattr Developer Platform

Activities

Only Atom (.atom) and JSON (.as) Activity Streams responses supported

List an users activities

The default activities are outgoing activities, what the user has done. If you instead want to get a users incoming activities set the type parameter to incoming.

Parameters
Request
GET https://api.flattr.com/rest/v2/users/:username/activities
Example response
HTTP/1.1 200 OK
Content-Type: application/stream+json
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Current: 1
X-RateLimit-Reset: 1342521939
{
  "items": [
    {
      "published": "2012-01-04T10:07:12+01:00",
      "title": "pthulin flattred \"Acoustid\"",
      "actor": {
        "displayName": "pthulin",
        "url": "https://flattr.dev/profile/pthulin",
        "objectType": "person"
      },
      "verb": "like",
      "object": {
        "displayName": "Acoustid",
        "url": "https://flattr.dev/thing/459394/Acoustid",
        "objectType": "bookmark"
      },
      "id": "tag:flattr.com,2012-01-04:pthulin/flattr/459394"
    }
  ]
}
Errors

List a authenticated users activities

Authentication needed

Parameters
Request
GET https://api.flattr.com/rest/v2/user/activities
Example response
HTTP/1.1 200 OK
Content-Type: application/stream+json
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Current: 1
X-RateLimit-Reset: 1342521939
{
  "items": [
    {
      "published": "2012-01-04T10:07:12+01:00",
      "title": "pthulin flattred \"Acoustid\"",
      "actor": {
        "displayName": "pthulin",
        "url": "https://flattr.dev/profile/pthulin",
        "objectType": "person"
      },
      "verb": "like",
      "object": {
        "displayName": "Acoustid",
        "url": "https://flattr.dev/thing/459394/Acoustid",
        "objectType": "bookmark"
      },
      "id": "tag:flattr.com,2012-01-04:pthulin/flattr/459394"
    }
  ]
}
Errors
Visit Flattr.com to learn more about Flattr.