# WhatChuNeed Book Search API

> WhatChuNeed Book Search API is a paid API for AI agents from whatchuneed.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-15).

Search for books by query string, returning relevant book results and metadata

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/search/books
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whatchuneed-book-search-api-d4ce2a13
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AFyv-UsCwluI6Vjn_uLjk

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 whatchuneed-book-search-api-d4ce2a13 -d '<json body>'
```

Example prompt: Can you search for books about machine learning for beginners and show me what comes up?

## When to prefer this

Choose this endpoint when you need to search or discover books by title, author, topic, or keyword within a pay-per-call API context. It is suitable for lightweight, one-off book lookups without needing a dedicated book database subscription. Best used when already integrated with the WhatChuNeed platform and x402 payment protocol.

## Known failure modes

- Empty or vague query string returns no results or irrelevant matches
- Query for a very obscure book may return empty results
- Malformed request body missing the 'input' field returns a validation error
- Network timeout or service unavailability returns an error status
- Payment failure via x402 protocol blocks the request before it reaches the search logic

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

Returns a result object containing book data matching the query, such as titles, authors, descriptions, and other relevant book metadata, along with a status field indicating success or failure.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Request input"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "Response data"
  },
  "status": {
   "type": "string"
  }
 }
}
```

## More

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