# DDG Fetch-as-Markdown

> DDG Fetch-as-Markdown is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Fetches a web URL via HTTP and returns its content converted to clean Markdown, payable per-call via x402 USDC micropayment.

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/fetch-as-markdown
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-fetch-as-markdown-ca4c2a4c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Zi77fnuyOUpBfTpuyX5kB

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 ddg-fetch-as-markdown-ca4c2a4c -d '<json body>'
```

Example prompt: Can you fetch the content of https://example.com/article and give it to me as clean markdown so I can read through it?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use web fetch that returns clean Markdown without managing a browser instance or scraping infrastructure. It is ideal for AI agents that need readable page content on demand and want to pay micro-amounts per fetch via x402 USDC rather than subscribing to a monthly scraping plan. Prefer it over raw HTTP fetch when downstream processing expects Markdown rather than raw HTML.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — fetch fails with error
- Payment not settled via x402 before request — 402 Payment Required response
- URL requires JavaScript rendering that the server-side fetcher cannot execute — incomplete or empty markdown
- Malformed input body missing required fields (type, method, bodyType, body) — validation error
- Rate limiting or blocking by the target website — fetch returns partial or empty content

## How this service works

Machine-payable DDG services for AI agents. Current public live payment rails are x402 multi-chain USDC and direct-crypto auto/manual for public receiving-address families. MPP/Stripe/Tempo is installed but pending live provider env plus penny-settlement proof before any MPP-live advertisement. DDG sells bounded artifacts/results, not raw provider account access.

## Output

Returns a JSON object with an 'ok' boolean status and the fetched page content rendered as clean Markdown text, suitable for downstream text processing, summarization, or agent consumption.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "ok": true
    }
   },
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-fetch-as-markdown-ca4c2a4c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.daedalusdevelopmentgroup.com](https://www.zero.xyz/host/agents.daedalusdevelopmentgroup.com/llms.txt)
