Get Funds
curl --request POST \
--url https://api.aisa.one/apis/v1/twelvedata/get-funds \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"format": "JSON",
"symbol": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/twelvedata/get-funds"
payload = {
"format": "JSON",
"symbol": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({format: 'JSON', symbol: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/twelvedata/get-funds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/twelvedata/get-funds",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'format' => 'JSON',
'symbol' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/twelvedata/get-funds"
payload := strings.NewReader("{\n \"format\": \"JSON\",\n \"symbol\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/twelvedata/get-funds")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"format\": \"JSON\",\n \"symbol\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/twelvedata/get-funds")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"format\": \"JSON\",\n \"symbol\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"result": {
"count": 123,
"list": [
{
"country": "<string>",
"currency": "<string>",
"exchange": "<string>",
"mic_code": "<string>",
"name": "<string>",
"symbol": "<string>",
"type": "<string>",
"access": {
"global": "<string>",
"plan": "<string>"
},
"cfi_code": "<string>",
"cusip": "<string>",
"figi_code": "<string>",
"isin": "<string>"
}
]
},
"status": "<string>"
}Twelve Data
Get Funds
Get Funds
POST
https://api.aisa.one
/
apis
/
v1
/
twelvedata
/
get-funds
Get Funds
curl --request POST \
--url https://api.aisa.one/apis/v1/twelvedata/get-funds \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"format": "JSON",
"symbol": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/twelvedata/get-funds"
payload = {
"format": "JSON",
"symbol": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({format: 'JSON', symbol: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/twelvedata/get-funds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/twelvedata/get-funds",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'format' => 'JSON',
'symbol' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/twelvedata/get-funds"
payload := strings.NewReader("{\n \"format\": \"JSON\",\n \"symbol\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/twelvedata/get-funds")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"format\": \"JSON\",\n \"symbol\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/twelvedata/get-funds")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"format\": \"JSON\",\n \"symbol\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"result": {
"count": 123,
"list": [
{
"country": "<string>",
"currency": "<string>",
"exchange": "<string>",
"mic_code": "<string>",
"name": "<string>",
"symbol": "<string>",
"type": "<string>",
"access": {
"global": "<string>",
"plan": "<string>"
},
"cfi_code": "<string>",
"cusip": "<string>",
"figi_code": "<string>",
"isin": "<string>"
}
]
},
"status": "<string>"
}Request contract
- Method and path: POST /apis/v1/twelvedata/get-funds
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/twelvedata/get-funds
{
"operationId": "twelvedata.get-funds",
"method": "POST",
"path": "/apis/v1/twelvedata/get-funds",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"cik": {
"description": "The CIK (Central Index Key) of an instrument for which data is requested (e.g., '95953').",
"examples": [
"95953"
],
"type": "string"
},
"country": {
"description": "Filter by country name or alpha code, e.g., 'United States' or 'US'.",
"examples": [
"United States",
"US"
],
"type": "string"
},
"cusip": {
"description": "The CUSIP of an instrument for which data is requested. CUSIP access is activated in the Data add-ons section (e.g., '594918104').",
"examples": [
"594918104"
],
"type": "string"
},
"exchange": {
"description": "Filter by exchange name (e.g., 'Nasdaq').",
"examples": [
"Nasdaq"
],
"type": "string"
},
"figi": {
"description": "Filter by financial instrument global identifier (FIGI). Available starting with the Ultra plan (e.g., 'BBG000BHTMY7').",
"examples": [
"BBG000BHTMY7"
],
"type": "string"
},
"format": {
"description": "The format of the response data. Only JSON is supported.",
"enum": [
"JSON"
],
"type": "string"
},
"isin": {
"description": "Filter by international securities identification number (ISIN). ISIN access is activated in the Data add-ons section (e.g., 'US0378331005').",
"examples": [
"US0378331005"
],
"type": "string"
},
"outputsize": {
"description": "Determines the number of data points returned in the output. Default is 5000.",
"examples": [
5000
],
"minimum": 1,
"type": "integer"
},
"page": {
"description": "Page number of the results to fetch. Default is 1.",
"examples": [
1
],
"minimum": 1,
"type": "integer"
},
"show_plan": {
"description": "Adds information on which plan the symbol is available. When true, each fund includes an 'access' object with plan details.",
"type": "boolean"
},
"symbol": {
"description": "The ticker symbol of an instrument for which data is requested (e.g., 'FXAIX').",
"minLength": 1,
"pattern": "^[^,]+$",
"type": "string"
}
},
"required": [
"format",
"symbol"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. A price estimate is not currently available. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json