<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: API rate limiting in 2023 in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/api-rate-limiting-in-2023/m-p/5446767#M7284</link>
    <description>&lt;P&gt;I frequently hit the rate limit.  Especially in orgs with multiple integrations.&lt;/P&gt;&lt;P&gt;I use the Python SDK, and it's retry logic often works.  I frequently have to reduce the number of concurrent outstanding API requests with:&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;	async with meraki.aio.AsyncDashboardAPI(
		output_log=False,
		print_console=False,		
#		maximum_retries=100,
		maximum_concurrent_requests=5
	) as dashboard:&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In busier orgs this is not enough, and I have to also use a throttler.&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;import throttler

	async with meraki.aio.AsyncDashboardAPI(
		output_log=False,
		print_console=False,
		maximum_retries=100,
		wait_on_rate_limit=True
	) as dashboard:
		dashboard._session._concurrent_requests_semaphore = throttler.Throttler(rate_limit=4, period=1.0)
		await ...&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 27 Sep 2023 21:07:37 GMT</pubDate>
    <dc:creator>Philip D'Ath</dc:creator>
    <dc:date>2023-09-27T21:07:37Z</dc:date>
    <item>
      <title>API rate limiting in 2023</title>
      <link>https://community.cisco.com/t5/network-platform-api/api-rate-limiting-in-2023/m-p/5446764#M7281</link>
      <description>&lt;P&gt;Meraki APIs are set to &lt;SPAN&gt;&lt;SPAN class=""&gt;10 API calls every second but that equates to 864,000 API calls in a day per organization.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api/rate-limit/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api/rate-limit/&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Other vendors stop short of one tenth of that e.g. 5000 per hour. Just confirming if the above are true &amp;amp; someone has experienced crossing the above limits!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 22:44:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/api-rate-limiting-in-2023/m-p/5446764#M7281</guid>
      <dc:creator>flyingframes</dc:creator>
      <dc:date>2023-09-26T22:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: API rate limiting in 2023</title>
      <link>https://community.cisco.com/t5/network-platform-api/api-rate-limiting-in-2023/m-p/5446765#M7282</link>
      <description>&lt;P&gt;I'm hiting the rate limit every single day. It just depends on the size of your Org , number of admins doing API calls and if you are using asyncio or not. &lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 03:06:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/api-rate-limiting-in-2023/m-p/5446765#M7282</guid>
      <dc:creator>Raphael_L</dc:creator>
      <dc:date>2023-09-27T03:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: API rate limiting in 2023</title>
      <link>https://community.cisco.com/t5/network-platform-api/api-rate-limiting-in-2023/m-p/5446766#M7283</link>
      <description>&lt;P&gt;That is true, the current API rate limit is 10 calls per second, resulting in 864,000 call per day.&lt;/P&gt;&lt;P&gt;It is possible to reach the rate limit, when several apps/scripts run at once.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 05:16:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/api-rate-limiting-in-2023/m-p/5446766#M7283</guid>
      <dc:creator>obrigg</dc:creator>
      <dc:date>2023-09-27T05:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: API rate limiting in 2023</title>
      <link>https://community.cisco.com/t5/network-platform-api/api-rate-limiting-in-2023/m-p/5446767#M7284</link>
      <description>&lt;P&gt;I frequently hit the rate limit.  Especially in orgs with multiple integrations.&lt;/P&gt;&lt;P&gt;I use the Python SDK, and it's retry logic often works.  I frequently have to reduce the number of concurrent outstanding API requests with:&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;	async with meraki.aio.AsyncDashboardAPI(
		output_log=False,
		print_console=False,		
#		maximum_retries=100,
		maximum_concurrent_requests=5
	) as dashboard:&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In busier orgs this is not enough, and I have to also use a throttler.&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;import throttler

	async with meraki.aio.AsyncDashboardAPI(
		output_log=False,
		print_console=False,
		maximum_retries=100,
		wait_on_rate_limit=True
	) as dashboard:
		dashboard._session._concurrent_requests_semaphore = throttler.Throttler(rate_limit=4, period=1.0)
		await ...&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Sep 2023 21:07:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/api-rate-limiting-in-2023/m-p/5446767#M7284</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2023-09-27T21:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: API rate limiting in 2023</title>
      <link>https://community.cisco.com/t5/network-platform-api/api-rate-limiting-in-2023/m-p/5446768#M7285</link>
      <description>&lt;P&gt;Is there a specific error code that Meraki will give back? e.g. error 429 once rate limit is exceeded?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 17:47:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/api-rate-limiting-in-2023/m-p/5446768#M7285</guid>
      <dc:creator>flyingframes</dc:creator>
      <dc:date>2023-09-28T17:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: API rate limiting in 2023</title>
      <link>https://community.cisco.com/t5/network-platform-api/api-rate-limiting-in-2023/m-p/5446769#M7286</link>
      <description>&lt;P&gt;Yes , Meraki will return HTTP 429 codes.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaphaelL_0-1695923420910.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/263173iA46E8ACB37FA12B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/rate-limit/#per-source-ip-address" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/rate-limit/#per-source-ip-address&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 17:50:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/api-rate-limiting-in-2023/m-p/5446769#M7286</guid>
      <dc:creator>Raphael_L</dc:creator>
      <dc:date>2023-09-28T17:50:30Z</dc:date>
    </item>
  </channel>
</rss>

