# AgentKit Fetch Markdown

> AgentKit Fetch Markdown is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-24).

Fetches a URL and returns its content as clean markdown text, along with character count

## Facts

- Endpoint: POST https://api.firstmention.uk/s/agentkit/fetchmd?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentkit-fetch-markdown-c11ae29b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4AOyqw9I-AEnMvn3W7WBT

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 agentkit-fetch-markdown-c11ae29b -d '<json body>'
```

Example prompt: Fetch the page at https://docs.example.com/getting-started and give me its contents as markdown so I can read and summarize it.

## When to prefer this

Use this endpoint when you need a URL's content converted to clean markdown and you are already operating in an x402/USDC micropayment context. Prefer it over generic scraping tools when you want a pay-per-call model with no subscription, and when markdown-formatted output is specifically required for downstream LLM consumption or document processing.

## Known failure modes

- URL is unreachable or returns a non-200 status — empty or error response
- URL points to a non-HTML resource (PDF, image) — markdown may be empty or malformed
- Page is behind authentication or a paywall — content may be missing or partial
- Malformed URL input — API returns a validation error
- Rate limiting or network timeout — API may return an error or delayed response

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

A JSON object containing the fetched page's content as a markdown string and a character count (chars). Example: {"chars": 120, "markdown": "# Example"}

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "budget": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chars": 120,
  "markdown": "# Example"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentkit-fetch-markdown-c11ae29b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
