メインコンテンツへスキップ
GET
/
api
/
v2
/
news
ニュースを取得
curl --request GET \
  --url 'https://api.benzinga.com/api/v2/news?token=' \
  --header 'accept: <accept>'
[
  {
    "id": 36444586,
    "author": "Benzinga Insights",
    "created": "Mon, 01 Jan 2024 13:35:14 -0400",
    "updated": "Mon, 01 Jan 2024 13:35:15 -0400",
    "title": "10 Information Technology Stocks With Whale Alerts In Today's Session",
    "teaser": "",
    "body": "",
    "url": "https://www.benzinga.com/markets/options/24/01/36444586/10-information-technology-stocks-with-whale-alerts-in-todays-session",
    "image": [
      {
        "size": "thumb",
        "url": "https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/options_image_2.jpeg"
      },
      {
        "size": "small",
        "url": "https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/options_image_2.jpeg"
      },
      {
        "size": "large",
        "url": "https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/options_image_2.jpeg"
      }
    ],
    "channels": [
      {
        "name": "Options"
      }
    ],
    "stocks": [
      {
        "name": "AAPL",
        "cusip": "037833100",
        "isin": "US0378331005",
        "exchange": "NASDAQ"
      },
      {
        "name": "CLSK",
        "cusip": "18452B209",
        "isin": "US18452B2097",
        "exchange": "NASDAQ"
      },
      {
        "name": "NVDA",
        "cusip": "67066G104",
        "isin": "US67066G1040",
        "exchange": "NASDAQ"
      },
      {
        "name": "ORCL",
        "cusip": "68389X105",
        "isin": "US68389X1054",
        "exchange": "NYSE"
      },
      {
        "name": "TSM",
        "cusip": "874039100",
        "isin": "US8740391003",
        "exchange": "NYSE"
      }
    ],
    "tags": [
      {
        "name": "BZI-AUOA"
      }
    ]
  }
]
[
  {
    "id": 36444586,
    "author": "Benzinga Insights",
    "created": "Mon, 01 Jan 2024 13:35:14 -0400",
    "updated": "Mon, 01 Jan 2024 13:35:15 -0400",
    "title": "10 Information Technology Stocks With Whale Alerts In Today's Session",
    "teaser": "",
    "body": "",
    "url": "https://www.benzinga.com/markets/options/24/01/36444586/10-information-technology-stocks-with-whale-alerts-in-todays-session",
    "image": [
      {
        "size": "thumb",
        "url": "https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/options_image_2.jpeg"
      },
      {
        "size": "small",
        "url": "https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/options_image_2.jpeg"
      },
      {
        "size": "large",
        "url": "https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/options_image_2.jpeg"
      }
    ],
    "channels": [
      {
        "name": "Options"
      }
    ],
    "stocks": [
      {
        "name": "AAPL",
        "cusip": "037833100",
        "isin": "US0378331005",
        "exchange": "NASDAQ"
      },
      {
        "name": "CLSK",
        "cusip": "18452B209",
        "isin": "US18452B2097",
        "exchange": "NASDAQ"
      },
      {
        "name": "NVDA",
        "cusip": "67066G104",
        "isin": "US67066G1040",
        "exchange": "NASDAQ"
      },
      {
        "name": "ORCL",
        "cusip": "68389X105",
        "isin": "US68389X1054",
        "exchange": "NYSE"
      },
      {
        "name": "TSM",
        "cusip": "874039100",
        "isin": "US8740391003",
        "exchange": "NYSE"
      }
    ],
    "tags": [
      {
        "name": "BZI-AUOA"
      }
    ]
  }
]

承認

token
string
query
必須

APIキーによる認証。APIキーをクエリパラメータとして指定してください。

ヘッダー

accept
enum<string>
デフォルト:application/json
必須

レスポンス形式を指定します

利用可能なオプション:
application/json,
application/xml

クエリパラメータ

page
integer
デフォルト:0

ページオフセット。最適化、パフォーマンス、および技術的な理由から、ページオフセットは 0 ~ 100000 の範囲に制限されています。日付などの他のパラメータでクエリ結果を絞り込んでください。

pageSize
integer
デフォルト:15

返される結果数。最大100件。

必須範囲: x <= 100
displayOutput
enum<string>
デフォルト:headline

ヘッドラインのみ(headline)、ヘッドライン+要約(abstract)、またはヘッドライン+全文(full)のいずれかを指定します

利用可能なオプション:
full,
abstract,
headline
date
string

ニュース取得対象の日付。dateFromdateTo が同一の場合の省略形です。形式:yyyy-mm-dd

dateFrom
string

ある時点以降をクエリするための基準日。公開日でソートされます。形式: yyyy-mm-dd

dateTo
string

特定時点を指定してクエリするための日付。公開日順にソートされます。形式: yyyy-mm-dd

updatedSince
integer

取得および並べ替えの基準とする最新の更新日時(UTC)の Unix タイムスタンプ

publishedSince
integer

取得およびソートの基準とする最後に公開された Unix タイムスタンプ(UTC)

sort
enum<string>

結果のソート順を制御します。デフォルトは created の降順 (DESC) です。形式: field:direction。ソート可能なフィールド: id, created, updated。ソート順: asc (昇順), desc (降順)。

利用可能なオプション:
id:asc,
id:desc,
created:asc,
created:desc,
updated:asc,
updated:desc
isin
string

カンマ区切りのISIN(国際証券識別番号)を1件以上指定します。最大50件。形式: csv

cusips
string

1つ以上のCUSIPをカンマ区切りで指定します。最大50件まで。ライセンス契約が必要です。形式: CSV

tickers
string

カンマ区切りのtickerシンボルを1件以上指定します。最大50件。形式: CSV

primaryTickers
string

1つ以上の主要tickerシンボルをカンマ区切りで指定します。主要tickerの関連付けに対してのみフィルターされます。形式: csv

channels
string

カンマ区切りの1つ以上のチャンネル名またはID。形式: CSV

topics
string

カンマ区切りの1つ以上の単語またはフレーズ。Title、Tags、Body の順に優先して検索します。形式: CSV

topic_group_by
enum<string>
デフォルト:or

トピッククエリの論理演算子です。すべてのトピックを条件とする場合は and、いずれかのトピックが一致すればよい場合は or を使用します。

利用可能なオプション:
and,
or
authors
string

カンマ区切りの1人以上の著者名。形式:CSV

content_types
string

カンマ区切りの 1 つ以上のコンテンツタイプ。フォーマット: csv

format
enum<string>

API レスポンスの出力形式を指定します

利用可能なオプション:
text
importance
enum<string>

重要度で絞り込む

利用可能なオプション:
low,
medium,
high
region
string

地域でフィルタリングします(例:カナダ向けコンテンツの場合は 'ca' または 'canada')。

レスポンス

OK

author
string
:

"Benzinga Newsdesk"

body
string
channels
object[]
created
string
:

"Wed, 17 May 2017 14:20:15 -0400"

id
integer
:

123456

image
object[]
original_id
integer
stocks
object[]
tags
object[]
teaser
string
title
string
:

"Apple Announces New iPhone"

updated
string
:

"Wed, 17 May 2017 14:20:15 -0400"

url
string
:

"https://www.benzinga.com/news/123456"