> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trophy.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Rate Limiting

> Learn about the Trophy API and request rate limiting.

export const RateLimitBadge = ({tier, noTooltip = false}) => {
  const getColor = tier => {
    switch (tier) {
      case 1:
        return "yellow";
      case 2:
        return "green";
      default:
        return "gray";
    }
  };
  const getLimit = tier => {
    switch (tier) {
      case 1:
        return 10;
      case 2:
        return 100;
    }
  };
  return noTooltip ? <Badge stroke color={getColor(tier)}>Tier {tier}</Badge> : <Tooltip headline="Rate Limit" tip={`This endpoint is rate limited to ${getLimit(tier)} req/s`} cta="Learn about rate limiting" href="/api-reference/rate-limiting">
        <Badge stroke color={getColor(tier)}>Tier {tier}</Badge>
      </Tooltip>;
};

Trophy operates a tiered rate limiting model for each API endpoint. All rate limits are scoped at the organisation level. Exceeding rate limits will result in your application receiving a `429 Too Many Requests` response.

<h2 id="rate-limit-tiers">
  Rate Limit Tiers
</h2>

| Tier                                  | Rate Limit |
| ------------------------------------- | ---------- |
| <RateLimitBadge tier={1} noTooltip /> | 10 req/s   |
| <RateLimitBadge tier={2} noTooltip /> | 100 req/s  |

<Tip>
  If you feel you need a higher rate limit, then please [contact
  us](mailto:support@trophy.so) and we'll be happy to discuss your needs.
</Tip>

<h2 id="get-support">
  Get Support
</h2>

Want to get in touch with the Trophy team? Reach out to us via [email](mailto:support@trophy.so). We're here to help!
