# JEGA Markdown Proxy for LLM RAG Pipelines

> JEGA Markdown Proxy for LLM RAG Pipelines is a paid API for AI agents from api.jega.digital, paid per call via x402, $0.005/call, status down (last checked 2026-09-15).

Fetches a target URL, bypasses bot protections and renders JavaScript, then returns clean token-efficient Markdown suitable for LLM context injection and vector embeddings

## Facts

- Endpoint: GET https://api.jega.digital/api/render/markdown
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-jega-digital-93a06a4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h8F1AHlhr1dxaApQOKS2c

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-jega-digital-93a06a4f
```

Example prompt: Fetch the content of https://docs.anthropic.com/en/docs/overview and give it to me as clean markdown I can drop straight into my RAG pipeline — make sure it handles the JavaScript rendering and strips out all the nav clutter.

## When to prefer this

Use this endpoint when you need to ingest live web content into an LLM pipeline and the target page is JavaScript-rendered, behind Cloudflare, or otherwise hard to scrape with standard HTTP clients. It is purpose-built for RAG and agent pipelines where clean, token-efficient markdown is the required output format rather than raw HTML or structured JSON.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — endpoint may return an error or empty response
- Target site uses anti-bot measures beyond Cloudflare that cannot be bypassed — partial or failed content
- SPA page takes too long to render JavaScript — timeout error
- Malformed or missing URL query parameter — validation error returned
- Target page has no meaningful text content — near-empty markdown output

## How this service works

Premium Markdown proxy optimized for LLM RAG pipelines.

## Output

Clean, DOM-clutter-free Markdown of the target webpage, rendered after JavaScript execution and Cloudflare bypass, optimized for token efficiency and ready for vector embedding or LLM context window injection.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "url": "https://example.com"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "The target website URL."
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "errors",
  "results"
 ],
 "properties": {
  "errors": {
   "type": "array",
   "items": {
    "type": "unknown"
   }
  },
  "results": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "url",
     "text",
     "title",
     "author",
     "format",
     "language",
     "final_url",
     "latency_ms",
     "description",
     "published_date"
    ],
    "properties": {
     "url": {
      "type": "string"
     },
     "text": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "author": {
      "type": "null"
     },
     "format": {
      "type": "string"
     },
     "language": {
      "type": "string"
     },
     "final_url": {
      "type": "string"
     },
     "latency_ms": {
      "type": "number"
     },
     "description": {
      "type": "null"
     },
     "published_date": {
      "type": "null"
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-jega-digital-93a06a4f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.jega.digital](https://www.zero.xyz/host/api.jega.digital/llms.txt)
