# ScrapFly Books Search API

> ScrapFly Books Search API is a paid API for AI agents from test-scrapfly.orbonomy.xyz, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Searches for books by query string and returns structured book data results

## Facts

- Endpoint: POST https://test-scrapfly.orbonomy.xyz/api/search/books
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-books-search-api-0c96db1a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5Vz5AkbP8IAfKEBJloSM3

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 scrapfly-books-search-api-0c96db1a -d '<json body>'
```

Example prompt: Search for books about machine learning and return the top 5 results with their details.

## When to prefer this

Use this endpoint when you need to search for books by title, author, topic, or keyword and retrieve structured book data. Prefer this over general web scraping endpoints when the specific goal is book discovery or catalog lookup.

## Known failure modes

- Missing required 'query' field returns validation error
- Empty query string may return no results
- Network timeout if upstream book data source is slow
- Invalid num value (e.g. negative or non-numeric) may cause error
- Service unavailable if payment via x402 on Base chain fails

## How this service works

69 endpoints for data, content generation, and web scraping. Pay per request via x402 on Base chain.

## Output

Returns a JSON object with a success boolean and a data object containing book search results matching the query, including relevant book metadata such as titles, authors, and other available details.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapfly-books-search-api-0c96db1a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from test-scrapfly.orbonomy.xyz](https://www.zero.xyz/host/test-scrapfly.orbonomy.xyz/llms.txt)
