llms.txt Content
# StripFeed
> API proxy that converts any URL to clean, token-efficient Markdown for AI agents.
No LLM is used internally. Conversion is deterministic (Readability + Turndown). The `model` parameter is for cost tracking only.
## API
Base URL: https://www.stripfeed.dev
### Fetch Endpoint
GET /api/v1/fetch?url={encoded_url}
Authorization: Bearer sf_live_xxx
Returns clean Markdown from any URL. Strips ads, navigation, scripts, and noise.
Query parameters:
- url (required): Target URL (http/https)
- format: markdown (default), json, text, html
- selector: CSS selector to extract specific elements
- model: AI model ID for cost tracking (e.g. claude-sonnet-4-6, gpt-5)
- cache: Set to "false" to bypass cache
- ttl: Custom cache TTL in seconds (default 3600, max 86400)
- max_tokens: Truncate output to fit within a token budget
Response headers include token counts, savings percentage, cache status, and rate limit info.
### Usage Endpoint
GET /api/v1/usage
Authorization: Bearer sf_live_xxx
Returns current monthly usage, plan, limit, remaining requests, and reset date.
### Batch Endpoint
POST /api/v1/batch
Authorization: Bearer sf_live_xxx
Content-Type: application/json
Process up to 10 URLs in parallel in a single request.
Body: { "urls": ["https://news.ycombinator.com", {"url": "https://...", "selector": "article"}], "model": "claude-sonnet-4-6" }
## MCP Server
Install the StripFeed MCP server for Claude Code, Cursor, or any MCP-compatible client:
```
npx -y @stripfeed/mcp-server
```
Requires STRIPFEED_API_KEY env var. Exposes fetch_url and batch_fetch tools.
npm: https://www.npmjs.com/package/@stripfeed/mcp-server
GitHub: https://github.com/StripFeed/mcp-server
## TypeScript SDK
```
npm install stripfeed
```
```typescript
import StripFeed from "stripfeed";
const sf = new StripFeed("sf_live_your_api_key");
const result = await sf.fetch("https://docs.anthropic.com");
console.log(result.markdown);
// Just Markdown
const md = await sf.fetchMarkdown("h
OpenAPI Spec (preview)
{"openapi":"3.1.0","info":{"title":"StripFeed x402 API","version":"2.0.0","description":"Convert any URL to clean Markdown for AI agents. Pay-per-request via x402 protocol on Base mainnet.","contact":{"email":"hello@stripfeed.dev","url":"https://www.stripfeed.dev"},"guidance":"See https://www.stripfeed.dev/llms.txt for full agent instructions."},"servers":[{"url":"https://www.stripfeed.dev"}],"x-discovery":{"ownershipProofs":["0x4396148a4ed8681dca7bd80e7aec6da64094a62940b101f94f4e2ea5a94e94f3107