Caching and Data Storage Policy

Caching and Data Storage Policy

The Chomp API maintains specific guidelines around data caching and storage to balance platform performance with data freshness and intellectual property protection.

Caching for Performance

To ensure optimal performance and reduce latency for end-users, short-term caching is permitted for Standard and Premium plans

Developers may cache API responses (e.g., using Redis or Memcached) for session continuity and performance optimization, provided the cache Time-To-Live (TTL) does not exceed 24 hours.

Note: The Limited plan does not permit any form of caching.

Permanent Storage of User Data

Applications often need to store food data that a user has specifically interacted with (e.g., a logged meal, a saved recipe, or a favorite food). 

You are permitted to permanently store specific food data (such as Name, Calories, and Macros) if a user has explicitly selected and logged it to their personal history.

This is considered user-generated data. Upon termination of your Chomp API subscription, you are not required to delete these historical user records.

Database Replication Restrictions

While operational caching and user data storage are allowed, you may not use the API to scrape, rebuild, or replicate the Chomp Database. 

Specifically, you may not:

  • Cache search results indefinitely to build an offline search index.
  • Store data to bypass the API for new, unlogged queries.
  • Create derivative database products for resale.

Data Licensing Alternatives

For applications that require offline access, massive-scale processing, or complete database replication, a Data License is required. Purchasing a data license provides a full, downloadable copy of the database to host on your own infrastructure. 

For more details on data licensing or enterprise agreements, please contact our sales team or review the Terms & License Agreement.


    • Related Articles

    • Chomp API License Information

      This document outlines the Terms of Use ("Terms") governing your access to the Chomp API and the Chomp Database. By accessing the API, you consent to these Terms. Executive Summary & Operational Policies Commercial Use: Allowed on Standard and ...
    • Attribution Policy

      Attribution is the practice of publicly acknowledging the Chomp API as the source of the nutritional data displayed within your application. By providing attribution, you help support the platform while remaining compliant with our licensing terms. ...
    • Missing Information & Data Imputation Policy

      When an item in the database lacks a specific nutritional value (e.g., Vitamin C or Potassium), Chomp strictly prohibits data imputation. No Fill-In Policy The system does not attempt to estimate or fill in a food item's missing information using ...
    • Refund Policy

      Refunds for Chomp API subscriptions are evaluated and handled on a case-by-case basis. As a general policy, Chomp will typically offer a prorated refund for the most recent month of access if an integration issue or billing error occurs. To formally ...
    • Data Sources and Quality

      The Chomp database aggregates food and nutrition data from multiple public and licensed sources to provide broad product and ingredient coverage. Primary Data Sources Public food databases, including the USDA FoodData Central database Open food and ...