# API Direct News Articles Search

> API Direct News Articles Search is a paid API for AI agents from x402.apidirect.io, paid per call via x402, $0.009/call, status unknown (last checked 2026-10-30).

Search for news articles from worldwide sources by keyword, with filters for country, language, source domain, and publication time.

## Facts

- Endpoint: GET https://x402.apidirect.io/v1/news/articles?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-direct-news-articles-search-65058536
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5P-TappYQ7eXhCX6kdvn-

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 api-direct-news-articles-search-65058536
```

Example prompt: Find me up to 20 English-language news articles from the last 7 days about artificial intelligence regulation — search worldwide sources and return what you find.

## When to prefer this

Choose this endpoint when you need to search news articles by keyword across a broad set of worldwide sources, especially when you want to filter by country, language, source domain, or recency. Prefer it over social media search endpoints when editorial/journalistic content is needed. It supports up to 100 results per call and fine-grained time filters (last hour, day, week, year, or anytime).

## Known failure modes

- Blank or missing query parameter returns an error — query is required and cannot be empty
- Invalid country code (not exactly 2 letters) returns a validation error
- Invalid language code (not exactly 2 letters) returns a validation error
- Invalid time_published value outside the allowed enum returns a validation error
- limit out of range (below 1 or above 100) returns a validation error
- Fewer articles than requested may be returned if insufficient results exist for the query
- Payment failure via x402 protocol blocks the request entirely

## How this service works

Search for news articles from worldwide sources by keyword.

## Output

A list of news articles matching the search query, each including metadata such as title, URL, source domain, and publication date. The response includes a count of how many articles were returned (up to the requested limit).

## 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": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 100,
       "minimum": 1,
       "description": "Maximum number of results to return (1-100). Fewer may come back; the response count field reports how many articles were returned."
      },
      "query": {
       "type": "string",
       "maxLength": 500,
       "description": "Search query (max 500 characters, cannot be blank)"
      },
      "source": {
       "type": "string",
       "description": "Filter by news source domain (e.g., bbc.com, reuters.com, cnn.com)"
      },
      "country": {
       "type": "string",
       "default": "us",
       "maxLength": 2,
       "minLength": 2,
       "description": "2-letter ISO 3166-1 alpha-2 country code (e.g., us, gb, de, jp). Must be exactly 2 letters."
      },
      "language": {
       "type": "string",
       "default": "en",
       "maxLength": 2,
       "minLength": 2,
       "description": "2-letter ISO 639-1 language code (e.g., en, es, fr, de, ja). Must be exactly 2 letters."
      },
      "time_published": {
       "enum": [
        "anytime",
        "1h",
        "1d",
        "7d",
        "1y"
       ],
       "type": "string",
       "default": "anytime",
       "description": "Filter by publication time: anytime, 1h, 1d, 7d, or 1y"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-direct-news-articles-search-65058536/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.apidirect.io](https://www.zero.xyz/host/x402.apidirect.io/llms.txt)
