fetch_un_homepage
news.un.orgFetches all visible headlines and editorial content from the UN News homepage at https://news.un.org for a selected language, including top stories, featured items, editor picks, videos, photo stories, and interviews.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is fetch_un_homepage?
Fetches all visible headlines and editorial content from the UN News homepage at https://news.un.org for a selected language, including top stories, featured items, editor picks, videos, photo stories, and interviews. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass language and get the result back without maintaining a scraper.
Response
{
"stories": [
{
"url": "<string>",
"title": "<string>",
"topic": "<string>",
"section": "<string>",
"summary": "<string>",
"image_alt": "<string>",
"image_url": "<string>",
"content_type": "<string>"
}
],
"language": "<string>",
"story_count": 0,
"homepage_url": "<string>"
}Call it
curl --location 'https://us-prod.notte.cc/functions/f601518b-96e6-4c50-bac0-0605cb3aff51/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "f601518b-96e6-4c50-bac0-0605cb3aff51",
"variables": {
"language": "en"
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="f601518b-96e6-4c50-bac0-0605cb3aff51") — the "fetch_un_homepage" function, which fetches all visible headlines and editorial content from the UN News homepage at https://news.un.org for a selected language, including top stories, featured items, editor picks, videos, photo stories, and interviews.. It takes language (str). Return the result as structured JSON.