CNN APIunofficial
CNN's public lightweight headlines and articles.
- cnn.com
all live 2 operations, checked by the installs that call them.
Seeded by the maintainers.
Try it
Set up API Anything for your agents:
npx -y api-anything setupThen ask your agent, which finds this site by itself, or call it from a shell:
api-anything pull cnn
api-anything call cnn getArticle year=2026 month=11 day=01 section=politics slug=chris-murphy-strokeOperations
| Operation | Method | Login | Writes | Status |
|---|---|---|---|---|
getArticle(year, month, day, section, slug) -> headline, byline, date, source, paragraphsRead a dated CNN Lite article, including its headline, byline, timestamp and paragraphs. |
GET | no | no | Live0 confirmations · success unknown; last worked unknown |
topStories() -> title, url, pathList current headlines on CNN Lite. |
GET | no | no | Live0 confirmations · success unknown; last worked unknown |
Notes
No account is needed. CNN content is copyrighted; link to the original and use summaries as appropriate rather than republishing full articles.
- For a dated
topStoriespath, splitYYYY/MM/DD/section/sluginto the fivegetArticlearguments, preserving the leading zero in month and day. Some front-page links have undated paths, whichgetArticledoes not support. Do not include a trailingindex.htmlin the slug. - The timestamp indicates whether it was published or updated. Metadata can be absent; paragraphs exclude subheadings and may include editorial or navigation text.
About these operations
Each operation is a request learned from CNN's own web pages: API Anything replays it over plain HTTP and falls back to a browser when it must. Read them as JSON.