# What is the import and export limit for the kintone Command Line Tool?

**URL:** <https://forum.kintone.dev/t/what-is-the-import-and-export-limit-for-the-kintone-command-line-tool/14>\
**Category:** General\
**Created:** [December 29, 2016, 1:50pm UTC](https://forum.kintone.dev/t/what-is-the-import-and-export-limit-for-the-kintone-command-line-tool/14 "2016-12-29T13:50:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [December 29, 2016, 1:50pm UTC](https://forum.kintone.dev/t/what-is-the-import-and-export-limit-for-the-kintone-command-line-tool/14/1 "2016-12-29T13:50:36Z")

</div>

Does anybody know the import/export limit for the kintone Command Line Tool?[https://developer.kintone.io/hc/en-us/articles/213149247/](https://developer.kintone.io/hc/en-us/articles/213149247/)

The code on Github [here](https://github.com/kintone/cli-kintone/blob/master/main.go) shows the following:

**_const IMPORT\_ROW\_LIMIT = 100_**  
**_const EXPORT\_ROW\_LIMIT = 500_**

so I thought the export limit was 500, but&nbsp;I manged to export more than 500 records from my kintone app with the tool. Anybody have a clue?

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [December 30, 2016, 4:11am UTC](https://forum.kintone.dev/t/what-is-the-import-and-export-limit-for-the-kintone-command-line-tool/14/2 "2016-12-30T04:11:56Z")

</div>

Hi Akira.

EXPORT\_ROW\_LIMIT means The maximum number of records that can be retrieved with the Records API Per once.

When you export more than 500 records,I think the tool internally issues the API more than once.

(And it is done automatically)

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [January 1, 2017, 4:48pm UTC](https://forum.kintone.dev/t/what-is-the-import-and-export-limit-for-the-kintone-command-line-tool/14/3 "2017-01-01T16:48:54Z")

</div>

Hello Akira!

Regarding th limits of import/export for the kintone Command Line Tool,  
it is basically what Minoru said. Because both processes implement infinite loops so there are actually no limit to it.

Each process does have a limit to how many it can obtain in a single loop on the script like the following:  
&nbsp;const IMPORT\_ROW\_LIMIT = 100  
&nbsp;const EXPORT\_ROW\_LIMIT = 500

However, the loop will continue until all processes are complete, thus, the number actually does not matter.

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [January 3, 2017, 11:25am UTC](https://forum.kintone.dev/t/what-is-the-import-and-export-limit-for-the-kintone-command-line-tool/14/4 "2017-01-03T11:25:28Z")

</div>

Minoru, Yuzo

Thanks for the explanation! The **import\_row\_limit** and **export\_row\_limit** &nbsp;codes were bugging me, but your explanation makes sense now. Thank you so much! 😃
