Marketplace
No threads yet
Live

fetch_un_article

news.un.org

Fetches a complete UN News story from https://news.un.org by article URL, returning its title, body text, dates, byline, topics, regions, tags, and associated media.

Parameters1
Runs15
Updated10d ago
Operational15 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is fetch_un_article?

Fetches a complete UN News story from https://news.un.org by article URL, returning its title, body text, dates, byline, topics, regions, tags, and associated media. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass url and get the result back without maintaining a scraper.

Response

{
  "url": "<string>",
  "tags": [
    "<string>"
  ],
  "media": [
    {
      "url": "<string>",
      "role": "<string>",
      "credit": "<string>",
      "caption": "<string>",
      "alt_text": "<string>"
    }
  ],
  "title": "<string>",
  "byline": "<string>",
  "topics": [
    "<string>"
  ],
  "regions": [
    "<string>"
  ],
  "summary": "<string>",
  "language": "<string>",
  "body_text": "<string>",
  "article_id": "<string>",
  "modified_at": "<string>",
  "content_type": "<string>",
  "published_at": "<string>",
  "publication_date": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/2adbda82-94ed-4939-a305-7065cda31d0f/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "2adbda82-94ed-4939-a305-7065cda31d0f",
    "variables": {
        "url": "DEFAULT_ARTICLE_URL"
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="2adbda82-94ed-4939-a305-7065cda31d0f") — the "fetch_un_article" function, which fetches a complete UN News story from https://news.un.org by article URL, returning its title, body text, dates, byline, topics, regions, tags, and associated media..

It takes url (str). Return the result as structured JSON.