RSL license generator for AI crawlers
robots.txt can only say yes or no. An RSL license tells AI companies your terms in a standard, machine-readable format: what's free, what costs money, and what isn't allowed. Reddit, Yahoo and Medium use it.
1. Save this as /license.xml
<rsl xmlns="https://rslstandard.org/rsl">
<content url="/">
<license>
<permits type="usage">search ai-index</permits>
<payment type="free"/>
</license>
<license>
<permits type="usage">ai-train ai-input</permits>
<payment type="crawl">
<amount currency="USD">0.001</amount>
</payment>
</license>
</content>
</rsl>
2. Point to it
Add this line to your robots.txt (anywhere, outside any User-agent group):
License: https://example.com/license.xml
Optionally, also in your pages' <head>:
<link rel="license" type="application/rsl+xml" href="https://example.com/license.xml">
3. Make the price real
A license states your terms; it doesn't collect money. Pay-per-crawl enforces the paid part: AI crawlers get 402 Payment Required with your price and pay per page in USDC, straight to your wallet. People and search engines browse free.
Honest limits: RSL depends on AI companies choosing to honor it, like robots.txt. Use it with blocking or charging, not instead of them. Spec: rslstandard.org/rsl.