# ScriptMasterLabs News Headlines API

> ScriptMasterLabs News Headlines API is a paid API for AI agents from acp-x402-scriptmasterlabs.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Fetches pay-per-call news headlines for a given search query, locale, and language, settled in USDC via x402 on Base

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/news-headlines?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-news-headlines-api-a8a3e4ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IPA-__VDuWT7X7-RAWdHo

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 scriptmasterlabs-news-headlines-api-a8a3e4ec
```

Example prompt: Search for the top 10 latest news headlines about 'bitcoin OR ethereum' in the US in English and show me what's trending right now.

## When to prefer this

Choose this endpoint when you need fast, pay-per-call news headline retrieval with crypto micropayment settlement via x402 on Base, especially when your workflow involves crypto, RWA, compliance, or SEC-related topics and you want per-call cost control at $0.001 USDC rather than a subscription-based news API.

## Known failure modes

- Missing or invalid query parameter returns an error or empty result set
- Payment failure via x402 protocol results in HTTP 402 and no data returned
- Invalid country code (gl) or language code (hl) may return unexpected locale results
- Limit parameter exceeding supported maximum may be capped or return an error
- Downstream news source unavailability may result in partial or empty results

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns a list of news headlines matching the search query, including article titles, sources, links, and publication timestamps, filtered by region and language as specified.

## 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",
     "properties": {
      "q": {
       "type": "string",
       "example": "bitcoin OR ethereum"
      },
      "gl": {
       "type": "string",
       "default": "US",
       "example": "US"
      },
      "hl": {
       "type": "string",
       "default": "en",
       "example": "en"
      },
      "limit": {
       "type": "integer",
       "default": 15,
       "example": 15
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

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