# Send Twelve Data Market API to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "twelve-data",
    "name": "Twelve Data Market API",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/softtrymee/twelve-data",
    "canonicalUrl": "https://clawhub.ai/softtrymee/twelve-data",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/twelve-data",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=twelve-data",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "twelve-data",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-10T06:30:01.095Z",
      "expiresAt": "2026-05-17T06:30:01.095Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=twelve-data",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=twelve-data",
        "contentDisposition": "attachment; filename=\"twelve-data-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "twelve-data"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/twelve-data"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/twelve-data",
    "downloadUrl": "https://openagent3.xyz/downloads/twelve-data",
    "agentUrl": "https://openagent3.xyz/skills/twelve-data/agent",
    "manifestUrl": "https://openagent3.xyz/skills/twelve-data/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/twelve-data/agent.md"
  }
}
```
## Documentation

### Twelve Data

This skill provides practical request patterns for Twelve Data based on official docs.

Official docs:

https://twelvedata.com/docs
https://support.twelvedata.com/en/articles/5620512-how-to-create-a-request
https://support.twelvedata.com/en/articles/5335783-trial

### Base URLs

REST API: https://api.twelvedata.com
WebSocket: wss://ws.twelvedata.com

### Authentication

Twelve Data supports two auth methods:

Query parameter

curl "https://api.twelvedata.com/price?symbol=AAPL&apikey=${TWELVEDATA_API_KEY}"

HTTP header (recommended by docs)

curl -H "Authorization: apikey ${TWELVEDATA_API_KEY}" \\
  "https://api.twelvedata.com/price?symbol=AAPL"

Notes:

apikey=demo can be used for limited trial/demo requests.
Premium endpoints require higher-tier plans.

### Quick Setup

Configure in OpenClaw:

{
  skills: {
    entries: {
      "twelve-data": {
        enabled: true,
        apiKey: "your-twelvedata-api-key",
        env: {
          TWELVEDATA_API_KEY: "your-twelvedata-api-key"
        }
      }
    }
  }
}

Or in ~/.openclaw/.env:

TWELVEDATA_API_KEY=your-api-key-here

### 1) Latest price (/price, 1 credit/symbol)

curl "https://api.twelvedata.com/price?symbol=AAPL&apikey=${TWELVEDATA_API_KEY}"

### 2) Real-time quote (/quote, 1 credit/symbol)

curl "https://api.twelvedata.com/quote?symbol=AAPL&apikey=${TWELVEDATA_API_KEY}"

### 3) Historical OHLCV (/time_series, 1 credit/symbol)

curl "https://api.twelvedata.com/time_series?symbol=AAPL&interval=1day&outputsize=100&apikey=${TWELVEDATA_API_KEY}"

Common interval values: 1min, 5min, 15min, 30min, 1h, 2h, 4h, 1day, 1week, 1month

Useful params:

outputsize=1..5000
start_date=YYYY-MM-DD or datetime
end_date=YYYY-MM-DD or datetime
timezone=Exchange|UTC|IANA_TZ
format=JSON|CSV

### 4) Symbol discovery (/symbol_search, 1 credit/request)

curl "https://api.twelvedata.com/symbol_search?symbol=apple&apikey=${TWELVEDATA_API_KEY}"

### 5) Technical indicators (typically 1 credit/symbol)

RSI:

curl "https://api.twelvedata.com/rsi?symbol=AAPL&interval=1day&time_period=14&series_type=close&apikey=${TWELVEDATA_API_KEY}"

MACD:

curl "https://api.twelvedata.com/macd?symbol=AAPL&interval=1day&series_type=close&apikey=${TWELVEDATA_API_KEY}"

### 6) Fundamentals (plan-gated, higher credits)

Earnings (/earnings, Grow+):

curl "https://api.twelvedata.com/earnings?symbol=AAPL&apikey=${TWELVEDATA_API_KEY}"

Statistics (/statistics, Pro+):

curl "https://api.twelvedata.com/statistics?symbol=AAPL&apikey=${TWELVEDATA_API_KEY}"

Income statement (/income_statement, Pro+):

curl "https://api.twelvedata.com/income_statement?symbol=AAPL&apikey=${TWELVEDATA_API_KEY}"

Balance sheet (/balance_sheet, Pro+):

curl "https://api.twelvedata.com/balance_sheet?symbol=AAPL&apikey=${TWELVEDATA_API_KEY}"

Cash flow (/cash_flow, Pro+):

curl "https://api.twelvedata.com/cash_flow?symbol=AAPL&apikey=${TWELVEDATA_API_KEY}"

Dividends:

curl "https://api.twelvedata.com/dividends?symbol=AAPL&start_date=1970-01-01&apikey=${TWELVEDATA_API_KEY}"

### Batch and Multi-Asset Examples

Batch symbols on supported endpoints:

curl "https://api.twelvedata.com/time_series?symbol=AAPL,EUR/USD,ETH/BTC:Huobi&interval=1min&apikey=${TWELVEDATA_API_KEY}"

Asset symbol patterns:

Stocks: AAPL
Forex: EUR/USD
Crypto: BTC/USD or exchange-scoped pair like ETH/BTC:Huobi

### WebSocket (Streaming)

Connect:

wss://ws.twelvedata.com/v1/quotes/price?apikey=YOUR_API_KEY

Subscribe message:

{
  "action": "subscribe",
  "params": {
    "symbols": "AAPL,MSFT"
  }
}

### Reliability Guidance

Always handle null values in responses.
Implement retry/backoff for transient failures and 429 rate limits.
Cache frequent reads to reduce credit usage.
Check your current credit/rate limits in Twelve Data dashboard (plan-dependent).

### Skill Usage Workflow

When user asks for market data analysis:

Resolve symbol with /symbol_search if ambiguous.
Pull latest context with /price or /quote.
Pull history with /time_series for selected interval/date range.
Add indicators (/rsi, /macd, etc.) if technical analysis is requested.
Add fundamentals endpoints only when user asks for financial statements or valuation context.
Report endpoint, parameters, and plan limits clearly in output.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: softtrymee
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-10T06:30:01.095Z
- Expires at: 2026-05-17T06:30:01.095Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/twelve-data)
- [Send to Agent page](https://openagent3.xyz/skills/twelve-data/agent)
- [JSON manifest](https://openagent3.xyz/skills/twelve-data/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/twelve-data/agent.md)
- [Download page](https://openagent3.xyz/downloads/twelve-data)