Skip to main content
Integrations · Twelve Data
A Guild agent can query live and historical market data, company fundamentals, and analyst intelligence through Twelve Data without handling credentials directly. Guild stores the API key server-side and injects it into every request through its credential proxy, so agent code never sees the secret. Credential policies let you restrict which operations each agent can call, and every request is logged for audit.

Book a demo

See how teams govern agents that use Twelve Data.

Talk to sales

Get access to Guild, then connect Twelve Data to your first agent.

What the Twelve Data tools cover

The tools span market data, fundamentals, and reference data. On the market side, agents can fetch real-time quotes, end-of-day prices, time series, exchange rates, currency conversion, market movers, and market state. On the fundamentals side, tools cover income statements, balance sheets, cash flow, earnings, EPS trends, insider transactions, institutional holders, and EDGAR filings. Reference and metadata tools return available symbols, exchanges, intervals, instrument types, and sanctions entity lists.

How it works

1

Connect your Twelve Data key

In Guild, go to Access & setup > Credentials, click Connect, select twelvedata, and paste the key into API Key. Guild stores it and injects it as Authorization: apikey <key> on every request.
2

Scope the credential

By default a credential serves every workspace the account owns. Use the Credentials page to scope it to one workspace, one member, or a single agent.
3

Add tools to your agent

Import TwelvedataTools from the guildai~twelvedata package and spread it into your agent’s tools object. Use pick() to include only the tools your agent needs.

Why Twelve Data access needs governing

Financial market data can feed automated trading signals, compliance checks, or client-facing reports. An agent with unconstrained access to all tools on a shared credential could call batch endpoints, pull insider transaction records, or retrieve EDGAR filings beyond the scope its task requires. Credential policies let you write ALLOW and DENY rules that Guild’s credential proxy enforces before any request leaves Guild, limiting agents by operation name or wildcard pattern. A rule scoped to specific agents or workspaces keeps one team’s research agent separate from another team’s pricing agent on the same credential. Guild injects the API key server-side only after the policy check passes, so agent code never sees the key and cannot bypass rules. You can also restrict a workspace to credentials scoped to that workspace alone, preventing account-wide credentials from serving agents there. That separation keeps access to sensitive financial data narrow by default, and audit records show exactly which operations each agent called.

About the Twelve Data integration

Agents can retrieve real-time and historical market data for stocks, forex, crypto, ETFs, mutual funds, and other instruments. They can access company fundamentals such as income statements, balance sheets, earnings, and insider transactions. Agents can also look up analyst ratings, price targets, and growth estimates across global markets. The integration is guildai~twelvedata.

Authentication

  • Type: API key
  • Header: Guild sends the key as Authorization: apikey <key>

Setup

1

Connect Twelve Data

In Guild, go to Access & setup > Credentials, click Connect, select twelvedata, and paste the key into API Key.
See Credentials for workspace, member, and agent-scoped credentials.

Usage

Selecting specific tools

Tools are named with the twelvedata_ prefix. Use pick() to include only what your agent needs.

Tools

Tools in the latest published version of guildai~twelvedata:

Frequently asked questions

Yes. Write a credential policy with an ALLOW rule listing the quote and price operations and a DENY rule covering twelvedata_get_insider_transactions. Guild’s credential proxy enforces the rules before any request reaches Twelve Data. See Credential policies for syntax.
No. Guild stores the key and adds it to outbound requests server-side through its credential proxy. Agent code receives only the tool results, never the credential itself.
Yes. Connect an account-scoped credential for the default and then connect a workspace-scoped credential in any workspace that needs a different key. Guild picks the most specific credential in scope when an agent makes a call.
Not through these tools. The catalog entry lists no webhook events for this integration, so agents pull data by calling tools rather than receiving pushed updates.

Put a governed agent on Twelve Data this week

Book a demo

See how teams govern agents that use Twelve Data.

Talk to sales

Get access to Guild, then connect Twelve Data to your first agent.
Also runs on Guild: Airtable · AssemblyAI · BigQuery · Chroma Read: Docs: Credential policies · Credentials · Tools in agents
Last modified on November 25, 2026