Skip to content

Filler FAQ: state that the orders API rate limit is per client IP - #1158

Open
claude[bot] wants to merge 3 commits into
mainfrom
docs/uniswapx-filler-orders-rate-limit-4-rps
Open

claude[bot] wants to merge 3 commits into
mainfrom
docs/uniswapx-filler-orders-rate-limit-4-rps

Conversation

@claude

@claude claude Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Requested by Angela Ocando · Slack thread

Summary

main already 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:

The orders endpoint limits by client IP, so every request from the same egress IP shares one budget no matter which Trading API key, if any, is attached.

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.mdx and faqs.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.md says archive/ is reference only and does not accept PRs.

Type of change

  • Fix (typo, broken link, incorrect or outdated content)
  • New content (guide, page, code example)
  • Update to existing content
  • Other

How has this been verified?

  • Checked the orders endpoint's rate rule in Uniswap/uniswapx-service at main (8b2e7e5): getOrdersThrottlePerFiveMins: 1200 for prod in bin/app.ts (1200 requests per 5 minutes is 4 RPS), and the ip-get-orders rule in bin/stacks/api-stack.ts uses aggregateKeyType: 'FORWARDED_IP'. Neither the limit nor the keying has changed since 2026-09-02.
  • Merged main into this branch (no rebase, no force-push). git diff main... now touches only content/liquidity/uniswapx/filling/faq.mdx, two lines, both the sentence above. overview.mdx is identical to main.
  • Frontmatter of faq.mdx parses 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

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
@github-actions

Copy link
Copy Markdown

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
@claude claude Bot changed the title Correct UniswapX filler orders API rate limit to 4 RPS Filler FAQ: state that the orders API rate limit is per client IP Nov 17, 2026
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

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant