Twelve Data Get Forex Pairs
0.5 credits/call
ae_twelvedata_get_forex_pairs
Find available foreign exchange currency pairs from Twelve Data. Filter by base currency, quote currency, or symbol.
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 |
|---|---|---|---|---|
page | integer | No | Zero-based page index when outputsize is provided: 0 is the first page, 1 is the second page, and so on. Use page together with outputsize for pagination. For an exact single-symbol lookup, omit pagination unless needed. | 0 |
format | enum (JSON | CSV) | No | The format of the response data | JSON |
symbol | string | No | The ticker symbol of an instrument for which data is requested | — |
delimiter | string | No | The separator used in the CSV response data | ; |
outputsize | integer | No | Number of records per page. Combine with page=0 for the first page, then page=1, page=2, etc. Page and outputsize are not mutually exclusive. If omitted, all matching available records may be returned. | — |
currency_base | string | No | Filter by currency base | — |
currency_quote | string | No | Filter by currency quote | — |
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_forex_pairs' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"symbol": "EUR/USD"
}
}'Response exampleresponse.json
{
"count": 1,
"data": [
{
"currency_base": "Euro",
"currency_group": "Major",
"currency_quote": "US Dollar",
"symbol": "EUR/USD"
}
],
"status": "ok"
}
