curl --request GET \
--url 'https://api.benzinga.com/api/v2.1/calendar/offerings?token=' \
--header 'accept: <accept>'import requests
url = "https://api.benzinga.com/api/v2.1/calendar/offerings?token="
headers = {"accept": "<accept>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {accept: '<accept>'}};
fetch('https://api.benzinga.com/api/v2.1/calendar/offerings?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/v2.1/calendar/offerings?token=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"accept: <accept>"
],
]);
$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/v2.1/calendar/offerings?token="
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("accept", "<accept>")
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/v2.1/calendar/offerings?token=")
.header("accept", "<accept>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.benzinga.com/api/v2.1/calendar/offerings?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = '<accept>'
response = http.request(request)
puts response.read_body{
"offerings": [
{
"currency": "USD",
"cusip": "73245B107",
"date": "2025-12-29",
"dollar_shares": "50000000.000",
"exchange": "NASDAQ",
"id": "69531bc06ab0a40001b39686",
"importance": 2,
"name": "SBC Medical Group Holding",
"notes": "",
"number_shares": 0,
"offering_type": "",
"price": "",
"proceeds": "",
"shelf": true,
"ticker": "SBC",
"time": "19:24:32",
"updated": 1767054276,
"url": ""
}
]
}
{
"ok": false,
"errors": [
{
"code": "auth_failed",
"id": "unauthorized",
"value": "Invalid or missing authentication token"
}
]
}
{
"ok": false,
"errors": [
{
"code": "no_data_found",
"id": "not_found",
"value": "No data found for the specified parameters"
}
]
}
{
"ok": false,
"errors": [
{
"code": "internal_server_error",
"id": "server_error",
"value": "An unexpected error occurred while processing your request"
}
]
}
Offerings
curl --request GET \
--url 'https://api.benzinga.com/api/v2.1/calendar/offerings?token=' \
--header 'accept: <accept>'import requests
url = "https://api.benzinga.com/api/v2.1/calendar/offerings?token="
headers = {"accept": "<accept>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {accept: '<accept>'}};
fetch('https://api.benzinga.com/api/v2.1/calendar/offerings?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/v2.1/calendar/offerings?token=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"accept: <accept>"
],
]);
$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/v2.1/calendar/offerings?token="
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("accept", "<accept>")
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/v2.1/calendar/offerings?token=")
.header("accept", "<accept>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.benzinga.com/api/v2.1/calendar/offerings?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = '<accept>'
response = http.request(request)
puts response.read_body{
"offerings": [
{
"currency": "USD",
"cusip": "73245B107",
"date": "2025-12-29",
"dollar_shares": "50000000.000",
"exchange": "NASDAQ",
"id": "69531bc06ab0a40001b39686",
"importance": 2,
"name": "SBC Medical Group Holding",
"notes": "",
"number_shares": 0,
"offering_type": "",
"price": "",
"proceeds": "",
"shelf": true,
"ticker": "SBC",
"time": "19:24:32",
"updated": 1767054276,
"url": ""
}
]
}
{
"ok": false,
"errors": [
{
"code": "auth_failed",
"id": "unauthorized",
"value": "Invalid or missing authentication token"
}
]
}
{
"ok": false,
"errors": [
{
"code": "no_data_found",
"id": "not_found",
"value": "No data found for the specified parameters"
}
]
}
{
"ok": false,
"errors": [
{
"code": "internal_server_error",
"id": "server_error",
"value": "An unexpected error occurred while processing your request"
}
]
}
{
"offerings": [
{
"currency": "USD",
"cusip": "73245B107",
"date": "2025-12-29",
"dollar_shares": "50000000.000",
"exchange": "NASDAQ",
"id": "69531bc06ab0a40001b39686",
"importance": 2,
"name": "SBC Medical Group Holding",
"notes": "",
"number_shares": 0,
"offering_type": "",
"price": "",
"proceeds": "",
"shelf": true,
"ticker": "SBC",
"time": "19:24:32",
"updated": 1767054276,
"url": ""
}
]
}
{
"ok": false,
"errors": [
{
"code": "auth_failed",
"id": "unauthorized",
"value": "Invalid or missing authentication token"
}
]
}
{
"ok": false,
"errors": [
{
"code": "no_data_found",
"id": "not_found",
"value": "No data found for the specified parameters"
}
]
}
{
"ok": false,
"errors": [
{
"code": "internal_server_error",
"id": "server_error",
"value": "An unexpected error occurred while processing your request"
}
]
}
承認
ヘッダー
يحدِّد تنسيق الإرجاع. تعمل معلمات الاستعلام بالطريقة نفسها في كلا التنسيقين
application/json クエリパラメータ
إزاحة الصفحة. لأسباب تتعلق بالتحسين والأداء والاعتبارات التقنية، تُحَدَّد إزاحات الصفحات ضمن النطاق من 0 إلى 100000. قَيِّد نتائج الاستعلام باستخدام معلمات أخرى مثل التاريخ.
عدد النتائج المُعادة. الحد الأقصى هو 1000
التاريخ الذي يتم الاستعلام عنده عن بيانات calendar. يُستخدَم كاختصار لـ date_from و date_to عندما يكونان متطابقين. يضبط افتراضيًا على الأحدث.
تاريخ بدء الاستعلام من نقطة زمنية محددة
تاريخ الاستعلام حتى نقطة زمنية معيّنة
مستوى الأهمية المستخدم للتصفية. يستخدم عامل «أكبر من أو يساوي» لمستوى الأهمية المحدَّد
0, 1, 2, 3, 4, 5 رمز تداول واحد أو أكثر مفصولة بفواصل، بحد أقصى 50 رمز تداول
آخر طابع زمني Unix (بتوقيت UTC) جرى فيه تحديث السجلات. سيؤدي ذلك إلى فرض ترتيب فرز بقيمة أكبر من أو تساوي الطابع الزمني المحدَّد
レスポンス
نجاح
استجابة من واجهة برمجة التطبيقات API تتضمن مصفوفة من سجلات الطروحات
Show child attributes
Show child attributes