Skip to content
A sample nodejs script to access Mashape APIs
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This is a sample nodejs script to access Mashape using REST.  It's accessing the bitly API.

You would need to put in a Mashape authorization header to get this to work.  For that, you need to sign up for a Mashape account at 

You can get the header from the Mashape REST docs at

Get your Bitly key - refer to the "Authentication Settings" at for the links to get your key.

Send your questions to  Enjoy!
Something went wrong with that request. Please try again.