# Diffbot Video Extractor via Locus x402

> Diffbot Video Extractor 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 metadata and content from video pages using Diffbot's AI, paid per-call via x402 micropayments.

## Facts

- Endpoint: POST https://diffbot.x402.paywithlocus.com/diffbot/video
- 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-video-extractor-via-locus-x402-e45ce99e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tp37gOrU9oKt6GVQee-z9

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-video-extractor-via-locus-x402-e45ce99e -d '<json body>'
```

Example prompt: Can you extract the structured video metadata — title, description, author, duration, and thumbnail — from this video page: https://www.youtube.com/watch?v=dQw4w9WgXcQ? Also pull any comments if available.

## When to prefer this

Choose this endpoint when you need structured, AI-parsed video metadata from any video hosting page without writing custom scrapers. It's ideal when the target page is on a non-standardized platform (not just YouTube's official API), when you want a unified extraction interface across many video sites, or when you need comments/discussion alongside video metadata. Prefer it over general-purpose scraping when you specifically need video-typed structured output.

## Known failure modes

- URL is not a video page — Diffbot returns empty or misclassified data
- Target page blocks scrapers or requires authentication — extraction fails or returns partial data
- Timeout exceeded for slow-loading pages — request times out with error
- Invalid or malformed URL — API returns error response
- Page has dynamic JavaScript content that isn't fully rendered — incomplete extraction
- USDC payment authorization fails — request is rejected before processing

## How this service works

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

## Output

Returns a JSON object with structured video data extracted from the target page (title, author, duration, thumbnail, video URL, description, and optionally comments/discussion threads, links, breadcrumb, and other metadata), plus payment settlement details and a request ID for status tracking.

## 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-video-extractor-via-locus-x402-e45ce99e/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)
