DEVELOPERS · API DOCS v1
News In Focus API
記事データにプログラムからアクセスできます。 APIキーは マイページ → APIキー から発行できます。
プラン制限
| プラン | キー上限 | レート制限 |
|---|---|---|
| 無料 | 1キー | 60 req/hour |
| プレミアム | 5キー | 1,000 req/hour |
認証
すべてのリクエストに Authorization ヘッダを付けてください。
curl https://news-now.online/api/v1/articles \ -H "Authorization: Bearer nn_xxxxxxxxxxxxxxxxxxxxxx"
GET /api/v1/articles
公開済み記事を新着順で返します。
クエリパラメータ
limit— 1〜100 (default 20)category— tech / ai / economy / politics …lang— ja / en など
レスポンス例
{
"success": true,
"count": 2,
"articles": [
{
"id": "uuid",
"title": "...",
"summary": "...",
"category": "tech",
"source_publisher": "...",
"published_at": "2026-05-31T06:00:00Z",
"url": "...",
"thumbnail_url": "..."
}
]
}エラーレスポンス
401— missing_authorization / invalid_api_key / api_key_expired429— rate_limit_exceeded500— internal_error
利用規約
- 商用利用可、ただし News In Focus を出典として明記してください
- 大量取得が必要な場合は dev@news-now.online までご相談ください
- スクレイピングを目的とした自動再配信は禁止