Java and Android client for Flattr API
Latest commit ec63825 Apr 14, 2016 @shred Review documentation

Java Flattr Client build status

flattr4j is a free open source Java library for using the Flattr API and adding Flattr buttons to JSP web sites.

It primarily targets for business grade Flattr integration, e.g. on servers, web sites and full-featured desktop applications, but it can also be used on Android devices.

flattr4j is not endorsed by or affiliated with Flattr AB.

Important Note

Flattr is currently changing its API. Because of that, some of the flattr4j calls are failing or not delivering the expected results.

Are you getting a "Received fatal alert: handshake_failure" exception? OpenJDK does not seem to support any of the Flattr server's cipher suites. Use the Oracle JDK instead!


  • Lightweight and easy to use
  • Covers the entire Flattr API
  • Also runs on Android
  • JSP tag library for inserting static and javascript Flattr buttons
  • Helps through the OAuth authentication process at Flattr, no OAuth knowledge is needed
  • With Maven and Spring support
  • Spring Social provider available (currently beta)




flattr4j is open source software. The source code is distributed under the terms of GNU General Public License Version 3, GNU Lesser General Public License Version 3, Apache License 2.0.