From c46118eb3ffb10904768bd2cf694f9677c7ce86b Mon Sep 17 00:00:00 2001 From: Benjamin Nickolls Date: Fri, 4 Dec 2026 16:29:50 +0000 Subject: [PATCH 1/3] Add rate limit changes --- content/docs/usage/authentication.md | 18 ++++-------------- content/docs/usage/rate-limits.md | 4 ++-- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/content/docs/usage/authentication.md b/content/docs/usage/authentication.md index a29d167..ce324cc 100644 --- a/content/docs/usage/authentication.md +++ b/content/docs/usage/authentication.md @@ -5,22 +5,12 @@ title: Authentication ## Unauthenticated access -We maintain two request pools, to help us better understand user behavior and to manage service response times: +While anonymous use is supported it is not advised. -### Polite Pool +The rate limit applied to anonymous requests is the same as the free rate limit (see [Pricing](https://ecosyste.ms/pricing)). Anonymous users will have less consistent response times, especially during peak periods as we prioritise authenticated users. -The polite pool is our priority pool of known users. To access the polite pool you will need to provide an email address so that we can contact you should we need to discuss fair usage and rate limits. - -To access the polite pool: - -* Add `mailto=you@example.com` as a query parameter to your API request, or -* Add `mailto:you@example.com` somewhere in your User-Agent request header, or -* Configure your [`from` request header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/From). - -### Common Pool - -The common pool is for everyone else. It will have less consistent response times, especially during peak periods so that we can prioritize polite requests more easily. +To increase your rate limit upgrade to a [paid plan](https://ecosyste.ms/pricing). ## Authenticated access -Some of our APIs are available only to authenticated, paid users. We will expand upon this when our paid access tiers are made available to the general public. \ No newline at end of file +To create an API key [create an account and/or login](https://ecosyste.ms/login), select API Key from the navigation menu and click 'Create an API Key'. Send your key with each request in an `X-API-Key` or `apikey` header, or as an `apikey` query parameter. \ No newline at end of file diff --git a/content/docs/usage/rate-limits.md b/content/docs/usage/rate-limits.md index e61da88..dec3e67 100644 --- a/content/docs/usage/rate-limits.md +++ b/content/docs/usage/rate-limits.md @@ -3,11 +3,11 @@ weight: 1 title: Rate limits --- -Rate limits apply to all requests to ensure the service is responsive and available for all users. Your rate limit depends upon your [access method](/docs/usage/authentication/) and [paid service tier](/docs/usage/commercial/): +Rate limits apply to all requests to ensure the service is responsive and available for all users. Your rate limit depends upon your [access method](/docs/usage/authentication/) and [paid service tier](/docs/usage/pricing): ## Default rate limits -We operate a two-tier rate limiting system for unatuhenticated access. Read more about [unauthenticated access](/docs/usage/authentication/) +We operate a rate limiting system for unatuhenticated access. Read more about [unauthenticated access](/docs/usage/authentication/) ## Commercial rate limits From 86e1ee992c1d9cf7d068a17dbc7488ea4236e87d Mon Sep 17 00:00:00 2001 From: Vlad Miricioiu Date: Fri, 4 Dec 2026 20:35:21 +0000 Subject: [PATCH 2/3] update wording Signed-off-by: Vlad Miricioiu --- content/docs/usage/authentication.md | 20 ++++++++++++++++---- content/docs/usage/rate-limits.md | 2 +- go.mod | 2 ++ go.sum | 2 ++ 4 files changed, 21 insertions(+), 5 deletions(-) diff --git a/content/docs/usage/authentication.md b/content/docs/usage/authentication.md index ce324cc..a40b72a 100644 --- a/content/docs/usage/authentication.md +++ b/content/docs/usage/authentication.md @@ -5,12 +5,24 @@ title: Authentication ## Unauthenticated access -While anonymous use is supported it is not advised. +There are two ways to make requests to ecosyste.ms without a paid account. -The rate limit applied to anonymous requests is the same as the free rate limit (see [Pricing](https://ecosyste.ms/pricing)). Anonymous users will have less consistent response times, especially during peak periods as we prioritise authenticated users. +### 1. Unauthenticated requests -To increase your rate limit upgrade to a [paid plan](https://ecosyste.ms/pricing). +Making requests without any kind of authentication is supported but not advised. The rate limit applied to anonymous +requests is the same as the [free](https://ecosyste.ms/pricing) rate limit, but anonymous users will have less +consistent response times, especially during peak periods as we prioritise authenticated users. + +### 2. Free plan + +We advise users without a paid account to create and use an API key. +To create an API key +[create an account and/or log in](https://ecosyste.ms/login), +select ‘API Key’ from the navigation menu and click ‘Create an API Key’. +Send your key with each request in an `X-API-Key` or `apikey` header, or as an `apikey` query parameter. + +To increase your rate limit, upgrade to a [paid plan](https://ecosyste.ms). ## Authenticated access -To create an API key [create an account and/or login](https://ecosyste.ms/login), select API Key from the navigation menu and click 'Create an API Key'. Send your key with each request in an `X-API-Key` or `apikey` header, or as an `apikey` query parameter. \ No newline at end of file +To create an API key [create an account and/or login](https://ecosyste.ms/login), select API Key from the navigation menu and click 'Create an API Key'. Send your key with each request in an `X-API-Key` or `apikey` header, or as an `apikey` query parameter. diff --git a/content/docs/usage/rate-limits.md b/content/docs/usage/rate-limits.md index dec3e67..e8ef2f9 100644 --- a/content/docs/usage/rate-limits.md +++ b/content/docs/usage/rate-limits.md @@ -7,7 +7,7 @@ Rate limits apply to all requests to ensure the service is responsive and availa ## Default rate limits -We operate a rate limiting system for unatuhenticated access. Read more about [unauthenticated access](/docs/usage/authentication/) +We operate a rate limiting system for unatuhenticated access. Read more about [unauthenticated access](/docs/usage/authentication/). ## Commercial rate limits diff --git a/go.mod b/go.mod index 0f42690..2d67c42 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,5 @@ module github.com/ecosyste-ms/docs go 1.21 + +require github.com/imfing/hextra v0.13.0 // indirect diff --git a/go.sum b/go.sum index e69de29..6557292 100644 --- a/go.sum +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/imfing/hextra v0.13.0 h1:1zhCYy0tA9ZRErFBlU6NJEgR1HjK69bgd52EmpwnG00= +github.com/imfing/hextra v0.13.0/go.mod h1:vi+yhpq8YPp/aghvJlNKVnJKcPJ/VyAEcfC1BSV9ARo= From 534ed9e824cd81be3d98e4f19b9ccde09e9af320 Mon Sep 17 00:00:00 2001 From: Vlad Miricioiu Date: Fri, 4 Dec 2026 20:37:35 +0000 Subject: [PATCH 3/3] fix broken link Signed-off-by: Vlad Miricioiu --- content/docs/usage/rate-limits.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/docs/usage/rate-limits.md b/content/docs/usage/rate-limits.md index e8ef2f9..38476af 100644 --- a/content/docs/usage/rate-limits.md +++ b/content/docs/usage/rate-limits.md @@ -3,7 +3,9 @@ weight: 1 title: Rate limits --- -Rate limits apply to all requests to ensure the service is responsive and available for all users. Your rate limit depends upon your [access method](/docs/usage/authentication/) and [paid service tier](/docs/usage/pricing): +Rate limits apply to all requests to ensure the service is responsive and available for all users. +Your rate limit depends upon your [access method](/docs/usage/authentication/) and +[paid service tier](https://ecosyste.ms/pricing): ## Default rate limits