API Documentation
Rate Limits
Information about rate limits for the Food Analysis API
Query Pricing
Our API uses a token-based usage model. Each query consumes a certain number of tokens based on the endpoint used. Here’s a breakdown of the token cost per endpoint:
Endpoint Used | Token Cost |
---|---|
scanImage | 10 tokens |
describeMeal | 2 tokens |
Rate Limits
The Food Analysis API enforces rate limits to ensure fair usage and to protect the service from abuse. The rate limits vary depending on the type of account you have.
Account Type | Tokens per Minute | Tokens per Day |
---|---|---|
Developer | 50 | 2000 |
Enterprise | Unlimited* | Unlimited* |
Enterprise Plans
* For Enterprise accounts, the rate limits are effectively unlimited as the cost is calculated per request. If you require higher rate limits or have specific needs, please contact our support team to discuss custom solutions.