Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Node wrapper for Trello's HTTP API.
branch: master

This branch is 46 commits ahead, 2 commits behind lmatteis:master

Publish v1.0.1.

Includes fix for request-level errors throwing `TypeError: Cannot read property 'statusCode' of undefined`. (#15).
latest commit e8764ef752
Andrew Dunkman authored

Node wrapper for Trello’s HTTP API.

Build Status

View Trello’s API documentation online. For information on Trello’s API development, visit their Trello board, of course.


npm install node-trello

Getting your key and token

  • Generate your developer key and supply it as the first constructor parameter.
  • To read a user’s private information, get a token by directing them to<PUBLIC_KEY>&name=MyApp&response_type=token replacing, of course, <PUBLIC_KEY> with the public key obtained in the first step.
  • If you never want the token to expire, include &expiration=never in the url from the previous step.
  • If you need write access as well as read, &scope=read,write to the request for your user token.

Example Code

var Trello = require("node-trello");
var t = new Trello("<your key>", "<token>");

t.get("/1/members/me", function(err, data) {
  if (err) throw err;

// URL arguments are passed in as an object.
t.get("/1/members/me", { cards: "open" }, function(err, data) {
  if (err) throw err;


Released under MIT.

Something went wrong with that request. Please try again.