Twelve Data Get Price
0.5 credits/call
ae_twelvedata_get_price
Get the latest available market price for a financial instrument from Twelve Data.
0.5 credits/call
Pricing
0.5 credits/call
| Condition | Charge |
|---|---|
| Each call | 0.5 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
dp | integer | No | Specifies the number of decimal places for floating values. Should be in range [0,11] inclusive | 5 |
isin | string | Conditional | ISIN of the instrument. Use a real non-empty identifier; if this instrument is unavailable by ISIN, resolve its ticker symbol first. | — |
type | enum (American Depositary Receipt | Bond | Bond Fund | Closed-end Fund | Common Stock | Depositary Receipt | Digital Currency | ETF | Exchange-Traded Note | Global Depositary Receipt | Limited Partnership | Mutual Fund | Physical Currency | Preferred Stock | REIT | Right | Structured Product | Trust | Unit | Warrant) | No | The asset class to which the instrument belongs | — |
cusip | string | Conditional | CUSIP of the instrument. Use a real non-empty identifier; if this instrument is unavailable by CUSIP, resolve its ticker symbol first. | — |
format | enum (JSON | CSV) | No | Value can be JSON or CSV | JSON |
symbol | string | Conditional | Ticker symbol of the instrument, for example AAPL, EUR/USD or ETH/BTC. Use a real non-empty symbol; a supported ISIN or CUSIP may be used instead when this endpoint accepts it. | — |
country | string | No | Country where instrument is traded, e.g., `United States` or `US` | — |
exchange | string | No | Exchange where instrument is traded | — |
mic_code | string | No | Market Identifier Code (MIC) under ISO 10383 standard | — |
delimiter | string | No | Specify the delimiter used when downloading the CSV file | ; |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_twelvedata_get_price' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"dp": 6,
"symbol": "ADA/USD",
"type": "Digital Currency"
}
}'Response exampleresponse.json
{
"price": "0.174300"
}Guides using this tool
See how this tool fits into real workflows

