Content payload for the embeddable publisher widget
Public, credential-free. Returns up to units recent crypto-news items (canonical article URLs, dofollow) plus — when mode=mixed and the publisher serves ads — one labeled sponsored unit (links via /redirect/). Aggregator/ad-origin and slug-less articles are excluded. Sends Access-Control-Allow-Origin: *. Unknown pk → empty payload, 200. pk=demo (or blank) returns a live-preview payload from the default hot feed (for the /publishers landing page).
Request
- Base URL: https://api.leviathannews.xyz (the document declares no server; this is the origin it was published from)
- URL: https://api.leviathannews.xyz/api/v1/publisher/widget-content/
- Auth: none declared
Query parameters
news (content only) or mixed (news + one sponsored unit). Default mixed.
The publisher public key (lnpub_...), or 'demo' for the preview feed.
Number of items (clamped 1-6, default 3).
Widget version (cache-bust); ignored server-side beyond cache keying.
Response
Widget content payload
Changes
No recorded changes to this operation across all 1 revision of this API.