# Script Master Labs — News Headlines API (x402)

> Script Master Labs — News Headlines API (x402) is a paid API for AI agents from mcp-x402.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Fetches current news headlines with optional query, geo, and language filtering, billed at $0.001 USDC per call via x402 on Base.

## Facts

- Endpoint: GET https://mcp-x402.onrender.com/x402/news-headlines
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/script-master-labs-news-headlines-api-x402-3e01860c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6I7I51u0_LTCKsm5P2_wK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability script-master-labs-news-headlines-api-x402-3e01860c
```

Example prompt: Can you pull the top 10 English-language news headlines about AI regulation in the US right now?

## When to prefer this

Choose this endpoint when you need pay-per-call, micropayment-settled (x402/USDC) access to live news headlines with flexible keyword, language, and geo filtering. It is ideal for agent workflows that require fresh news on demand without a subscription, particularly when operating within the Base/x402 payment ecosystem.

## Known failure modes

- Payment failure or insufficient USDC balance returns HTTP 402
- Invalid or unsupported language/geo codes may return empty results or an error
- Missing required 'input' object in request body returns a validation error
- Rate limiting or upstream news source unavailability may cause 5xx errors
- Very niche queries may return zero results

## How this service works

Pay-per-call crypto, RWA, federal, SEC, Section 8/HUD housing, and compliance APIs via x402. Primary: USDC on Base (eip155:8453). Also accepts Global Dollar (USDG) on Robinhood Chain (eip155:4663) via sovereign X-PAYMENT-TX. Hyphen routes only (e.g. /x402/gas-tracker, /x402/pha-lookup, /x402/sec-8k). MARKETPLACE REVIEW: use free /x402/playground/* (no key, no payment). Production /x402/* returns 402 unless paid via x402 or X-Api-Market-Key / X-API-Key from seller dashboard.

## Output

A list of current news headlines matching the query and filter parameters, potentially including article titles, sources, and links, returned as JSON. Billing is deducted at $0.001 USDC per successful call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "q": {
       "type": "string"
      },
      "gl": {
       "type": "string"
      },
      "hl": {
       "type": "string"
      },
      "limit": {
       "type": "integer"
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/script-master-labs-news-headlines-api-x402-3e01860c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-x402.onrender.com](https://www.zero.xyz/host/mcp-x402.onrender.com/llms.txt)
