API Downloads

There are 2 main features here:

  1. API Wrappers (just below here)
  2. Example Code (way down at the bottom)

Can't find what you are looking for? Did you check out the Plugins & Integrations Directory as well?

Developers: have a MailChimp API wrapper to show off? Let us know about it!

API Wrappers & Tools

By "wrapper", we mean a chunk of code (class, dll, etc.) that you will be able to download, drop into your project, and get going very quickly. These will handle the details of the actual network connections, parameters, and interface for you so that you can focus on just using the object(s) we expose to integrate MailChimp into your code.

Important: pay close attention to the version of the API the wrapper you are using supports! You may need to check older documentation or hack/update older libraries for your own needs

By Language / Platform

   

ColdFusion API Wrapper

ColdFusion Wrapper is a wrapper around the list management methods exposed by the MailChimp API and written for ColdFusion. While not all methods are currently implemented, the most important methods are tested and working fine. Check it out here. Provided by Birgit Pauli-Haack.

 

Microsoft .NetMicrosoft .NET Framework

PerceptiveMCAPI is a .NET friendly wrapper for the MailChimp API with the goal of improving ease of use and functionality for ASP.NET users of the MailChimp API by providing a class library wrapper and Testing UI. Emphasis is on ease of use, maintenance, and extensibility. Supports upto v1.2 of the API. Check it out here. Provided by David McLaughlin.

Another .NET wrapper for the MailChimp API is written in F# and support v1.3 of the API. Check it out here. Provided by DK.

MC.NET v1.1.4 (deprecated) connects to and supports the methods found in version 1.1 of our API. We are not .Net programmers - be sure to view the README in the file you download. Your mileage may vary. View the changelog. Check it out here. Provided by MailChimp.

MailChimp Sync Module makes it easier for developers to synchronize their lists from any datasource to mailchimp. It has been developed in C# on the mailchimp .NET wrapper. Check it out here. Provided by Wim De Coninck.

 

FlashActionScript / Flash

The AS2 Flash Signup Form example gives you a working Flash-based signup form that you can customize or use as a starting point for implementing more API methods for your app. Check it out here. Provided by Christian Cox.

The AS3 Flash Signup Form example gives you a working Flash-based signup form that you can customize or use as a starting point for implementing more API methods in your app. Check it out here. Provided by kohactive.

 

FileMaker Pro

This FileMaker Pro Tutorial is not an actual plugin or wrapper, but walks you through the steps necessary to get a basic integration working. No FileMaker plug-ins are required with the technique – a Web Viewer and a Custom Function do the heavy lifting to pass info back and forth. Check out Part 1 here and Part 2 here. The demo file is also available at the end of Part 2. Provided by Douglas Alder.

 

Grails

The Grails gChimp Plugin supports some basic MailChimp API 1.2-Methods like subscribe, unsubscribe, lists, memberInfo that allow you to more easily integrate your Grails site with your MailChimp account Check it out here. Provided by Malte Hübner.

 

Java API WrapperJava

The Java Wrapper is provided as-is with several example API 1.2 methods built out - others are left as an excercise for the user. No support is implied or included by us or the orignal author. Check it out here. Provided by Zviki Cohen.

ChimpBot a Java wrapper for the MailChimp API specifically built for use in Android applications. Check it out here. Provided by MailChimp.

MailJimp is intended for use within Maven-enabled Spring-based applications, though neither is actually required to use it. Check it out here. Provided by Michael Laccetti.

 

Lasso API Wrapper

The Lasso Wrapper supports all API methods listed in our API documentation using either JSON or XML output formarts - use the method name as a member tag, and submit the other parameters as standard keywords. Check it out here. Provided by Jason Huck.

 

Node.js API Wrapper

node-mailchimp exposes all functions of the MailChimp API, the MailChimp Export API and the STS API to your node.js application. Additionally it provides an easy way to set up Webhook endpoints.. Check it out here. Provided by Daniel Leinich.

 

Objective CObjective-C

ChimpKit2 is a simple Objective-C wrapper for the MailChimp API which can also be used for IPhone development. Check it out here. Provided by Amro Mousa.

Perl API wrappers

WWW::Mailchimp is a simple Perl wrapper around the Mailchimp API v1.3. Check it out here. Provided by Justin Hunter.

Mail::Chimp::API is a simple Perl wrapper around the MailChimp v1.1 and v1.2 API. The object exposes the MailChimp XML-RPC methods and confesses fault codes/messages when errors occur. Check it out here. Provided by Dave Pirotte.

PHP WrappersPHP

