# CodeShot Web Scrape Endpoint

> CodeShot Web Scrape Endpoint is a paid API for AI agents from drmadmeow.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Scrapes a web URL and returns its content, as part of the CodeShot suite of code screenshot and web tools for AI agents

## Facts

- Endpoint: POST https://drmadmeow.up.railway.app/v1/agent/scrape?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/codeshot-web-scrape-endpoint-d84acb76
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mBbCZXiEgCEleS3DWK1Bv

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 codeshot-web-scrape-endpoint-d84acb76 -d '<json body>'
```

Example prompt: Can you scrape the content of https://example.com/blog/latest-post and return the text or HTML from that page?

## When to prefer this

Use this endpoint when you need to fetch or scrape the content of an arbitrary web URL as part of an AI agent workflow, especially when you're already using the CodeShot suite for code screenshots and want a unified pay-per-use scraping tool with x402 micropayment support at $0.01 USDC per call.

## Known failure modes

- URL is unreachable or returns a non-200 status — may return an error object
- Payment not included or insufficient — returns 402 Payment Required
- Malformed or missing URL in request body — returns 400 Bad Request
- Target site blocks scraping bots — may return empty or partial content
- Railway hosting timeout if target site is slow

## How this service works

Beautiful code screenshots and web tools via API. Pay-per-use for AI agents via x402 and MPP.

## Output

Returns an object containing the scraped content from the requested URL — typically the page's HTML or extracted text content.

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/codeshot-web-scrape-endpoint-d84acb76/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from drmadmeow.up.railway.app](https://www.zero.xyz/host/drmadmeow.up.railway.app/llms.txt)
