# ScriptMasterLabs ACP x402 News Headlines API

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

Fetches pay-per-call news headlines filtered by keyword query, locale, and language, settled in USDC on Base via x402.

## Facts

- Endpoint: GET https://acp-x402-discovery.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/scriptmasterlabs-acp-x402-news-headlines-api-979b6a3d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7GX942wH6fS-5HY9YcNmR

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-acp-x402-news-headlines-api-979b6a3d
```

Example prompt: Pull me the latest 15 news headlines about 'bitcoin OR ethereum' in English for the US — pay with USDC via x402 if needed.

## When to prefer this

Choose this endpoint when you need real-time or recent news headlines filtered by keyword in a pay-per-call model settled in USDC on Base. It is well-suited for crypto, financial, compliance, and regulatory news monitoring where you want to pay only for the queries you make rather than maintaining a subscription.

## Known failure modes

- Missing or empty query parameter returns no results or an error
- Unsupported gl/hl locale codes may fall back to defaults or return errors
- Payment not settled via x402 results in 402 Payment Required response
- Rate limiting or upstream news provider outage may cause failures
- Invalid limit value may be rejected or clamped to defaults

## 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 (up to the requested limit, default 15) matching the keyword query, localized by country and language. Each result typically includes article title, source, and publication metadata.

## 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-acp-x402-news-headlines-api-979b6a3d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
