報
Politico API
2 endpointsNews & MediaUSsocial:read1 real examples
Returns the latest Politico articles, newest first, from its public RSS or Atom feed.
View as Markdown| GET | /politico/latest | Latest articles of Politico, newest first, from its public RSS or Atom feed. |
| GET | /politico/section | Latest articles of one section of Politico, newest first, from its section feed. |
latest
GET
/v1/politico/latestLatest articles of Politico, 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/politico/latest" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/politico/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/politico/latest", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "By Aaron Pellish", "url": "", "username": "" }, "id": "", "imageUrl": "https://static.politico.com/f1/49/f009e6994c2ea4156214123b3f43/midterm-elections-72-15.jpg", "publishedAt": "2026-11-06T10:00:00Z", "source": "", "summary": "House Majority PAC President Mike Smith said Democrats’ gains are “on the very high end” of the group’s expectations.", "title": "The size of Democrats’ wave surprised even their top House super PAC", "url": "https://www.politico.com/news/2026/11/06/democratic-blue-wave-surprised-house-leader-01153548" }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "id": "", "imageUrl": "", "publishedAt": "2026-11-06T05:45:00Z", "source": "", "summary": "", "title": "The Clyburn test", "url": "https://www.politico.com/video/2026/11/06/the-clyburn-test-2222220" } ], "meta": { "cached": false, "endpoint": "latest", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "politico", "requestId": "req_2Xb9kQ…", "units": 1 } }
section
GET
/v1/politico/sectionLatest articles of one section of Politico, newest first, from its section feed.
scope social:read1 unitcached 10 minpaginated
Parameters
sectionstring required | Section of the site: congress, defense, economy, energy, healthcare.congressdefenseeconomyenergyhealthcaree.g. congress |
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/politico/section?section=congress" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/politico/section?section=congress", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/politico/section?section=congress", 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": "politico", "requestId": "req_2Xb9kQ…", "units": 1 } }