2011-02-09 : MCAPI v1.3.1 (current) - connects to and supports the methods found in version 1.3 of our API using PHP 5. View the changelog. Check it out here. Provided by MailChimp.

2011-02-09 : MCAPI mini v1.3.1 The exact same functionality of MCAPI v1.3.0, but with PHP docs and methods stripped out using __call for API methods. The result is a 7k file as opposed to a ~138k file. View the changelog. Check it out here. Provided by MailChimp.

2010-05-06 : MCAPI v1.2.6 (deprecated) – connects to and supports the methods found in version 1.2 of our API using PHP 4 or 5. View the changelog. Check it out here. Provided by MailChimp.

2009-08-20 : MCAPI v1.1.5 (deprecated) – connects to and supports the methods found in version 1.1 of our API using PHP 4 or 5. View the changelog. Check it out here. Provided by MailChimp.

The "PHPXMLRPC Wrapper" is another PHP-based wrapper for our API using the PHPXMLRPC library. Check it out here. Provided by Andrew Aculana.

The "Galahad MailChimp Synchronizer" lets you synchronize an existing mailing list with MailChimp. The synchronization is one directional (from existing to MailChimp) so is most useful for keeping MailChimp synced with something like a membership database or customer list. Examples using Mysql and PHP Arrays are provided. Check it out here. Provided by Chris Morrell.

CodeIgniter Library for MailChimp API v1.3 - the MCAPI done The CodeIgniter Way. Check it out here. Provided by Wayn Hall.

Python Wrappers

mailsnake is a Python wrapper for v1.3 of the API that takes advantage of named parameters and our JSON object acceptance to create a small sized wrapper that does not need to be updated as methods are changed/added. Check it out here. Provided by John-Kim Murphy.

chimpy is a thin wrapper around the list management methods exposed by the MailChimp API and written in Python. Note that you will need to do a SVN checkout of the project. Check it out here. Provided by machine–envy

greatape is a minimalist client library for version 1.2 of the MailChimp API. Check it out here. Provided by Jonathan Lukens.

PyChimp is a straight port from the Official PHP version of the MailChimp API v1.2, which means that all the official, online documentation is easy to follow along with the Python version. Check it out here. Provided by Hunter Ford.

django–mailchimp is an integrated app for Django dealing with the Mailchimp mailing list system. Check it out here. Provided by Jonas Obrist.

Ruby / Rails

Gibbon is a gem that Gibbon is a simple API wrapper for interacting with API v1.3 in a very natural way and that won't require updates as methods are added/changed in future API releases thanks for some method_missing magic. Check it out here. Provided by Amro Mousa.

Ruby on Railsacts_as_chimp – A stripped–down Rails plugin that provides a hook to add or remove a user to/from a MailChimp mailing list. Check it out here. Provided by Matthew Carlson.

Hominid is a gem that wraps the Mailchimp API so that you can easily work with it in Ruby or Rails. Check it out here. Provided by Brian Getting.

MonkeyWrench – MonkeyWrench is a rubyesque API for interfacing with MailChimp – the goal here was less to be a pure wrapper and more to give a more natural "ruby" feel to using the API Check it out here. Provided by Glenn Gillen.

mail_gorilla – A plugin for interacting with the MailChimp API to deal w/ some of the List Management and Campaign related functions. Check it out here. Provided by Kelly Mahan. 2010-11-15 – this does not appear to be under active development, use at your own risk

ruby_mailchimp – A simple gem that is designed to make it easy to integrate Ruby on Rails applications with MailChimp Check it out here. Provided by C.G. Brown. 2010-11-15 – this does not appear to be under active development, use at your own risk

acts_as_mailchimp – is a simple plugin for interacting with MailChimp based on the Hominid Gem. Inspired by the 'acts_as_chimp' plugin by MandarinSoda, this plugin makes it easy to add, remove and update mailing list information. Check it out here. Provided by Brian Getting. 2010-11-15 – this does not appear to be under active development, use at your own risk

Wordpress

MailChimp Framework WordPress Plugin – This plugin is designed to help developers easily integrate WordPress and MailChimp. It does not actually do any automatic integration, but it gives developers access to the full MailChimp API and also has a built in listener which processes MailChimp webhooks and converts them to WordPress actions you can easily use. Check it out here. Provided by Xavisys.

Example Code

The following are some full examples that you should be able to download, drop into a webserver directory, and make a few key edits. Look for the README files in them to get started. These are not full implementations and are simply provided to give you a base to start working from.

You may also want to check out the information on our

Can't find what you are looking for? Did you check out the Plugins & Integrations Directory as well?

Documentation

Export API

Simple Transactional Service (STS)

WebHooks