Skip to content

Twelve Data API and MCP

Twelve Data provides stock, forex and cryptocurrency prices, time series and technical indicators. An agent can read quotes and price time series for market research. Add your Twelve Data key once in Longwave settings; calls run on your vendor account.

Add to Longwave

Add Twelve Data to your agent

Paste this into Claude Code or a terminal. Then run /mcp to sign in.

functions
4
access
Your key
tasks
4

Use Twelve Data on Longwave

  1. Download Longwave or open app.longwave.run.
  2. Add your Twelve Data API key once in Longwave settings. Calls run on your Twelve Data account at Twelve Data's price.
  3. Ask for the result in any thread, for example: “Read a quote for a market brief”. The agent picks the Twelve Data function and calls it.

Use Twelve Data in Claude Code, Codex, Cursor or ChatGPT

Add the Longwave MCP server once. It carries 2,593 functions across 103 tools, including Twelve Data, and asks you to sign in on first use.

Why call Twelve Data through Longwave

  • Your Twelve Data key is stored once, encrypted, and used by every harness and device you use.
  • One MCP server for 103 tools, so your agent setup does not grow a key and a server per vendor.
  • Spending limits per key and per account, checked before a paid call is made.
  • Each call is recorded with the provider, the cost and the result, and can be read again from another device.

Twelve Data functions

Every function here: Included in the applicable market-data subscription or free quota; entitlement and usage limits vary by endpoint. No standalone PAYG unit rate published. Included in the applicable market-data subscription or free quota; entitlement and usage limits vary by endpoint. No standalone PAYG unit rate published.

Function
Get a financial instrument quote Accepts a ticker symbol and returns the latest quote for a financial instrument. twelvedata.quote
Get the latest financial instrument price Accepts a ticker symbol and returns the latest price for a financial instrument. twelvedata.price
Get daily financial instrument price bars Accepts a ticker symbol and returns daily price bars for a financial instrument. twelvedata.time-series
Search financial instrument symbols Accepts a ticker symbol and returns instrument symbols matching the search term. twelvedata.symbols.search

Prices are Twelve Data's published rates. Source: Twelve Data pricing.

Use cases

Questions people ask

How do I get a Twelve Data API key?

Sign in to Twelve Data and create a key at twelvedata.com/account/api-keys. Add it once in Longwave settings and your agents' Twelve Data calls run on your own account. Twelve Data API keys

Does Twelve Data offer a free API allowance?

Twelve Data publishes this allowance: 8 API credits per minute, up to 800 per day. The allowance applies to the vendor account used for the call. Twelve Data pricing

Do I need a Twelve Data account?

Yes. Create a key at https://twelvedata.com/account/api-keys and add it in Longwave settings. Longwave stores it encrypted and uses it only for your calls.

How do I use Twelve Data in Claude Code?

Add the Longwave MCP server once with claude mcp add --transport http longwave https://api.longwave.run/v1/mcp/tasks, sign in, and ask for what you need. Claude finds the right Twelve Data function and calls it.

Use Twelve Data in Longwave

Ask any Longwave thread for the result, or add Longwave to Claude Code, Codex, Cursor or ChatGPT.

Add to Longwave