知識・楽しみ

今日は何の日 API

暦上の任意の日の著名な出来事を検索します。

リクエストヘッダー

Name Required Description
X-RapidAPI-Key required Your RapidAPI key. Get one free.
X-RapidAPI-Host required historical-events.p.rapidapi.com

エンドポイント

GET /v1/historicalevents

Find historical events by month, day, and/or year

パラメータ

NameTypeRequiredDefaultConstraints
dayintegeroptional—1-31
limitintegeroptional——
monthintegeroptional—1-12
offsetintegeroptional——
yearintegeroptional——

コード例

curl --request GET \
  --url 'https://historical-events.p.rapidapi.com/v1/historicalevents?day=0&limit=0' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: historical-events.p.rapidapi.com'

インタラクティブな例

historical-events
$ GET /v1/historicalevents?month=7&day=4&limit=1
{"data":[{"year":1776,"month":7,"day":4,"event":"The United States Declaration of Independence is adopted."}],"meta":{"total":1,"limit":1,"offset":0}}

購読してライセンスを取得する

RapidAPI の商用利用可能な層を使用して、この API にアクセスします。サイドプロジェクト、スタートアップ、大量生産アーキテクチャ向けに設計された柔軟なプラン。

価格を確認して購読する

開発者サポート

統合にヘルプが必要ですか? またはカスタム エンドポイント リクエストがありますか?当社のエンジニアリング チームは、認証、ペイロード スキーマ、および高頻度のレート制限の引き上げを支援します。

API エンジニアリングへのお問い合わせ

システムパフォーマンス

99.9% の稼働時間 SLA で 24 時間年中無休で監視されます。グローバルに分散されたエッジ キャッシュを備えたクラウドネイティブのマイクロサービス上に構築され、超低遅延の応答時間を保証します。

すべてのシステムが稼働中