利用料金
10 コイン/回
クイックスタート
統一レスポンス形式のまま、バックエンドから直接呼び出せます。
https://openapi.toolkk.com/v1/fund-detailcURL 例
curl --request POST \
--url 'https://openapi.toolkk.com/v1/fund-detail' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: YOUR_API_KEY' \
--data '{\n "fundCode": "基金代码"\n}'Python 例
import os
import requests
url = "https://openapi.toolkk.com/v1/fund-detail"
payload = {
"fundCode": "基金代码"
}
headers = {
"Content-Type": "application/json",
"X-API-Key": os.getenv("TOOLKK_API_KEY", "YOUR_API_KEY"),
}
response = requests.request("POST", url, headers=headers, json=payload, timeout=30)
response.raise_for_status()
print(response.json())Go 例
package main
import (
"bytes"
"fmt"
"io"
"net/http"
)
func main() {
endpoint := "https://openapi.toolkk.com/v1/fund-detail"
payload := []byte("{\n \"fundCode\": \"基金代码\"\n}")
req, err := http.NewRequest("POST", endpoint, bytes.NewBuffer(payload))
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("X-API-Key", "YOUR_API_KEY")
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
body, err := io.ReadAll(resp.Body)
if err != nil {
panic(err)
}
fmt.Println(string(body))
}Java 例
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class ToolkkExample {
public static void main(String[] args) throws Exception {
String payload = "{\n \"fundCode\": \"基金代码\"\n}";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://openapi.toolkk.com/v1/fund-detail"))
.method("POST", HttpRequest.BodyPublishers.ofString(payload))
.header("Content-Type", "application/json")
.header("X-API-Key", "YOUR_API_KEY")
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}PHP 例
<?php
$endpoint = 'https://openapi.toolkk.com/v1/fund-detail';
$payload = "{\n \"fundCode\": \"基金代码\"\n}";
$ch = curl_init($endpoint);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => [
'Content-Type: application/json',
'X-API-Key: YOUR_API_KEY',
],
CURLOPT_POSTFIELDS => $payload,
]);
$response = curl_exec($ch);
if ($response === false) {
throw new RuntimeException(curl_error($ch));
}
curl_close($ch);
echo $response;レスポンス例
[
{
"birthday": "",
"gmtModified": 1722464822000,
"gender": "1",
"educationLevel": "硕士",
"background": " 张璐,男,中国籍,10年证券从业经历,上海交通大学硕士研究生XXXXXXX",
"name": "张璐",
"managerId": "101014393",
"gmtCreate": 1564740005000,
"incumbent": false
}
]例はレスポンスの構造を示しています。実際の結果はAPIの応答によって異なります。
- 認証方式
- リクエストヘッダーに X-API-Key を設定
- レート制限
- 毎分 60 回
- タイムアウト
- 5000 ms
サーバー側から呼び出す際は、X-API-Key ヘッダーに API Key を設定します。
HTTP ステータスと業務フィールドの両方で成功判定するのがおすすめです。
高頻度利用ではレート制限と再試行戦略を併用してください。
リクエスト項目
サーバーからリクエストを送信し、X-API-Keyヘッダーにキーを設定してください。
リクエスト項目
APIスキーマに基づく項目です。説明や例がない場合は未指定と表示します。
| パス | 型 | 必須 | 説明 | サンプル値 |
|---|---|---|---|---|
| fundCode | string | はい | 基金代码 | 未指定 |
リクエスト例
{
"fundCode": "基金代码"
}- 認証方式
- リクエストヘッダーに X-API-Key を設定
- レート制限
- 毎分 60 回
- タイムアウト
- 5000 ms
レスポンス項目
例はレスポンスの構造を示しています。実際の結果はAPIの応答によって異なります。
レスポンス項目
APIスキーマに基づく項目です。説明や例がない場合は未指定と表示します。
| パス | 型 | 必須 | 説明 | サンプル値 |
|---|---|---|---|---|
| [] | object | 未指定 | 未指定 | 未指定 |
| [].birthday | string | いいえ | 出生日期 | 未指定 |
| [].gmtModified | number | いいえ | 更新日期 | 1722464822000 |
| [].gender | string | いいえ | 性别:1男,2女 | 1 |
| [].educationLevel | string | いいえ | 最高学历 | 硕士 |
| [].background | string | いいえ | 背景介绍 | 张璐,男,中国籍,10年证券从业经历,上海交通大学硕士研究生XXXXXXX |
| [].name | string | いいえ | 姓名 | 张璐 |
| [].managerId | string | いいえ | 经理编号 | 101014393 |
| [].gmtCreate | number | いいえ | 任职日期 | 1564740005000 |
| [].incumbent | boolean | いいえ | 离职状态:在职false,离职true | false |
レスポンス例
[
{
"birthday": "",
"gmtModified": 1722464822000,
"gender": "1",
"educationLevel": "硕士",
"background": " 张璐,男,中国籍,10年证券从业经历,上海交通大学硕士研究生XXXXXXX",
"name": "张璐",
"managerId": "101014393",
"gmtCreate": 1564740005000,
"incumbent": false
}
]APIの概要
機能、利用シーン、制約、よくある質問。
インターフェースの紹介
このインターフェイスは、ファンド コードに基づいてファンド マネージャーの基本的なデータ クエリ サービスを提供します。ターゲットファンドの一意のコードを入力すると、システムは名前、性別、最高学歴、職歴紹介、入社日、現在の雇用状況などの構造化データを含む、ファンドの現在または以前のマネージャーの詳細なファイルを返します。
該当するシナリオ
- 金融端末表示: 財務管理アプリまたはウェブサイトでファンド商品の管理チームの詳細を表示します。
- 投資調査データ分析: ファンドマネージャーの勤務年数、学歴分布、業績相関関係を定量的に分析します。
- コンプライアンスとリスク管理のレビュー: ファンド マネージャーの身元背景と現在の正当性を迅速に検証します。
リクエストと返品の手順
- リクエスト方法: POST
- コアパラメータ:
fundCode(文字列、必須)、ターゲットファンドの 6 桁のコードです。 - 戻り結果: マネージャー オブジェクトを含む JSON 配列。主なフィールドには、
name(名前)、educationLevel(教育レベル)、background(経歴紹介)、gmtCreate(雇用タイムスタンプ)、incumbent(雇用の有無) などが含まれます。