Quickstart
This guide will get you all set up and ready to use the Stack API. We'll cover how to get started using our Node.js client and how to make your first API request. We'll also look at where to go next to find all the information you need to take full advantage of our powerful REST API.
Before you can make requests to the Stack API, you will need to grab your API key from your dashboard. You can find it under Settings » API.
Choose your client
At this time, Stack offers a Node.js client for API integration. Below is how to install it using npm.
# cURL is most likely already installed on your machine
curl --version
Making your first API request
After installing the Stack Node.js client, you're ready to make your first call to the Stack API. Below, you can see how to send a request to the atm location endpoint to get nearby atm locations based on a provided zipcode.
curl --location 'https://api.stack-ft.com/utilities/atm/allpoint' \
--header 'Authorization: your-api-key' \
--header 'Content-Type: application/json' \
--data '{
"zipcode": "20705"
}'
What's next?
Great, you're now set up with the Node.js client and have made your first request to the API. Here are a few links that might be handy as you explore further into the Stack API: