curl --request GET \
--url 'https://api.benzinga.com/api/v1/erx-gaps?token='import requests
url = "https://api.benzinga.com/api/v1/erx-gaps?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.benzinga.com/api/v1/erx-gaps?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/v1/erx-gaps?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/v1/erx-gaps?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/v1/erx-gaps?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.benzinga.com/api/v1/erx-gaps?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": false,
"errors": [
{
"code": "auth_failed",
"id": "unauthorized",
"value": "認証トークンが無効であるか、指定されていません"
}
]
}
{
"ok": false,
"errors": [
{
"code": "no_data_found",
"id": "not_found",
"value": "指定されたパラメータに該当するデータが見つかりませんでした"
}
]
}
{
"ok": false,
"errors": [
{
"code": "internal_server_error",
"id": "server_error",
"value": "リクエストの処理中に予期しないエラーが発生しました"
}
]
}
ERX ギャップ
curl --request GET \
--url 'https://api.benzinga.com/api/v1/erx-gaps?token='import requests
url = "https://api.benzinga.com/api/v1/erx-gaps?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.benzinga.com/api/v1/erx-gaps?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/v1/erx-gaps?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/v1/erx-gaps?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/v1/erx-gaps?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.benzinga.com/api/v1/erx-gaps?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": false,
"errors": [
{
"code": "auth_failed",
"id": "unauthorized",
"value": "認証トークンが無効であるか、指定されていません"
}
]
}
{
"ok": false,
"errors": [
{
"code": "no_data_found",
"id": "not_found",
"value": "指定されたパラメータに該当するデータが見つかりませんでした"
}
]
}
{
"ok": false,
"errors": [
{
"code": "internal_server_error",
"id": "server_error",
"value": "リクエストの処理中に予期しないエラーが発生しました"
}
]
}
{}
{
"ok": false,
"errors": [
{
"code": "auth_failed",
"id": "unauthorized",
"value": "認証トークンが無効であるか、指定されていません"
}
]
}
{
"ok": false,
"errors": [
{
"code": "no_data_found",
"id": "not_found",
"value": "指定されたパラメータに該当するデータが見つかりませんでした"
}
]
}
{
"ok": false,
"errors": [
{
"code": "internal_server_error",
"id": "server_error",
"value": "リクエストの処理中に予期しないエラーが発生しました"
}
]
}
承認
クエリパラメータ
إزاحة الصفحة. لأسباب تتعلق بالتحسين والأداء والجوانب التقنية، يتم تقييد إزاحات الصفحات بين 0 و100000. قيِّد نتائج الاستعلام باستخدام معاملات أخرى مثل التاريخ. القيمة الافتراضية هي 0
عدد النتائج المُعادة. الحد الأقصى 1000
تاريخ الاستعلام عن بيانات calendar. يُستخدم كاختصار لـ date_from و date_to إذا كانتا متطابقتين. الإعداد الافتراضي هو آخر تاريخ متاح
تاريخ البدء بتنسيق YYYY-MM-DD
تاريخ الانتهاء بالتنسيق YYYY-MM-DD
الطابع الزمني (Unix) لآخر مرة كانت السجلات محدَّثة فيها (بتوقيت UTC). سيؤدي ذلك إلى فرض ترتيب فرز تكون فيه القيم أكبر من أو تساوي الطابع الزمني المُشار إليه
レスポンス
فجوات ERx
Show child attributes
Show child attributes
5
Show child attributes
Show child attributes
true
0.15
Show child attributes
Show child attributes
"Above EMA21"
"2024-01-09T10:30:00.000Z"
Show child attributes
Show child attributes
"Above 50%"
"2024-01-09T10:30:00.000Z"
155.75
"2024-01-09T00:00:00.000Z"
157.5
153.25
3.75
156
155.5
"64a1b2c3d4e5f6789012345"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
true
false
"2024-01-19T00:00:00.000Z"
10
true
154.5
true
150.25
156.25
Show child attributes
Show child attributes
true
"AAPL"
"2024-01-09T00:00:00.000Z"
1704758400
12500000
8500000
Show child attributes
Show child attributes