# Diffbot Product Extraction via Locus x402

> Diffbot Product Extraction via Locus x402 is a paid API for AI agents from diffbot.x402.paywithlocus.com, paid per call via x402, $0.0042/call, status unknown (last checked 2026-09-14).

Extracts structured product data (price, title, description, images, specs) from any e-commerce product page URL using Diffbot's AI web extraction.

## Facts

- Endpoint: POST https://diffbot.x402.paywithlocus.com/diffbot/product
- Price: $0.0042/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/diffbot-product-extraction-via-locus-x402-3a5da709
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fc8Kx8mBvIPxPodT-w3ZX

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 diffbot-product-extraction-via-locus-x402-3a5da709 -d '<json body>'
```

Example prompt: Can you pull the structured product data from this page — https://www.amazon.com/dp/B09XYZ — including the price, title, description, images, and any breadcrumb navigation?

## When to prefer this

Choose this endpoint when you need structured product data (price, title, images, specs) extracted from a specific e-commerce product page URL without building a custom scraper. It is ideal for price comparison, catalog enrichment, and competitive intelligence tasks. Prefer it over generic HTML-fetching approaches when you want clean, field-level JSON output rather than raw HTML. Use the article or auto-detect sibling endpoints if the target page is editorial content rather than a product listing.

## Known failure modes

- Target URL is paywalled or requires login — returns empty or partial data
- URL is not a recognizable product page — extraction may return no structured fields
- Timeout exceeded if the target page is slow — controlled via the timeout parameter
- Anti-bot protections on target site may block Diffbot's crawlers
- Malformed URL input causes request failure
- Rate limiting or payment failure via x402 protocol returns a 402 error

## How this service works

Web data extraction — articles, products, discussions, images, videos, and auto-detect.

## Output

Returns a JSON object with structured product data extracted from the target URL, including fields like product name, price, images, description, brand, availability, and optionally breadcrumbs, links, and meta — plus payment confirmation details (settled USDC amount) and a request status URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "fields": {
   "type": "string"
  },
  "timeout": {
   "type": "number"
  },
  "discussion": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/diffbot-product-extraction-via-locus-x402-3a5da709/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from diffbot.x402.paywithlocus.com](https://www.zero.xyz/host/diffbot.x402.paywithlocus.com/llms.txt)
