公司资料
curl --request GET \
--url https://api.tickdb.ai/v1/fundamentals/profile \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.tickdb.ai/v1/fundamentals/profile"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.tickdb.ai/v1/fundamentals/profile', 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.tickdb.ai/v1/fundamentals/profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tickdb.ai/v1/fundamentals/profile"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tickdb.ai/v1/fundamentals/profile")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tickdb.ai/v1/fundamentals/profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": 0,
"data": {
"symbol": "<string>",
"name": "<string>",
"market": "<string>",
"company_name": "<string>",
"region": "<string>",
"founded": "<string>",
"listing_date": "2023-12-25",
"year_end": "<string>",
"address": "<string>",
"office_address": "<string>",
"phone": "<string>",
"email": "<string>",
"website": "<string>",
"employees": 123,
"chairman": "<string>",
"manager": "<string>",
"secretary": "<string>",
"legal_repr": "<string>",
"accounting_firm": "<string>",
"legal_counsel": "<string>",
"category": "<string>",
"profile": "<string>"
}
}公司概况
公司资料
获取公司的基本资料、所属市场、行业和上市信息。
GET
/
v1
/
fundamentals
/
profile
公司资料
curl --request GET \
--url https://api.tickdb.ai/v1/fundamentals/profile \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.tickdb.ai/v1/fundamentals/profile"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.tickdb.ai/v1/fundamentals/profile', 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.tickdb.ai/v1/fundamentals/profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tickdb.ai/v1/fundamentals/profile"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tickdb.ai/v1/fundamentals/profile")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tickdb.ai/v1/fundamentals/profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": 0,
"data": {
"symbol": "<string>",
"name": "<string>",
"market": "<string>",
"company_name": "<string>",
"region": "<string>",
"founded": "<string>",
"listing_date": "2023-12-25",
"year_end": "<string>",
"address": "<string>",
"office_address": "<string>",
"phone": "<string>",
"email": "<string>",
"website": "<string>",
"employees": 123,
"chairman": "<string>",
"manager": "<string>",
"secretary": "<string>",
"legal_repr": "<string>",
"accounting_firm": "<string>",
"legal_counsel": "<string>",
"category": "<string>",
"profile": "<string>"
}
}套餐权限
| 套餐 | 可用 |
|---|---|
| 免费版 | ❌ |
| 基础版 | ✅ |
| 专业版 | ✅ |
| 全量套餐(A 股、港股、美股) | ✅ |
| 企业版 | ✅ |
注意事项
- 部分资料字段可能为空字符串或
null;不要把缺失值当作“无”。
支持的市场
| 市场 | 示例 |
|---|---|
| 美股 | AAPL.US |
| 港股 | 700.HK |
| A股 | 600519.SH |
请求参数
| 参数 | 是否必须 | 说明 |
|---|---|---|
symbol | 是 | 股票代码 |
type | 否 | 产品类型,当前支持 stock |
请求示例
curl -H "X-API-Key: YOUR_API_KEY" \
"https://api.tickdb.ai/v1/fundamentals/profile?symbol=AAPL&type=stock"
返回字段说明
以下列出data 中的字段;外层 code=0 表示成功。
| 字段 | 说明 |
|---|---|
| symbol | 标准化股票代码。 |
| market | 所属市场。 |
| region | 所属地区。 |
| company_name | 公司全称。 |
| name | 展示名称。 |
| profile | 公司业务简介。 |
| address | 地址。 |
| office_address | 办公地址。 |
| phone | 联系电话。 |
| 电子邮箱。 | |
| website | 公司网站。 |
| founded | 成立年份或日期;无数据时为 null。 |
| listing_date | 上市日期,格式 YYYY-MM-DD;可能为 null。 |
| year_end | 财年结束信息;可能为 null。 |
| employees | 员工人数。 |
| chairman | 董事长。 |
| manager | 主要管理人员。 |
| secretary | 公司秘书。 |
| legal_repr | 法定代表人。 |
| accounting_firm | 会计师事务所。 |
| legal_counsel | 法律顾问。 |
| category | 公司类别。 |
