報
The Japan Times API
2 endpointsNews & MediaJPsocial:read1 real examples
Returns the latest articles of The Japan Times from its public feed.
View as Markdown| GET | /japantimes/latest | Latest articles of The Japan Times, newest first, from its public RSS or Atom feed. |
| GET | /japantimes/section | Latest articles of one section of The Japan Times, newest first, from its section feed. |
latest
GET
/v1/japantimes/latestLatest articles of The Japan Times, newest first, from its public RSS or Atom feed.
scope social:read1 unitcached 10 minpaginated
Parameters
limitinteger | Items per page, 1 to 50. default 20 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
id | string |
imageUrl | string |
publishedAt | string |
source | string |
summary | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/japantimes/latest" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/japantimes/latest", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/japantimes/latest", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "id": "", "imageUrl": "https://www.japantimes.co.jp/japantimes/uploads/images/2026/11/06/thumbs/400x400/572826.jpg", "publishedAt": "2026-11-06T12:28:00Z", "source": "", "summary": "The shallow quake hit at 7:39 pm in the sea off the coast of the country's Kanto region, the Japan Meteorological Agency said on its website…", "title": "Magnitude 6.1 quake hits off Tokyo, but no tsunami alert issued", "url": "https://www.japantimes.co.jp/news/2026/11/06/japan/tokyo-shallow-quake/" }, { "author": { "avatarUrl": "", "id": "", "name": "Jessica Speed", "url": "", "username": "" }, "id": "", "imageUrl": "https://www.japantimes.co.jp/japantimes/uploads/images/2026/11/06/thumbs/400x400/572825.jpg", "publishedAt": "2026-11-06T11:58:00Z", "source": "", "summary": "The panel discussed how to reverse the declining birthrate trend, how to build sustainable local communities and how to cope with labor shor…", "title": "‘Quiet crisis’: Government expert panel convenes to tackle population decline", "url": "https://www.japantimes.co.jp/news/2026/11/06/japan/society/declining-birthrate-expert-panel/" } ], "meta": { "cached": false, "endpoint": "latest", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "japantimes", "requestId": "req_2Xb9kQ…", "units": 1 } }
section
GET
/v1/japantimes/sectionLatest articles of one section of The Japan Times, newest first, from its section feed.
scope social:read1 unitcached 10 minpaginated
Parameters
sectionstring required | Section of the site: business, life, news, opinion, sports.businesslifenewsopinionsportse.g. business |
limitinteger | Items per page, 1 to 50. default 20 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
id | string |
imageUrl | string |
publishedAt | string |
source | string |
summary | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/japantimes/section?section=business" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/japantimes/section?section=business", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/japantimes/section?section=business", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "https://…", "id": "abc123", "name": "…", "url": "https://…", "username": "…" }, "id": "abc123", "imageUrl": "https://…", "publishedAt": "2026-11-06T09:41:00Z", "source": "…", "summary": "…", "title": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "section", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "japantimes", "requestId": "req_2Xb9kQ…", "units": 1 } }