Skip to main content
Max Payload Size

What can I do to control payload size?

Updated over a year ago

Merge does not currently enforce a max payload size in our API responses. If you are concerned that your API calls may be returning excessively large payloads, there are a few steps you can take to slim down those responses!

  1. Use encoding - Merge supports gzip, deflate, and br compression

  2. Decrease your page size - the default page size is 30, with a max of 100

  3. Limit use of the expand parameter - the expand parameter will increase payload size on most Merge objects, especially if you expand on multiple sub-objects

  4. Don't use include_remote_data=true in queries - remote_data returns the original raw response from the third-party API and can increase payload sizes drastically.

If you have concerns about payload size, please reach out to us at [email protected] to discuss your concerns!

Did this answer your question?