الأحداث
curl --request GET \
--url 'https://api.benzinga.com/api/v2/calendar/events?token='import requests
url = "https://api.benzinga.com/api/v2/calendar/events?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.benzinga.com/api/v2/calendar/events?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/calendar/events?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/v2/calendar/events?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/v2/calendar/events?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.benzinga.com/api/v2/calendar/events?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{
"events": [
{
"date_end": "2026-01-13",
"date_start": "2026-01-13",
"event_name": "28th Annual Needham Growth Conference",
"event_type": "Corporate conference presentation",
"id": "695b762f1bd4be000196669c",
"importance": 3,
"international_number": "",
"location": "New York",
"phone_number": "",
"securities": [
{
"country": "USA",
"cusip": "346375108",
"exchange": "NASDAQ",
"isin": "US3463751087",
"symbol": "FORM"
}
],
"source_link": "https://www.formfactor.com/events/",
"start_time": "15:00:00",
"tags": [
"Needham Growth Conference"
],
"updated": 1767602218,
"webcast_link": ""
}
]
}
{
"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"
}
]
}
Calendarios
Eventos
GET
/
api
/
v2
/
calendar
/
events
الأحداث
curl --request GET \
--url 'https://api.benzinga.com/api/v2/calendar/events?token='import requests
url = "https://api.benzinga.com/api/v2/calendar/events?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.benzinga.com/api/v2/calendar/events?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/calendar/events?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/v2/calendar/events?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/v2/calendar/events?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.benzinga.com/api/v2/calendar/events?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{
"events": [
{
"date_end": "2026-01-13",
"date_start": "2026-01-13",
"event_name": "28th Annual Needham Growth Conference",
"event_type": "Corporate conference presentation",
"id": "695b762f1bd4be000196669c",
"importance": 3,
"international_number": "",
"location": "New York",
"phone_number": "",
"securities": [
{
"country": "USA",
"cusip": "346375108",
"exchange": "NASDAQ",
"isin": "US3463751087",
"symbol": "FORM"
}
],
"source_link": "https://www.formfactor.com/events/",
"start_time": "15:00:00",
"tags": [
"Needham Growth Conference"
],
"updated": 1767602218,
"webcast_link": ""
}
]
}
{
"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"
}
]
}
{
"events": [
{
"date_end": "2026-01-13",
"date_start": "2026-01-13",
"event_name": "28th Annual Needham Growth Conference",
"event_type": "Corporate conference presentation",
"id": "695b762f1bd4be000196669c",
"importance": 3,
"international_number": "",
"location": "New York",
"phone_number": "",
"securities": [
{
"country": "USA",
"cusip": "346375108",
"exchange": "NASDAQ",
"isin": "US3463751087",
"symbol": "FORM"
}
],
"source_link": "https://www.formfactor.com/events/",
"start_time": "15:00:00",
"tags": [
"Needham Growth Conference"
],
"updated": 1767602218,
"webcast_link": ""
}
]
}
{
"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"
}
]
}
Parámetros de consulta
¿Esta página le ayudó?