# DopamineDesk Web Scrape to Markdown

> DopamineDesk Web Scrape to Markdown is a paid API for AI agents from ai-data-marketplace-1042299154756.us-central1.run.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Fetches a URL and returns its main content converted to clean Markdown, including title and content length metadata.

## Facts

- Endpoint: GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/scrape_md
- 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/dopaminedesk-web-scrape-to-markdown-5df94acc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kAhifZZf0iWP9rqO9HqB1

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 dopaminedesk-web-scrape-to-markdown-5df94acc
```

Example prompt: Can you scrape the article at https://example.com/article/tech-news and give me the content as clean markdown? Use a 10000ms timeout.

## When to prefer this

Choose this endpoint when you need to extract readable, structured Markdown content from a public web page quickly and cheaply ($0.003/call via USDC x402). It is ideal for agents that need to read articles, documentation, or product pages without dealing with raw HTML. Prefer it over browser-automation alternatives when page content is server-rendered and low-latency conversion to Markdown is sufficient.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — status field will reflect failure
- Timeout exceeded (timeout_ms too low for slow pages) — request aborted
- URL is blocked by anti-scraping measures (CAPTCHAs, bot detection) — may return empty or partial markdown
- Invalid URL format — likely returns a validation error
- JavaScript-heavy single-page apps may return incomplete content if JS is not rendered

## How this service works

Fetch a public HTTP(S) page with private-network blocking, remove boilerplate tags, and return bounded Markdown-like text.

## Output

A JSON object containing the original URL, the extracted page title, a success/failure status string, the full page content converted to clean Markdown, and the content length in characters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "The target URL to scrape."
      },
      "timeout_ms": {
       "type": "integer",
       "description": "Request timeout in milliseconds."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "source",
      "fetched_at",
      "url",
      "status_code",
      "title",
      "truncated",
      "markdown",
      "marketplace_metadata"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "title": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "success": {
       "type": "boolean"
      },
      "markdown": {
       "type": "string"
      },
      "truncated": {
       "type": "boolean"
      },
      "fetched_at": {
       "type": "string"
      },
      "status_code": {
       "type": "integer"
      },
      "marketplace_metadata": {
       "type": "object",
       "required": [
        "data_mode",
        "billable",
        "availability",
        "source"
       ],
       "properties": {
        "source": {
         "type": "string"
        },
        "billable": {
         "type": "boolean"
        },
        "data_mode": {
         "type": "string"
        },
        "availability": {
         "type": "string"
        }
       },
       "additionalProperties": true
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/",
  "title": "Example Domain",
  "source": "live public web fetch",
  "success": true,
  "markdown": "Example Domain\n# Example Domain\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\nLearn more",
  "truncated": false,
  "fetched_at": "2026-08-07T07:32:38.884Z",
  "status_code": 200,
  "marketplace_metadata": {
   "source": "live public web fetch",
   "billable": true,
   "data_mode": "live_source",
   "availability": "operational"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dopaminedesk-web-scrape-to-markdown-5df94acc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-data-marketplace-1042299154756.us-central1.run.app](https://www.zero.xyz/host/ai-data-marketplace-1042299154756.us-central1.run.app/llms.txt)
