{
  "schemaVersion": "1.0",
  "item": {
    "slug": "newsapi-search",
    "name": "NewsAPI Search",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Hegghammer/newsapi-search",
    "canonicalUrl": "https://clawhub.ai/Hegghammer/newsapi-search",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/newsapi-search",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=newsapi-search",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/api-reference.md",
      "references/examples.md",
      "scripts/sources.js",
      "scripts/search.js"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/newsapi-search"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/newsapi-search",
    "agentPageUrl": "https://openagent3.xyz/skills/newsapi-search/agent",
    "manifestUrl": "https://openagent3.xyz/skills/newsapi-search/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/newsapi-search/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "NewsAPI Search",
        "body": "Search 5,000+ news sources via NewsAPI. Supports comprehensive article discovery (/everything) and breaking headlines (/top-headlines)."
      },
      {
        "title": "Quick Start",
        "body": "# Basic search\nnode scripts/search.js \"technology\" --days 7\n\n# Filter by quality sources\nnode scripts/search.js \"technology\" --sources bbc-news,reuters,al-jazeera-english\n\n# Exclude low-quality domains\nnode scripts/search.js \"technology\" --exclude tmz.com,radaronline.com\n\n# Breaking headlines\nnode scripts/search.js \"technology\" --headlines --country us\n\n# List available sources\nnode scripts/sources.js --country us --category general"
      },
      {
        "title": "Setup",
        "body": "Add API key to ~/.openclaw/.env:\n\nNEWSAPI_KEY=your_api_key\n\nGet key from https://newsapi.org (free tier: 100 requests/day)"
      },
      {
        "title": "Everything Search",
        "body": "Comprehensive search across millions of articles.\n\nTime Windows:\n\nnode scripts/search.js \"query\" --hours 24\nnode scripts/search.js \"query\" --days 7        # default\nnode scripts/search.js \"query\" --weeks 2\nnode scripts/search.js \"query\" --months 1\nnode scripts/search.js \"query\" --from 2026-01-01 --to 2026-01-31\n\nFilters:\n\nnode scripts/search.js \"query\" --sources bbc-news,cnn           # max 20\nnode scripts/search.js \"query\" --domains nytimes.com,bbc.co.uk\nnode scripts/search.js \"query\" --exclude gossip-site.com\nnode scripts/search.js \"query\" --lang en                       # or 'any'\n\nSearch Fields:\n\nnode scripts/search.js \"query\" --title-only                    # title only\nnode scripts/search.js \"query\" --in title,description          # specific fields\n\nAdvanced Query Syntax:\n\n\"exact phrase\" — exact match\n+musthave — required word\n-exclude — excluded word\nword1 AND word2 — both required\nword1 OR word2 — either accepted\n(word1 OR word2) AND word3 — grouping\n\nPagination & Sorting:\n\nnode scripts/search.js \"query\" --page 2 --limit 20\nnode scripts/search.js \"query\" --sort relevancy      # default\nnode scripts/search.js \"query\" --sort date           # newest first\nnode scripts/search.js \"query\" --sort popularity"
      },
      {
        "title": "Top Headlines",
        "body": "Live breaking news by country or category.\n\n# By country\nnode scripts/search.js \"query\" --headlines --country us\n\n# By category\nnode scripts/search.js --headlines --country us --category business\n\n# By source\nnode scripts/search.js --headlines --sources bbc-news,cnn\n\nCategories: business, entertainment, general, health, science, sports, technology\n\nNote: Cannot mix --country/--category with --sources in headlines mode."
      },
      {
        "title": "List Sources",
        "body": "node scripts/sources.js                    # all sources\nnode scripts/sources.js --country us       # filter by country\nnode scripts/sources.js --category business\nnode scripts/sources.js --lang en\nnode scripts/sources.js --json             # JSON output"
      },
      {
        "title": "Advanced Usage",
        "body": "For complete parameter reference, see references/api-reference.md.\n\nFor common workflows and search patterns, see references/examples.md."
      },
      {
        "title": "Programmatic API",
        "body": "const { searchEverything, searchHeadlines, getSources } = require('./scripts/search.js');\n\nconst results = await searchEverything('climate change', {\n  timeWindow: { type: 'days', value: 7 },\n  sources: 'bbc-news,reuters',\n  excludeDomains: 'tmz.com',\n  limit: 20\n});\n\nconst headlines = await searchHeadlines('business', {\n  country: 'us',\n  category: 'business'\n});"
      },
      {
        "title": "Free Tier Limits",
        "body": "100 requests/day\n100 results per request (max)\n1-month delay on archived content"
      },
      {
        "title": "Output Format",
        "body": "Returns structured JSON:\n\n{\n  \"query\": \"technology\",\n  \"endpoint\": \"everything\",\n  \"totalResults\": 64,\n  \"returnedResults\": 10,\n  \"page\": 1,\n  \"results\": [\n    {\n      \"title\": \"...\",\n      \"url\": \"...\",\n      \"source\": \"BBC News\",\n      \"publishedAt\": \"2026-02-05T14:30:00Z\",\n      \"description\": \"...\",\n      \"content\": \"...\"\n    }\n  ]\n}"
      }
    ],
    "body": "NewsAPI Search\n\nSearch 5,000+ news sources via NewsAPI. Supports comprehensive article discovery (/everything) and breaking headlines (/top-headlines).\n\nQuick Start\n# Basic search\nnode scripts/search.js \"technology\" --days 7\n\n# Filter by quality sources\nnode scripts/search.js \"technology\" --sources bbc-news,reuters,al-jazeera-english\n\n# Exclude low-quality domains\nnode scripts/search.js \"technology\" --exclude tmz.com,radaronline.com\n\n# Breaking headlines\nnode scripts/search.js \"technology\" --headlines --country us\n\n# List available sources\nnode scripts/sources.js --country us --category general\n\nSetup\n\nAdd API key to ~/.openclaw/.env:\n\nNEWSAPI_KEY=your_api_key\n\n\nGet key from https://newsapi.org (free tier: 100 requests/day)\n\nEndpoints\nEverything Search\n\nComprehensive search across millions of articles.\n\nTime Windows:\n\nnode scripts/search.js \"query\" --hours 24\nnode scripts/search.js \"query\" --days 7        # default\nnode scripts/search.js \"query\" --weeks 2\nnode scripts/search.js \"query\" --months 1\nnode scripts/search.js \"query\" --from 2026-01-01 --to 2026-01-31\n\n\nFilters:\n\nnode scripts/search.js \"query\" --sources bbc-news,cnn           # max 20\nnode scripts/search.js \"query\" --domains nytimes.com,bbc.co.uk\nnode scripts/search.js \"query\" --exclude gossip-site.com\nnode scripts/search.js \"query\" --lang en                       # or 'any'\n\n\nSearch Fields:\n\nnode scripts/search.js \"query\" --title-only                    # title only\nnode scripts/search.js \"query\" --in title,description          # specific fields\n\n\nAdvanced Query Syntax:\n\n\"exact phrase\" — exact match\n+musthave — required word\n-exclude — excluded word\nword1 AND word2 — both required\nword1 OR word2 — either accepted\n(word1 OR word2) AND word3 — grouping\n\nPagination & Sorting:\n\nnode scripts/search.js \"query\" --page 2 --limit 20\nnode scripts/search.js \"query\" --sort relevancy      # default\nnode scripts/search.js \"query\" --sort date           # newest first\nnode scripts/search.js \"query\" --sort popularity\n\nTop Headlines\n\nLive breaking news by country or category.\n\n# By country\nnode scripts/search.js \"query\" --headlines --country us\n\n# By category\nnode scripts/search.js --headlines --country us --category business\n\n# By source\nnode scripts/search.js --headlines --sources bbc-news,cnn\n\n\nCategories: business, entertainment, general, health, science, sports, technology\n\nNote: Cannot mix --country/--category with --sources in headlines mode.\n\nList Sources\nnode scripts/sources.js                    # all sources\nnode scripts/sources.js --country us       # filter by country\nnode scripts/sources.js --category business\nnode scripts/sources.js --lang en\nnode scripts/sources.js --json             # JSON output\n\nAdvanced Usage\n\nFor complete parameter reference, see references/api-reference.md.\n\nFor common workflows and search patterns, see references/examples.md.\n\nProgrammatic API\nconst { searchEverything, searchHeadlines, getSources } = require('./scripts/search.js');\n\nconst results = await searchEverything('climate change', {\n  timeWindow: { type: 'days', value: 7 },\n  sources: 'bbc-news,reuters',\n  excludeDomains: 'tmz.com',\n  limit: 20\n});\n\nconst headlines = await searchHeadlines('business', {\n  country: 'us',\n  category: 'business'\n});\n\nFree Tier Limits\n100 requests/day\n100 results per request (max)\n1-month delay on archived content\nOutput Format\n\nReturns structured JSON:\n\n{\n  \"query\": \"technology\",\n  \"endpoint\": \"everything\",\n  \"totalResults\": 64,\n  \"returnedResults\": 10,\n  \"page\": 1,\n  \"results\": [\n    {\n      \"title\": \"...\",\n      \"url\": \"...\",\n      \"source\": \"BBC News\",\n      \"publishedAt\": \"2026-02-05T14:30:00Z\",\n      \"description\": \"...\",\n      \"content\": \"...\"\n    }\n  ]\n}"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Hegghammer/newsapi-search",
    "publisherUrl": "https://clawhub.ai/Hegghammer/newsapi-search",
    "owner": "Hegghammer",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/newsapi-search",
    "downloadUrl": "https://openagent3.xyz/downloads/newsapi-search",
    "agentUrl": "https://openagent3.xyz/skills/newsapi-search/agent",
    "manifestUrl": "https://openagent3.xyz/skills/newsapi-search/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/newsapi-search/agent.md"
  }
}