# Tollkit Extract

> Tollkit Extract is a paid API for AI agents from attest.tollkit.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Extracts structured product data from a single product page URL, billed per-call via x402 micropayment in USDC on Base or Solana — no account or API key required.

## Facts

- Endpoint: POST https://attest.tollkit.dev/extract?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollkit-extract-b69231ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lWyTIOIFnSZvwNipPCE5E

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 tollkit-extract-b69231ed -d '<json body>'
```

Example prompt: Can you pull all the product details — name, price, description, and specs — from this page: https://www.example.com/products/wireless-headphones-xm5? Don't follow any redirects if it bounces somewhere else.

## When to prefer this

Choose Tollkit Extract when you need on-demand, pay-per-call product data extraction from a specific product page URL with no upfront account setup or API key provisioning. It is ideal for sporadic or agent-driven lookups where subscribing to a scraping platform is overkill, and where x402 micropayment support (USDC on Base or Solana) is already in your stack. Prefer it over general-purpose scrapers when you specifically need structured product data and want the built-in redirect guard to avoid silently extracting the wrong page.

## Known failure modes

- URL is a search or category page rather than a single product page — request refused
- URL requires login or is behind a paywall — extraction fails or returns incomplete data
- URL redirects to a non-product page and allow_redirect is false — refused without charge
- URL is a private/internal address (e.g. localhost) — rejected
- URL is unreachable or times out — returns an error
- Product page uses heavy JavaScript rendering that blocks extraction — incomplete or empty result
- Payment transaction fails on Base or Solana — call not processed

## How this service works

Pay-per-call product page extraction. No account, no API key: pay in-band with x402 in USDC on Base or Solana.

## Output

Returns structured product data extracted from the given product page, including fields such as product name, price, description, images, and attributes. If the URL redirects to a non-product page (e.g. a category listing) and allow_redirect is false, the call is refused without charge.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Absolute https:// URL of ONE product page. Not a search or category page, not a login-gated page, and not a private address."
  },
  "allow_redirect": {
   "type": "boolean",
   "default": false,
   "description": "By default a URL that redirects to what looks like a different page (a discontinued item bouncing to its category listing) is refused free of charge rather than answered with the wrong product."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollkit-extract-b69231ed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from attest.tollkit.dev](https://www.zero.xyz/host/attest.tollkit.dev/llms.txt)
