# DataBG Web Metadata Extractor

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

Fetches and returns structured metadata (title, description, Open Graph, Twitter Card, canonical URL, robots, language) for any given web page URL.

## Facts

- Endpoint: POST https://api.databg.tech/v1/web/metadata
- Price: $0.003/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-metadata-extractor-e820eb3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SeG7auXiPJSsI9E8lORjA

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-metadata-extractor-e820eb3f -d '<json body>'
```

Example prompt: Can you fetch the metadata for https://techcrunch.com/2024/01/15/openai-news/ — I need the page title, description, Open Graph tags, and canonical URL.

## When to prefer this

Choose this endpoint when you need structured, machine-readable metadata extracted from a single webpage — especially Open Graph, Twitter Card, canonical URLs, and robots directives — without running a full browser or scraping pipeline. It is ideal for link preview generation, SEO audits, content enrichment, and lightweight page intelligence tasks where you need fast, pay-per-call access with no setup.

## Known failure modes

- URL is unreachable or returns a non-200 status — success will be false and status will reflect the HTTP error code
- URL points to a page with no metadata tags — title, description, open_graph, twitter fields may be null
- URL resolves to a binary file or non-HTML content — content_type will be set but metadata fields will largely be null
- Malformed or invalid URL input — request will fail validation
- Paywalled or bot-blocked pages may return incomplete or login-wall metadata

## 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 page title, meta description, canonical URL, final (post-redirect) URL, HTTP status code, detected language, content type, robots meta directives, Open Graph object, Twitter Card object, and an extraction timestamp — all structured and ready for programmatic use.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "title": {
   "type": [
    "string",
    "null"
   ]
  },
  "robots": {
   "type": [
    "string",
    "null"
   ]
  },
  "status": {
   "type": "integer"
  },
  "success": {
   "type": "boolean"
  },
  "twitter": {
   "type": [
    "object",
    "null"
   ]
  },
  "language": {
   "type": [
    "string",
    "null"
   ]
  },
  "canonical": {
   "type": [
    "string",
    "null"
   ]
  },
  "final_url": {
   "type": "string"
  },
  "open_graph": {
   "type": [
    "object",
    "null"
   ]
  },
  "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-metadata-extractor-e820eb3f/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)
