A Monthly Active User (MAU) applies exclusively to Premium subscriptions. An MAU is defined as a unique user on your platform who has accessed data from the Chomp API since the start of your current billing period.
Instead of capping your total API requests, the Premium plan scales with your actual user base. Every time your application makes an API call, you must include a unique user_id parameter representing the end-user performing the action.
At the end of your billing cycle, Chomp counts the number of distinct user_id values that accessed the API during that period.
Example: If your application has 1,000 registered users, but only 10 of them scan a barcode or search for food during the billing month, your MAU count for that month is 10.
MAU pricing operates on a tiered spillover model. The per-user cost decreases as your user base grows.
Calculation Example: If your platform registers 20,000,000 Monthly Active Users, your bill is calculated across all three tiers:
(For a precise estimate based on your numbers, use the interactive Cost Calculator.)
user_id ParameterPremium subscribers must pass a user_id URL parameter with every call made to any Chomp API endpoint. This parameter is used strictly for billing and usage tracking.
Important Guidelines for user_id:
user_id=8f4e2a1b).user_id=my_app) for all users will result in an MAU count of 1. While this might seem cost-effective, it misrepresents usage, violates our Terms of Service, and will trigger an account review.user_id=system-batch.Example Request:
GET /api/v2/food/branded/barcode.php?api_key=[YOUR_API_KEY]&code=[BARCODE]&user_id=[UNIQUE_USER_ID]