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