# DataPipe API — Autocomplete

> DataPipe API — Autocomplete is a paid API for AI agents from kidnapi.vercel.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-13).

Returns autocomplete suggestions for a given query string, aggregating data from multiple sources including search, news, and Reddit

## Facts

- Endpoint: POST https://kidnapi.vercel.app/api/autocomplete
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datapipe-api-autocomplete-f3b76276
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LaUCUBfAWGp61-AKQ_VLq

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-autocomplete-f3b76276 -d '<json body>'
```

Example prompt: What are the autocomplete suggestions for the query 'climate change solutions' — use the DataPipe multi-source API to get search completions for that phrase?

## When to prefer this

Use this endpoint when you need autocomplete or query suggestion functionality backed by multiple data sources (search engines, news, Reddit) and you are willing to pay $0.03 USDC per call via the x402 protocol on Base chain. Prefer this when you want diverse, multi-source completions rather than a single provider's suggestions.

## Known failure modes

- Missing required 'query' field returns validation error
- Empty query string may return empty suggestions
- Network timeout on Vercel serverless cold start
- Payment failure on Base chain blocks request
- Upstream data source (search/news/Reddit) unavailable returns partial or empty results

## How this service works

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

## Output

A JSON object with a success boolean and a data object containing autocomplete suggestions or completions for the provided query string, sourced from multiple data providers.

## 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-autocomplete-f3b76276/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)
