Skip to content
Back to skills

Keirouter Web Fetch

BSecurity

Fetch URL → markdown / text / HTML via KeiRouter /v1/web/fetch using Firecrawl / Tavily Extract / Exa Contents. Use when the user wants to scrape a webpage, extract URL content, read article, or convert a URL to markdown.

  • 167 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added August 30, 2026
ai-agentsbashgit

Security analysis

B88/100
  • criticalExfiltrates credentials via HTTP — exact pattern from Snyk ToxicSkills study

Pro shows the line behind each finding and how to fix it

Scanned November 9, 2026

npx -y skills add mydisha/keirouter --skill keirouter-web-fetch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Keirouter Web Fetch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Keirouter Web Fetch
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/mydisha-keirouter-web-fetch/badge)](https://www.skillsdirectory.com/skills/mydisha-keirouter-web-fetch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: keirouter-web-fetch
description: Fetch URL → markdown / text / HTML via KeiRouter /v1/web/fetch using Firecrawl / Tavily Extract / Exa Contents. Use when the user wants to scrape a webpage, extract URL content, read article, or convert a URL to markdown.
---

# KeiRouter — Web Fetch

Requires `KEIROUTER_URL` (and `KEIROUTER_KEY` if auth enabled). See https://raw.githubusercontent.com/mydisha/keirouter/main/skills/keirouter/SKILL.md for setup.

## Discover

```bash
curl $KEIROUTER_URL/v1/models/fetch | jq '.data[].id'
curl "$KEIROUTER_URL/v1/models/info?id=firecrawl/firecrawl-scrape"
```

`model` is `provider/model` (e.g. `firecrawl/firecrawl-scrape`), a chain name that lists several fetch providers for automatic fallback, or an alias.

## Endpoint

`POST $KEIROUTER_URL/v1/web/fetch`

| Field | Required | Notes |
|---|---|---|
| `model` | yes | from `/v1/models/fetch` |
| `url` | yes | URL to extract |
| `format` | no | `markdown` (default) / `text` / `html` |
| `max_characters` | no | truncate output |

## Examples

### Firecrawl
```bash
curl -X POST $KEIROUTER_URL/v1/web/fetch \
  -H "Authorization: Bearer $KEIROUTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"firecrawl/firecrawl-scrape","url":"https://example.com","format":"markdown"}'
```

### Tavily
```bash
curl -X POST $KEIROUTER_URL/v1/web/fetch \
  -H "Authorization: Bearer $KEIROUTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"tavily/tavily-extract","url":"https://example.com","format":"markdown"}'
```

JS:

```js
const r = await fetch(`${process.env.KEIROUTER_URL}/v1/web/fetch`, {
  method: "POST",
  headers: { "Authorization": `Bearer ${process.env.KEIROUTER_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ model: "exa/exa-contents", url: "https://example.com", max_characters: 5000 }),
});
const page = await r.json();
console.log(page.title, page.content.length);
```

## Response shape

```json
{
  "url": "https://example.com",
  "title": "Example Domain",
  "content": "# Example Domain\n...",
  "format": "markdown"
}
```

The `X-KeiRouter-Provider` header names the provider that answered.

## Provider quick reference

| Provider | `model` | Best for |
|---|---|---|
| Firecrawl | `firecrawl/firecrawl-scrape` | JS-rendered pages, `format=markdown/html` |
| Tavily | `tavily/tavily-extract` | Bulk extract |
| Exa | `exa/exa-contents` | Pre-indexed pages; fast text extraction |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.