Interactive API Clients

By Fastly


A Perl module for accessing the Fastly API is available from GitHub and CPAN.

Install it by running: cpan install Net::Fastly


A Python based client can be found at GitHub.


If you're using Ruby, you can use the Fastly gem to access the API. It's available from GitHub and Rubygems.org.

Install it by running: gem install fastly

3rd party

In addition to the above clients written by Fastly, our awesome community has also created some tools and connectors in other languages. And now a message to make the lawyers happy:

Fastly makes no warranty on third-party software. We assume no responsibility for errors or omissions in the third-party software or documentation available. Using such software is done entirely at your own discretion and risk.


The folks at the UK Government Digital Services created a utility to configure the Fastly CDN from version-controllable VCL and YAML files using Fastly's API. Find it on their GitHub.


Thanks to Seth at HashiCorp who created a Go library for the Fastly API. It's available on GitHub.


Big props to the people at Yesware who created a Grunt plugin to purge cache from Fastly. It's available on npmjs.com and at GitHub.


Thanks to Patricio at Split.io who created a Java library for the Fastly API. It's available on GitHub.


A big ole' HT to Jeremiah of FitBit for the Node.js client. Information can be found at npmjs.org and the GitHub repo.

Install it by running: npm install fastly.


The creative people at Zebrafish Labs (That's the awesome team behind imgIX) has created an additional python client, available on their GitHub.


Our friends across the pond at The Guardian have created a Scala client, and can be found on their GitHub.