# Open Graph & Twitter Card Extractor

> Open Graph & Twitter Card Extractor is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Extracts Open Graph and Twitter Card metadata fields from a URL to preview how it will render in social feeds and AI agents.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/open-graph
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-delx-ai-7f8481e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wiFFM7Fm3vjHcSA1AEeYk

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 api-delx-ai-7f8481e2 -d '<json body>'
```

Example prompt: Can you pull the Open Graph and Twitter Card metadata from https://example.com/blog/my-post so I can see how it'll look when shared in a social feed or agent context?

## When to prefer this

Use this endpoint when you need to extract social preview metadata (OG/Twitter Card) from a specific URL — ideal for link unfurling, feed previews, content curation pipelines, or verifying how a page will render before sharing. Prefer this over a general page scraper when you specifically need structured social meta tags rather than full page content or body text.

## Known failure modes

- URL is unreachable or returns non-200 status — extraction fails with error
- Target page has no Open Graph or Twitter Card tags — returns empty or partial fields
- URL points to a PDF or non-HTML resource — meta tag extraction may be incomplete
- Malformed URL input — returns validation error
- Target page blocks crawlers via robots.txt or headers — may return incomplete data

## How this service works

Open Graph metadata API for agents: extract Open Graph and Twitter card fields from a public URL for $0.01 USDC so agents can unfurl links and preview how a page renders in feeds.

## Output

Returns extracted Open Graph fields (og:title, og:description, og:image, og:url, og:type, etc.) and Twitter Card fields (twitter:card, twitter:title, twitter:description, twitter:image) from the target URL, giving a structured preview of how the page will render when linked in social feeds or AI agent contexts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "HTTP or HTTPS URL to fetch"
  },
  "timeout": {
   "type": "integer",
   "maximum": 15,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "image": "",
   "title": "Example Domain",
   "twitter": {},
   "site_name": "Example",
   "open_graph": {
    "og:title": "Example Domain"
   },
   "description": "Illustrative example site for docs and testing."
  },
  "tool_name": "util_open_graph"
 }
}
```

## More

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