# DataPipe API — Top News Search

> DataPipe API — Top News Search 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).

Fetches top news articles matching a search query, paid via x402 on Base chain

## Facts

- Endpoint: POST https://kidnapi.vercel.app/api/news/top
- 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-api-top-news-search-8f54b492
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CRlomUkzU04wxRGZSr6JJ

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-api-top-news-search-8f54b492 -d '<json body>'
```

Example prompt: Can you pull the top news articles about the US Federal Reserve interest rate decision right now?

## When to prefer this

Choose this endpoint when an agent needs to retrieve top news articles on a specific topic using a keyword query and can pay $0.05 USDC per call via x402 on Base chain. Prefer this over general web search endpoints when the user specifically wants news content rather than general web results.

## Known failure modes

- Missing required 'query' field returns a validation error
- Empty or overly vague query may return sparse or irrelevant results
- Payment failure via x402 on Base chain blocks the request
- Rate limiting or upstream news source unavailability may cause failures
- Service hosted on Vercel may have cold-start latency or downtime

## 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 top news articles matching the query — likely including headlines, sources, and article metadata relevant to the search term.

## 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-api-top-news-search-8f54b492/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)
