جلب الأرقام والنسب المشتقة v3
curl --request GET \
--url 'https://api.benzinga.com/api/v3/fundamentals/derived?token='import requests
url = "https://api.benzinga.com/api/v3/fundamentals/derived?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.benzinga.com/api/v3/fundamentals/derived?token=', 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.benzinga.com/api/v3/fundamentals/derived?token=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.benzinga.com/api/v3/fundamentals/derived?token="
req, _ := http.NewRequest("GET", url, nil)
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.benzinga.com/api/v3/fundamentals/derived?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.benzinga.com/api/v3/fundamentals/derived?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"ok": "true",
"data": []
}
Fundamentos de la empresa
Datos de cifras y ratios derivados
GET
/
api
/
v3
/
fundamentals
/
derived
جلب الأرقام والنسب المشتقة v3
curl --request GET \
--url 'https://api.benzinga.com/api/v3/fundamentals/derived?token='import requests
url = "https://api.benzinga.com/api/v3/fundamentals/derived?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.benzinga.com/api/v3/fundamentals/derived?token=', 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.benzinga.com/api/v3/fundamentals/derived?token=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.benzinga.com/api/v3/fundamentals/derived?token="
req, _ := http.NewRequest("GET", url, nil)
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.benzinga.com/api/v3/fundamentals/derived?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.benzinga.com/api/v3/fundamentals/derived?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"ok": "true",
"data": []
}
{
"ok": "true",
"data": []
}
Autorizaciones
Parámetros de consulta
قائمة بالرموز مفصولة بفواصل (مثل: AAPL, MSFT)
تاريخ بدء الاستعلام بتنسيق YYYY-MM-DD. القيم المدعومة: YYYY-MM-DD، YTD (منذ بداية العام)، 1MONTH/1m/1M (قبل شهر واحد)
تاريخ انتهاء الاستعلام بالصيغة YYYY-MM-DD. يُرجِع البيانات حتى هذا التاريخ بما في ذلك هذا اليوم.
عامل تصفية لنوع التقرير. القيم: TTM (آخر اثني عشر شهرًا)، A (كما تم الإبلاغ عنه)، R (معاد بيانه)، P (أولي)
Respuesta
بيانات القيم والنِّسَب المشتقة
The response is of type string.
¿Esta página le ayudó?