# DataBG Web Extract

> DataBG Web Extract is a paid API for AI agents from api.databg.tech, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Fetches a URL and returns structured web content including extracted text, links, title, description, and metadata

## Facts

- Endpoint: POST https://api.databg.tech/v1/web/extract
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/databg-web-extract-7b70e7d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BSYSV4Ad-EY7QjwqlYuUy

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 databg-web-extract-7b70e7d0 -d '<json body>'
```

Example prompt: Pull the full text, links, and metadata from https://techcrunch.com/2024/01/15/openai-news/ so I can read what the page actually says.

## When to prefer this

Choose this endpoint when you need to programmatically fetch and read the content of a specific known URL — particularly when you need the page text, outbound links, and metadata (title, description, canonical) in a single structured response. Ideal for AI agents that need to read web pages as part of a workflow, when you have a concrete URL and want a fast, cheap ($0.005) extraction without running a full browser. Less suitable when you need JavaScript-rendered content, full DOM access, or when you need to search for pages rather than fetch a known URL.

## Known failure modes

- URL is unreachable or returns a non-2xx status — success:false with the HTTP status code populated
- URL points to a non-HTML resource (PDF, binary) — text may be empty or garbled, content_type reflects actual type
- Paywalled or bot-protected pages may return minimal or no text content
- Invalid or malformed URL input — likely a 4xx error response
- Page loads via JavaScript rendering only — static extraction may miss dynamic content

## How this service works

Global structured data and machine-payable tools built for AI agents, developers and intelligent applications.

## Output

Returns a JSON object containing the original URL, final redirected URL, canonical URL, HTTP status code, page title, meta description, full extracted text body, an array of all hyperlinks found on the page, total link count, content type, and an ISO 8601 timestamp of when the extraction occurred, plus a boolean success flag.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "text": {
   "type": "string"
  },
  "links": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "title": {
   "type": [
    "string",
    "null"
   ]
  },
  "status": {
   "type": "integer"
  },
  "success": {
   "type": "boolean"
  },
  "canonical": {
   "type": [
    "string",
    "null"
   ]
  },
  "final_url": {
   "type": "string"
  },
  "link_count": {
   "type": "integer"
  },
  "description": {
   "type": [
    "string",
    "null"
   ]
  },
  "content_type": {
   "type": "string"
  },
  "extracted_at": {
   "type": "string",
   "format": "date-time"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/databg-web-extract-7b70e7d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.databg.tech](https://www.zero.xyz/host/api.databg.tech/llms.txt)
