<?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 Crossing API Rate Limit &amp; charges in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/crossing-api-rate-limit-charges/m-p/5399911#M422</link>
    <description>&lt;P&gt;If the API calls happen to be more than the free tier of 10 calls per second per org, is there a metering &amp;amp; charge possible? &lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/#!rate-limit" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!rate-limit&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Each Meraki organization has a call budget of&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;10 requests per second&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;A burst of 10 additional requests are allowed in the first second, so a maximum of 30 requests in the first 2 seconds&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 21 Oct 2021 22:38:00 GMT</pubDate>
    <dc:creator>flyingframes</dc:creator>
    <dc:date>2021-10-21T22:38:00Z</dc:date>
    <item>
      <title>Crossing API Rate Limit &amp; charges</title>
      <link>https://community.cisco.com/t5/network-platform-api/crossing-api-rate-limit-charges/m-p/5399911#M422</link>
      <description>&lt;P&gt;If the API calls happen to be more than the free tier of 10 calls per second per org, is there a metering &amp;amp; charge possible? &lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/#!rate-limit" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!rate-limit&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Each Meraki organization has a call budget of&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;10 requests per second&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;A burst of 10 additional requests are allowed in the first second, so a maximum of 30 requests in the first 2 seconds&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 21 Oct 2021 22:38:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/crossing-api-rate-limit-charges/m-p/5399911#M422</guid>
      <dc:creator>flyingframes</dc:creator>
      <dc:date>2021-10-21T22:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Crossing API Rate Limit &amp; charges</title>
      <link>https://community.cisco.com/t5/network-platform-api/crossing-api-rate-limit-charges/m-p/5399912#M423</link>
      <description>&lt;P&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/11158"&gt;@flyingframes&lt;/A&gt;, no there isn't (well, not that I've ever discovered). Everyone is treated equal with regards to API calls - one free tier for everyone.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 03:50:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/crossing-api-rate-limit-charges/m-p/5399912#M423</guid>
      <dc:creator>BRUCE NEWTON</dc:creator>
      <dc:date>2021-10-22T03:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Crossing API Rate Limit &amp; charges</title>
      <link>https://community.cisco.com/t5/network-platform-api/crossing-api-rate-limit-charges/m-p/5399913#M424</link>
      <description>&lt;P&gt;As above, there's no charge.&lt;/P&gt;&lt;P&gt;What happens is that 'excess' calls will return code 429 to indicate that the call failed due to the rate limit.&lt;/P&gt;&lt;P&gt;Any application that might make calls frequent enough to hit the rate limit needs to be coded to back-off and retry appropriately.&lt;/P&gt;&lt;P&gt;If you use the Python Meraki library, it includes handling of rate limiting, though it's not always sufficient (i.e. when using the aio library).&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 17:29:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/crossing-api-rate-limit-charges/m-p/5399913#M424</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2021-10-22T17:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Crossing API Rate Limit &amp; charges</title>
      <link>https://community.cisco.com/t5/network-platform-api/crossing-api-rate-limit-charges/m-p/5399914#M425</link>
      <description>&lt;P&gt;The aio portion of the Python library is aware of 429's and will back off and retry automatically.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 19:46:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/crossing-api-rate-limit-charges/m-p/5399914#M425</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2021-10-22T19:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Crossing API Rate Limit &amp; charges</title>
      <link>https://community.cisco.com/t5/network-platform-api/crossing-api-rate-limit-charges/m-p/5399915#M426</link>
      <description>&lt;P&gt;I've found it still breaks down under load, such as when nested to get per device/other element data for hundreds of networks in 'one' aio call, then calls will intermittently fail with the error "429 Too Many Requests".&lt;/P&gt;&lt;P&gt;To handle that, inside the sub-functions there's a capped exponential backoff and retry if a failure occurs.&lt;/P&gt;&lt;P&gt;This issue certainly was in v0 and beta/early v1, perhaps the library code improved since then? But I've not tried running without the extra error recovery as it also helps gracefully recover from other transient errors that can occur.&lt;/P&gt;&lt;P&gt;This is used in scripts that daily pull various performance data for analysis for large organizations that we manage, it's important that it operates without human intervention to recover/re-run. Any time there's a 'new' error found, I try to add code to avoid/recover.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Oct 2021 10:12:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/crossing-api-rate-limit-charges/m-p/5399915#M426</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2021-10-23T10:12:40Z</dc:date>
    </item>
  </channel>
</rss>

