# Orchard

> Small pay-per-call tools for AI agents. No account or API key: pay each call in USDC on Base with x402 (v1 X-PAYMENT or v2 PAYMENT-SIGNATURE).

## How to call

1. Send the request to the tool's URL.
2. You get HTTP 402 with the price (v1 JSON body, v2 PAYMENT-REQUIRED header).
3. Sign a USDC transferWithAuthorization for that amount and retry with the payment header.
4. You get the result plus a receipt header. Any x402 client library does steps 2-4 for you.

## Try before you pay

- Free samples: tools priced up to $0.02 can be called a few times a day for free at https://tools.orchardshop.xyz/try/<tool> (same inputs as /t/<tool>).
- MCP: connect any MCP client to https://tools.orchardshop.xyz/mcp (Streamable HTTP). Calls use the same free allowance, then point you to x402.

## Tools

- [page-to-text](https://tools.orchardshop.xyz/t/page-to-text): Fetches a public web page and returns its readable text as JSON: url, status, title, char count, and clean text with scripts, styles and tags stripped. Blocks private/localhost addresses. Price: $0.01. GET (GET ?url=https://example.com)
- [text-stats](https://tools.orchardshop.xyz/t/text-stats): Send plain text as the raw POST body and get back word count, sentence count, character count, estimated reading minutes, and the top 10 keywords (stopwords removed). Price: $0.01. POST (POST / with plain text as the body)
- [hash-encode](https://tools.orchardshop.xyz/t/hash-encode): POST raw text as the body and get back its byte count, sha256, sha1, md5, hex, base64 and base64url encodings. Useful for checksums, IDs and encoding a value mid-task. Price: $0.01. POST (POST / with raw text as the body)
- [csv-to-json](https://tools.orchardshop.xyz/t/csv-to-json): POST raw CSV as the body (first row is headers) and get back a JSON array of row objects, plus column names and row count. Handles quoted fields, commas and newlines inside quotes, and escaped quotes. Price: $0.01. POST (POST / with raw CSV text as the body)
- [slugify](https://tools.orchardshop.xyz/t/slugify): POST titles as JSON {"titles": [...]} or as raw text with one title per line, and get back URL-safe slugs. Strips accents, lowercases, removes apostrophes and collapses other punctuation to single hyphens. Up to 500 titles per call. Price: $0.01. POST (POST / with JSON {"titles": [...]} as the body, or one title per line as raw text)
- [json-to-csv](https://tools.orchardshop.xyz/t/json-to-csv): POST a JSON array of flat objects (or {"rows":[...]}) and get CSV back. Columns are the union of all keys in order of first appearance. Values are quoted and escaped per RFC 4180. Nested objects are stored as JSON text. Up to 5000 rows per call. Price: $0.01. POST (POST / with a JSON array of objects, or {"rows":[...]}, as the body)
- [markdown-strip](https://tools.orchardshop.xyz/t/markdown-strip): POST raw markdown as the request body and get plain text back. Removes headings, emphasis, links (keeps the label), images (keeps the alt text), list markers, blockquotes, HTML tags and code fences (keeps code contents). Useful before summarizing or indexing markdown documents. Price: $0.01. POST (POST / with raw markdown as the body (text/plain))
- [page-to-markdown](https://tools.orchardshop.xyz/t/page-to-markdown): Fetches any public http(s) page and returns clean Markdown: headings (#), paragraphs, lists, links with absolute URLs, bold/italic, and code blocks. Scripts, styles and nav/footer are removed. Output is capped at the first 50,000 characters, with a truncated flag. Blocks localhost and private addresses. Returns JSON with url, status, title, chars, truncated and markdown. Price: $0.02. GET (GET /?url=https://www.iana.org/domains/reserved)
- [page-metadata](https://tools.orchardshop.xyz/t/page-metadata): Fetches any public http(s) page and returns its metadata: title, meta description, canonical URL, favicon URL, all OpenGraph (og:*) properties, and every unique absolute link with its anchor text (up to 500). Blocks localhost and private addresses. Returns JSON with url, final_url, status, title, description, canonical, favicon, og, link_count and links. Price: $0.01. GET (GET /?url=https://www.iana.org/domains/reserved)
- [site-crawl-markdown](https://tools.orchardshop.xyz/t/site-crawl-markdown): Crawls one public website breadth-first from a start URL, staying on the same hostname, and returns each page as clean Markdown (up to 20,000 chars per page). Reads robots.txt and skips disallowed paths, fetches at most 2 pages at a time with about 300ms between requests, and identifies as OrchardBot/1.0. Blocks localhost and private addresses, including after redirects. Answers within 45 seconds; if time runs out it returns the pages it has with partial=true. Returns JSON with start_url, pages_crawled, partial, pages[{url,title,markdown}] and skipped[{url,reason}]. max_pages is 1-20 (default 10). Price: $0.25. GET (GET /?url=https://docs.python.org/3/tutorial/&max_pages=4)
- [sitemap-to-index](https://tools.orchardshop.xyz/t/sitemap-to-index): Reads a website's sitemap.xml and returns each page's title, meta description and word count as JSON. Checks up to 25 pages per call (one level of sitemap index), with a 25-second time limit. Every page is fetched through a public-internet-only safe fetcher. Use it to audit a site's SEO basics or to get a quick content inventory before crawling. Price: $0.25. GET (GET ?url=https://example.com/sitemap.xml)
- [bulk-page-to-markdown](https://tools.orchardshop.xyz/t/bulk-page-to-markdown): Converts up to 20 public web pages to clean markdown in one call. Returns each page's title and markdown body (headings, links, list items, paragraphs; scripts and styles removed), capped at 20,000 characters per page, with a 25-second time limit. Every URL is fetched through a public-internet-only safe fetcher. Use it to pull several docs or articles into one batch instead of making 20 separate calls. Price: $0.25. GET (GET ?urls=https://example.com,https://www.iana.org/domains/example)
- [site-audit](https://tools.orchardshop.xyz/t/site-audit): Crawls up to 25 pages of one website (same host only) and reports the problems an SEO or QA check looks for: broken links (up to 40 outbound links spot-checked per page), missing page titles and meta descriptions, slow pages over 1.5 seconds, and pages over 500 KB. Returns a summary of issues plus per-page details as JSON. Has a 45-second time limit and polite pacing. Every URL is fetched through a public-internet-only safe fetcher. Price: $0.50. GET (GET ?url=https://example.com)
- [rss-latest](https://tools.orchardshop.xyz/t/rss-latest): Returns the latest items from a public RSS 2.0 or Atom feed as JSON: title, link, published date, summary (500 chars max) and guid for each item, plus feed title and link. Inputs: ?url= (public http/https feed URL, required), ?limit= (1-50, default 10). Caps: 3 MB feed read, 50 items max, 15 s per call. Private and local addresses are refused. Feeds that are HTML pages, PDFs or binary files return ok:false with a plain reason. Price: $0.01. GET (GET ?url=https://hnrss.org/frontpage&limit=2)
- [token-check](https://tools.orchardshop.xyz/t/token-check): Returns a fact summary of a Base token: name, symbol, decimals, total supply, proxy/upgradeable status, owner and whether ownership is renounced, which risky functions exist in the contract code (mint, pause, blacklist, fee setters, ownership transfer), and the token's deepest DEX pools on Base (Uniswap v2/v3, Aerodrome) with reserves, USD price and liquidity. Fields: ok, token, abilities, market.deepest_pool, market.pools, risk_flags, grade (A-F), summary, warnings, checked_at, block. Grade rule: starts at 100; each risk flag subtracts points (mint, pause, blacklist, proxy, privileged owner -25; fee setters, owner transfer -10; under $10,000 liquidity -20; no liquidity -40); renounced owner adds 10. A 85+, B 70+, C 55+, D 40+, F below. Stablecoins like USDC are upgradeable by their issuer, so they lose points. Data summary from on-chain code and pool reserves, not financial advice. Base only. Input: ?address=0x... (token contract). Cached 60 seconds. Price: $0.01. GET (GET /?address=0x4200000000000000000000000000000000000006&chain=base)
- [json-check](https://tools.orchardshop.xyz/t/json-check): Validates a JSON document and returns it pretty-printed, or returns the exact parse error with line and column. Send the raw JSON as the POST body (not as a query parameter). Returns: valid (true/false), formatted (2-space indented JSON when valid), keys (top-level key count), bytes (input size), and error (when invalid). Limits: request body up to 1 MB. Price $0.01 per call. Price: $0.01. POST (POST / with body: {"a":1,"b":[2,3]}  (Content-Type: application/json))

## More

- [Catalog with examples (JSON)](https://tools.orchardshop.xyz/tools)
- [OpenAPI](https://tools.orchardshop.xyz/openapi.json)
- [Feedback, free](https://tools.orchardshop.xyz/feedback): tell us if a call didn't work.
