# BaseBuilder Search – ScrapeNinja Scraping Endpoint

> BaseBuilder Search – ScrapeNinja Scraping Endpoint is a paid API for AI agents from bb-search.vercel.app, paid per call via x402, $0.12386/call, status unknown (last checked 2026-09-15).

Scrapes web pages using the ScrapeNinja scraping engine via the BaseBuilder Search API hub

## Facts

- Endpoint: POST https://bb-search.vercel.app/api/scrapeninja
- Price: $0.12386/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basebuilder-search-scrapeninja-scraping-endpoint-b0c2e0e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hQJj8beUzxG-HLbJbXRl3

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 basebuilder-search-scrapeninja-scraping-endpoint-b0c2e0e9 -d '<json body>'
```

Example prompt: Scrape the full HTML content of https://example.com/products/widget-42 for me — use ScrapeNinja to get past any bot protection and return the raw page source.

## When to prefer this

Choose this endpoint when you need to scrape web pages that require anti-bot bypass or JavaScript rendering, and you are already operating within the x402 micropayment ecosystem. Prefer this over raw HTTP fetches when the target site blocks simple requests, and over full browser automation when cost and speed matter.

## Known failure modes

- Target URL is unreachable or returns an error (4xx/5xx from origin site)
- Anti-bot measures too aggressive for ScrapeNinja to bypass
- Payment of $0.12386 USDC not settled, resulting in 402 Payment Required
- Invalid or malformed URL input
- Scraping timeout if target page is too slow to load
- Rate limiting by the BaseBuilder Search hub

## How this service works

BaseBuilder Search API hub - 18 paid endpoints

## Output

Returns the scraped HTML or text content of the target web page, along with HTTP response metadata such as status code and headers, fetched via the ScrapeNinja engine which handles JavaScript rendering and anti-bot bypass.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basebuilder-search-scrapeninja-scraping-endpoint-b0c2e0e9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bb-search.vercel.app](https://www.zero.xyz/host/bb-search.vercel.app/llms.txt)
