Spiral gives your agent every tool with one account. Browse the tools →

dots · Finance

How to Use Twelve Data market quote in dots

Returns a price snapshot with open, high, low, close, price change, 52-week metrics, and volume where available. Use it to explain a market move or compare the latest price with the session range.

Prompts to try with Twelve Data market quote in dots

Copy an example into dots, or ask in your own words.

Every weekday at noon Eastern, use Twelve Data market quote for MSFT on NASDAQ and summarize its session range and percentage change.

Twelve Data market quotedots
Try asking
  • Every Monday at 9am: use Twelve Data market quote to look this up and give me the result as a table.

  • Pull the latest numbers from Twelve Data market quote and tell me what changed since last week.

  • Check Twelve Data market quote and summarize what you find in three bullet points.

  • Pull the newest data from Twelve Data market quote and give me the result as a table.

How to set up Twelve Data market quote in dots

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send dots this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create an API key

    In the console, open API keys and create a key for your dot. Copy it.

  2. Send your dot this message

    Your dot reads Spiral's skill and asks for your API key.

    set up https://spiral.ai/SKILL.md
  3. Give your dot the key

    When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Twelve Data market quote

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "twelvedata/prices/quote",
        "input": {
          "symbol": "<symbol>"
        }
      }'

Then paste one of the prompts above: dots finds Twelve Data market quote on Spiral, shows the price and runs it.

Twelve Data market quote providers and prices

Spiral runs Twelve Data market quote through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
Twelve Data · Quote
twelvedata/prices/quote

Settings you can ask for

Ask dots for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Dp0 to 11

Decimal places from 0 to 11. Default 5.

Eodon or off

When true, return the closed session instead of the live bar. Default false.

TypeAmerican Depositary Receipt, Bond, Bond Fund, Closed-end Fund, Common Stock, Depositary Receipt, Digital Currency, ETF and 12 more

Asset class, used to disambiguate a ticker.

Preposton or off

Include US equity pre-market and post-market data. Twelve Data limits this to Pro and Venture plans and above, at 1min, 5min, 15min, and 30min. Default false.

Interval1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h and 4 more

Bar size. Defaults to 1day when omitted.

Rolling period1 to 168

Hours for the crypto rolling change. Integer from 1 to 168. Default 24.

Volume time period1 to 10000

Periods used for average volume. The published default is 9. No maximum is published; values above 10000 are refused here.

Every API field of Twelve Data · Quote is on its tool page: open its card above.

What can you do with Twelve Data market quote in dots?

Produce a recurring internal market check for a stock, currency pair, or cryptocurrency using Twelve Data. A scheduled agent can compare successive price observations, summarize session statistics, or calculate changes from historical closes.

Check an internal stock watchlist

Compare AAPL and MSFT using their latest prices, session snapshots, or recent historical closes. Calculate which moved more over the period represented by the retrieved data.

Monitor currency exposure

Use EUR/USD prices to estimate the dollar value of a euro-denominated business balance. Choose a latest reading, a session snapshot, or historical closes for a retrospective valuation.

Flag cryptocurrency price thresholds

Check whether BTC/USD crosses a chosen threshold using the latest price, a quote snapshot, or completed historical bars. Report which observation triggered the flag.

Value a hypothetical portfolio

Calculate the value of hypothetical AAPL, MSFT, and SPY positions using current prices or historical closes. Show each position's contribution and the observation period used.

Explain a stock's trading range

Use a quote's session and 52-week metrics to place AAPL's price in context, or calculate ranges from historical bars for a chosen period.

Questions about Twelve Data market quote in dots

Can dots use Twelve Data market quote?

Yes. Add Spiral to dots as an MCP server, and dots can find and run Twelve Data market quote like any built-in tool.

How much does Twelve Data market quote cost in dots?

Up to $0.17459 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your dots plan is separate.

Do I need an Alexandria account to use Twelve Data market quote in dots?

You need no Alexandria account. dots uses one Spiral API key for every tool, and Spiral runs Twelve Data market quote on its own Alexandria account.

How long does it take to set up Twelve Data market quote in dots?

About two minutes: create an API key, then send your dot this message, then give your dot the key.

Does dots wait while Twelve Data market quote runs?

Twelve Data market quote runs in the background. dots starts the run, checks on it and gives you the json when it's ready.

Does Twelve Data's US stock feed represent the whole market?

Its default real-time feed covers listed US equities, but the contributing venues represent approximately 5% of total US trading volume. OTC securities require separate licensing.

When is US end-of-day data available?

Twelve Data says US historical and end-of-day data becomes available after midnight Eastern Time on the next trading day following market close.

How much historical data does Twelve Data provide?

Daily equity history can extend to the first trading date, while intraday history typically spans months to years depending on the instrument. Historical requests return at most 5,000 data points each.

Why can Twelve Data prices differ from another chart?

Twelve Data derives intraday bars from tick-level data and says aggregation differences can produce different values across sources and brokers. Its default US real-time feed also represents approximately 5% of trading volume.

Can I redistribute Twelve Data prices to customers?

Twelve Data's terms require express authorization through redistribution rights or a separate written agreement for external display or redistribution. Receiving prices does not itself grant publication rights.

Get started

Start using Twelve Data market quote in dots

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into dots:

Set up dots

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options