How to recognise it
Every request it makes sends this User-Agent:
Mozilla/5.0 (compatible; KeyLinkPreview/1.0; +https://key.ai/bot)
It never presents itself as a browser or as another company's crawler.
What it fetches
It is not a crawler. It fetches a page only when a person posts that link in Key AI, and it does not follow links from one page to another. For each shared link it reads the page's title, description and preview image, from the site's oEmbed endpoint or public API when one exists, or from the page's HTML. It stores a small copy of the preview image, no more than 256 pixels on its longest side.
How it behaves
- It makes at most two requests to the same site at a time.
- A
429or503response pauses all requests to that site for the time given inRetry-After, up to 15 minutes. The request is not retried. - A preview is reused for 6 hours, so a link shared many times is fetched once. Failed fetches are not retried for between 1 and 10 minutes.
- It reads at most the first 512 KB of a page, accepts images up to 5 MB, follows up to three redirects and stops after 5 seconds.
- It does not run JavaScript, send cookies or sign in. It does not try to get past a login page or a bot check: if a site challenges it, the link is shown without a preview.
- It fetches only public addresses over the internet.
robots.txt
KeyLinkPreview follows robots.txt. Before it fetches a page or a preview image it reads the site's /robots.txt and obeys the rules for KeyLinkPreview, or the rules for * when there are none for it. It reads the file at most once a day per site. If the file cannot be fetched because the server errors or times out, it fetches nothing from that site until it can.
To stop all previews of your site:
User-agent: KeyLinkPreview
Disallow: /To stop previews of part of it:
User-agent: KeyLinkPreview
Disallow: /private/People can still share your links; they are shown as plain links without a preview. If your site publishes an oEmbed endpoint or a public API for previews, KeyLinkPreview may still use it, because that is what those endpoints are for.
Contact
If KeyLinkPreview is causing a problem on your site, or you want your site excluded, email support@key.ai with your domain and, if you can, a few lines from your access logs.