Skip to content

Marketstack#

The Marketstack node allows you to automate work in Marketstack, and integrate Marketstack with other applications. n8n has built-in support for a wide range of Marketstack features, including getting exchanges, end-of-day data, and tickers.

On this page, you'll find a list of operations the Marketstack node supports and links to more resources.

Credentials

Refer to Marketstack credentials for guidance on setting up authentication.

Examples and templates

For usage examples and templates to help you get started, take a look at n8n's Marketstack integrations list.

Basic operations#

  • End-of-Day Data
    • Get All
  • Exchange
    • Get
  • Ticker
    • Get

Example usage#

This workflow allows you to get the past week's end of day data for a desired stock symbol. This example usage workflow uses the following two nodes.

The final workflow should look like the following image.

A workflow with the Marketstack node

1. Start node#

The start node exists by default when you create a new workflow.

2. Marketstack node#

  1. First enter your credentials for the Marketstack node. You can find out how to do that here.
  2. Select End-of-Day Data from the Resource dropdown.
  3. The Get All Operation is selected by default.
  4. Enter your desired ticker symbol, AI in our example.
  5. Click the Add Filter button and select Timeframe Start Date > A Week Ago.
  6. Click the Add Filter button and select Timeframe End Date > Today.
  7. Click on Execute Node to run the workflow.

The Marketstack node