Skip to main content
Use Marketstack through Corsair: one client, typed API calls, local DB sync. This plugin calls Marketstack’s v2 API over HTTPS (https://api.marketstack.com/v2), since every request carries your access_key as a query parameter. HTTPS is available on every Marketstack plan, including free — no paid plan is required. What you get:
  • 10 typed API operations
  • 6 synced entities (currencies, dividends, eodBars, exchanges, splits, tickers) for fast .search() / .list()

Setup

1

Install

2

Add the plugin

corsair.ts
Multi-tenancy is the default — scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

currencies.list
Write No write-style endpoint inferred; pick any operation from the API reference. See the full list on the API page.

Query synced data

Synced entities support tenant.marketstack.db.<entity>.search() and .list(): currencies, dividends, eodBars, exchanges, splits, tickers. See Database for filters and operators.

What’s next

API reference

Every marketstack.api.* operation with input and output types.

Database

Synced entities, search filters, and operators.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.