<?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 API Query Limit in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/api-query-limit/m-p/5451936#M8049</link>
    <description>&lt;P&gt;I have read that there is a rate limit of 10 QPS for each organization, and 100 QPS limit for each IP when using Meraki's API:&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/rate-limit/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/rate-limit/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Just wanted to clarify a few things:&lt;BR /&gt;&lt;BR /&gt;I am trying to query a device's port status using this route:  /devices/{serial}/switch/ports/statues&lt;BR /&gt;&lt;BR /&gt;Assuming I have 50 devices within the organization, does this mean it takes me 5 seconds to query the port statuses of every device within the organisation?&lt;BR /&gt;&lt;BR /&gt;Next, if I have 2 organisations, each with 50 devices, does that mean that it will still take me 5 seconds to query the port statuses of every device (assume that I query with concurrency)?&lt;BR /&gt;&lt;BR /&gt;Wanted to clarify this as it is unclear to me what a query limit for each organization constitutes&lt;/P&gt;</description>
    <pubDate>Tue, 24 Dec 2024 06:14:13 GMT</pubDate>
    <dc:creator>DrunkBiscuit</dc:creator>
    <dc:date>2024-12-24T06:14:13Z</dc:date>
    <item>
      <title>API Query Limit</title>
      <link>https://community.cisco.com/t5/network-platform-api/api-query-limit/m-p/5451936#M8049</link>
      <description>&lt;P&gt;I have read that there is a rate limit of 10 QPS for each organization, and 100 QPS limit for each IP when using Meraki's API:&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/rate-limit/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/rate-limit/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Just wanted to clarify a few things:&lt;BR /&gt;&lt;BR /&gt;I am trying to query a device's port status using this route:  /devices/{serial}/switch/ports/statues&lt;BR /&gt;&lt;BR /&gt;Assuming I have 50 devices within the organization, does this mean it takes me 5 seconds to query the port statuses of every device within the organisation?&lt;BR /&gt;&lt;BR /&gt;Next, if I have 2 organisations, each with 50 devices, does that mean that it will still take me 5 seconds to query the port statuses of every device (assume that I query with concurrency)?&lt;BR /&gt;&lt;BR /&gt;Wanted to clarify this as it is unclear to me what a query limit for each organization constitutes&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 06:14:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/api-query-limit/m-p/5451936#M8049</guid>
      <dc:creator>DrunkBiscuit</dc:creator>
      <dc:date>2024-12-24T06:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: API Query Limit</title>
      <link>https://community.cisco.com/t5/network-platform-api/api-query-limit/m-p/5451937#M8050</link>
      <description>&lt;P&gt;On your timing questions, the answer to both is 'sort of'...&lt;/P&gt;&lt;P&gt;Queries/responses take a finite time, some queries may return multiple pages of data, each page counting as a query.&lt;/P&gt;&lt;P&gt;There's also the extra ten-query 'burst' allowed in the 'first second', in that situation you get sixty queries in five seconds. I don't recall seeing how the first second is determined, perhaps some period without a query resets the timing.&lt;/P&gt;&lt;P&gt;Personally, I don't worry about the rate limit, just follow the retry protocol for handling 429 status, one easy way to do this is to use the Meraki Python library.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 08:41:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/api-query-limit/m-p/5451937#M8050</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2024-12-24T08:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: API Query Limit</title>
      <link>https://community.cisco.com/t5/network-platform-api/api-query-limit/m-p/5451938#M8051</link>
      <description>&lt;P&gt;what sungod said + avoid every "devices" calls. Most of the time there is a org-wide call to fetch statuses.&lt;/P&gt;&lt;P&gt;Eg: Avoid &lt;SPAN&gt;/devices/{serial}/switch/ports/statuses and use /organizations/{organizationId}/switch/ports/statuses/bySwitch&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 15:43:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/api-query-limit/m-p/5451938#M8051</guid>
      <dc:creator>Raphael_L</dc:creator>
      <dc:date>2024-12-24T15:43:50Z</dc:date>
    </item>
  </channel>
</rss>

