Repository navigation
Filler FAQ: state that the orders API rate limit is per client IP - #1158
Open
claude[bot] wants to merge 3 commits into
Open
claude[bot] wants to merge 3 commits into
claude[bot] wants to merge 3 commits into
Conversation
The filler FAQ still told fillers to rate limit at 6 RPS, and the filler
overview table repeated it. The deployed limit on the UniswapX orders
endpoint was lowered on 2026-09-02, and the developer portal has published
4 RPS since 2026-09-03, so both pages here were stale.
Updates the four occurrences in content/liquidity/uniswapx/filling/faq.mdx
(two in the FAQ frontmatter, two in the page body) and the one in the filler
role table in content/liquidity/uniswapx/filling/overview.mdx, and mirrors
the developer portal wording on the "How do I get orders?" answer: cached
responses, 429 above the limit, and at most the last 50 orders per response.
Also ports the developer portal's "Do I need an API key to poll for orders?"
entry, which this mirror was missing. The orders API is a separate service
from the Trading API and needs no API key, and the limit is keyed on the
client IP, so a Trading API key's 6 RPS per-key limit (documented under
content/trading/swapping-api/) does not apply to order polling and raising it
does not increase polling throughput. Those trading pages are unchanged: their
per-key figure is correct for the Trading API and matches the developer portal.
Left the archived copy under archive/ alone, per CONTRIBUTING.md ("the
archive/ directory holds the previous version of this repository for
reference only").
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013WuaPUrQTFBfsT9rk7FXpa
|
Thanks for contributing to Uniswap Docs! 🦄 Quick heads up on how this repo works: the docs you see on developers.uniswap.org are built from a separate source repo. When we accept a change here, we port it over there, so your fix might show up on the live site before it lands in this repo. Updates to this repo come in batches on a regular cadence. When yours is included, you'll be credited as a co-author on the commit, so the contribution counts on your GitHub profile and in Uniswap/docs. We review every PR but can't merge everything. Either way, someone from the docs team will follow up here once we've taken a look. One legal bit: by submitting a PR you agree your contribution is licensed under the repo's MIT license. |
main (#1189, batch sync from the developers.uniswap.org source) already carries the 4 RPS correction in faq.mdx and overview.mdx and the "Do I need an API key to poll for orders?" entry. Take main's version of both files and keep only the remaining delta: the sentence stating that the orders endpoint limits by client IP, in the entry's frontmatter answer and body. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013WuaPUrQTFBfsT9rk7FXpa
Say "no matter which Trading API key, if any, is attached" in the "Do I need an API key to poll for orders?" answer, in both the frontmatter and the page body. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013WuaPUrQTFBfsT9rk7FXpa
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Angela Ocando · Slack thread
Summary
mainalready carries this PR's 4 RPS correction. The 2026-11-17 batch sync (#1189) brought the filler FAQ and overview in line with developers.uniswap.org: all four "rate limit at 4 RPS" occurrences, the fuller "How do I get orders?" wording, the role-table line, and the "Do I need an API key to poll for orders?" entry.One thing the sync did not bring in, and the only change this PR now makes: the API-key entry does not say how the orders endpoint keys its limit. This PR appends one sentence to that entry's answer, in both the FAQ frontmatter and the page body:
That closes the gap the entry exists for. A filler who reads the Trading API's per-key limit elsewhere in these docs can otherwise conclude that a second key or a higher-tier key raises polling throughput. It does not, because the limit counts requests per IP.
Left alone on purpose:
content/trading/swapping-api/common-errors.mdxandfaqs.mdx, which document 6 requests per second per API key. That is the Trading API's limit, a different service from the orders endpoint, and it is correct.archive/docs/contracts/uniswapx/fillers/filleroverview.md, which still says "6rps".CONTRIBUTING.mdsaysarchive/is reference only and does not accept PRs.Type of change
How has this been verified?
Uniswap/uniswapx-serviceatmain(8b2e7e5):getOrdersThrottlePerFiveMins: 1200for prod inbin/app.ts(1200 requests per 5 minutes is 4 RPS), and theip-get-ordersrule inbin/stacks/api-stack.tsusesaggregateKeyType: 'FORWARDED_IP'. Neither the limit nor the keying has changed since 2026-09-02.maininto this branch (no rebase, no force-push).git diff main...now touches onlycontent/liquidity/uniswapx/filling/faq.mdx, two lines, both the sentence above.overview.mdxis identical tomain.faq.mdxparses as YAML (32 entries), there are no conflict markers, and no em-dashes were introduced.Applicable screenshots
N/A, prose only.
Anything else reviewers should know?
The developers.uniswap.org source does not have this sentence yet. Per
CONTRIBUTING.md, a maintainer carries an accepted change into that source, so it will survive later batch syncs.🤖 Generated with Claude Code
https://claude.ai/code/session_013WuaPUrQTFBfsT9rk7FXpa