{
  "info": {
    "name": "NewsAPI — mcp.ai",
    "description": "REST API for the NewsAPI MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/news_api",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "news_api_get_everything",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/everything",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "everything"
          ]
        },
        "description": "Tool to search through every article published by over 150,000 sources. At least one of q, sources, language, or domains must be set or the API returns a parametersMissing error. Historical date range",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"q\": \"\",\n  \"to\": \"\",\n  \"from\": \"\",\n  \"page\": 0,\n  \"sortBy\": \"\",\n  \"domains\": \"\",\n  \"sources\": \"\",\n  \"language\": \"\",\n  \"pageSize\": 0,\n  \"qInTitle\": \"\",\n  \"excludeDomains\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "news_api_get_sources",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/sources",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "sources"
          ]
        },
        "description": "Tool to fetch available news sources. Use when you need to retrieve a list of publishers by optional filters like category, language, or country. Source IDs returned here are the only valid IDs for fi",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"country\": \"\",\n  \"category\": \"\",\n  \"language\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "news_api_get_top_headlines",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/top/headlines",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "top",
            "headlines"
          ]
        },
        "description": "Tool to retrieve live top and breaking headlines; does not support historical or date-bounded queries (use NEWS_API_GET_EVERYTHING for past date ranges). Results favor major outlets; use NEWS_API_GET_",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"q\": \"\",\n  \"page\": 0,\n  \"country\": \"\",\n  \"sources\": \"\",\n  \"category\": \"\",\n  \"pageSize\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "news_api_get_v1_articles",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/v1/articles",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "v1",
            "articles"
          ]
        },
        "description": "Tool to fetch live article metadata from a news source using the legacy v1 API. Use when you need headlines from a specific source identifier. This v1 endpoint has been superseded by /v2/top-headlines",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"sortBy\": \"\",\n  \"source\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}