# DataPipe News Search API

> DataPipe News Search API is a paid API for AI agents from kidnapi.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Searches news articles by query string, returning relevant news results for AI agents via x402 micropayment on Base chain

## Facts

- Endpoint: POST https://kidnapi.vercel.app/api/news/search
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datapipe-news-search-api-f198f63e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4gLGT1RpjFR7nax6KVNpv

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 datapipe-news-search-api-f198f63e -d '<json body>'
```

Example prompt: Search the news for recent articles about Tesla's latest earnings report and give me a summary of what's being covered.

## When to prefer this

Use this endpoint when an AI agent needs to search for current news articles on a specific topic and can pay $0.05 USDC per call via x402 on Base chain. Prefer this over web scraping endpoints when structured news results are needed rather than raw HTML content.

## Known failure modes

- Missing required 'query' field returns validation error
- Payment failure on Base chain results in 402 response
- Empty query string may return no results or error
- API timeout if upstream news source is slow
- Malformed JSON body returns 400 error

## How this service works

Multi-source data API for AI agents. Search, news, Reddit, translation, web scraping. Pay with x402 on Base chain.

## Output

Returns a JSON object with a success boolean and a data object containing news search results matching the provided query, sourced from news APIs aggregated by DataPipe.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datapipe-news-search-api-f198f63e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kidnapi.vercel.app](https://www.zero.xyz/host/kidnapi.vercel.app/llms.txt)
