Skip to content

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/latestLatest articles of Politico, newest first, from its public RSS or Atom feed.
GET/politico/sectionLatest articles of one section of Politico, newest first, from its section feed.

latest

GET/v1/politico/latest

Latest articles of Politico, newest first, from its public RSS or Atom feed.

scope social:read1 unitcached 10 minpaginated

Parameters

limit
integer
Items per page, 1 to 50.
default 20
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
idstring
imageUrlstring
publishedAtstring
sourcestring
summarystring
titlestring
urlstring
curl "https://api.hoshime.com/v1/politico/latest" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/section

Latest articles of one section of Politico, newest first, from its section feed.

scope social:read1 unitcached 10 minpaginated

Parameters

section
string
required
Section of the site: congress, defense, economy, energy, healthcare.
congressdefenseeconomyenergyhealthcare
e.g. congress
limit
integer
Items per page, 1 to 50.
default 20
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
idstring
imageUrlstring
publishedAtstring
sourcestring
summarystring
titlestring
urlstring
curl "https://api.hoshime.com/v1/politico/section?section=congress" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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
  }
}
esc
↑↓ move↵ open