HaltResume V1
curl --request GET \
--url 'https://api.benzinga.com/api/v1/signal/halt_resume?token='import requests
url = "https://api.benzinga.com/api/v1/signal/halt_resume?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.benzinga.com/api/v1/signal/halt_resume?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/signal/halt_resume?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/signal/halt_resume?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/signal/halt_resume?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.benzinga.com/api/v1/signal/halt_resume?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": "요청을 처리하는 동안 예기치 않은 오류가 발생했습니다"
}
]
}
캘린더
Haltresume
GET
/
api
/
v1
/
signal
/
halt_resume
HaltResume V1
curl --request GET \
--url 'https://api.benzinga.com/api/v1/signal/halt_resume?token='import requests
url = "https://api.benzinga.com/api/v1/signal/halt_resume?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.benzinga.com/api/v1/signal/halt_resume?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/signal/halt_resume?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/signal/halt_resume?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/signal/halt_resume?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.benzinga.com/api/v1/signal/halt_resume?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
تاريخ البدء بتنسيق YYYY-MM-DD
تاريخ الانتهاء بتنسيق YYYY-MM-DD
رمز تداول واحد أو أكثر، تفصل بينها فاصلة. الحد الأقصى 50 رمز تداول
الطابع الزمني Unix (بتوقيت UTC) لآخر تحديث للسجلات. سيُجبِر هذا خيار الفرز على أن يكون أكبر من أو يساوي الطابع الزمني المحدَّد
응답
إيقاف واستئناف
예시:
1
예시:
"88160R101"
예시:
"2024-01-09T00:00:00.000Z"
예시:
"Trading halted due to news pending"
예시:
"NASDAQ"
예시:
"News Pending"
예시:
"60a7f5e8e4b0f5a3c8e9f5b3"
예시:
4
예시:
"US88160R1014"
예시:
"Tesla Inc."
예시:
"TSLA"
예시:
"14:25:00"
예시:
1704819600