メインコンテンツへスキップ
GET
ニュースを検索する

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Scopes

tweet.read

View all Posts you can see, including those from protected accounts.

users.read

View any account you can see, including protected accounts.

クエリパラメータ

query
string
必須

検索クエリ。

Required string length: 1 - 2048
例:

"crypto"

max_results
integer<int32>
デフォルト:10

返される結果数。

必須範囲: 1 <= x <= 100
max_age_hours
integer<int32>
デフォルト:168

検索対象とするニュース記事の最大経過期間。

必須範囲: 1 <= x <= 720
news.fields
enum<string>[]

取得する News フィールドをカンマ区切りで指定します。 News オブジェクトで使用できるフィールドです。

Minimum array length: 1
利用可能なオプション:
category,
cluster_posts_results,
contexts,
disclaimer,
hook,
id,
keywords,
name,
summary,
updated_at
例:

レスポンス

リクエストは成功しました。

data
object[]
Minimum array length: 1
errors
object[]
Minimum array length: 1

IETF RFC 7807 (https://tools.ietf.org/html/rfc7807) で定義された HTTP Problem Details オブジェクト。

meta
object