Embed a Nutrition integration in your product
Add Nutrition to your product for your customers, and give your AI agents governed access to it.
Embed the Nutrition connector so your product can answer food and nutrition questions from a real dataset instead of one you would have to build and keep current. The connector calls the Spoonacular food API, which covers recipe search and detail, ingredient lookup and substitutes, nutrition analysis for a dish or a recipe, meal plans, shopping lists, and grocery product and menu item data. Each customer supplies their own API key, so request volume and cost are attributable to the customer that caused them rather than pooled through one key you have to meter. fastn owns the credential storage, retries and throttling, and monitors the connector, proposing a tested fix when Nutrition changes its API, and the same governed connection is what your AI agents call.
In your product
Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.
- Add recipe and ingredient search to your product, with each customer's own API key used for their requests.
- Return nutrition analysis for a dish or a recipe so your product can show macro and calorie detail without you curating a food database.
- Generate meal plans and shopping lists inside your product from the constraints a user actually set.
- Keep request volume attributable per customer so a heavy customer's usage does not show up as your platform's bill.
For your AI agents
Governed, audited access for the agents you build, through the MCP server.
- An agent looks up the nutrition profile of a dish before it answers a user's question, with the call logged.
- An agent builds a week of meals against a user's stated constraints and returns the shopping list.
- An agent suggests an ingredient substitute and explains the nutritional difference, using only that customer's key.
Example prompt
Build a week of dinners under 600 calories each from these ingredients and give me the shopping list.
Set up Nutrition in 4 steps
- 01Enable the Nutrition connector in your fastn dashboard.
- 02Have each customer supply their own API key so lookups run against their own allowance.
- 03Decide which lookups your product exposes and map the response fields onto your own schema.
- 04Call it from your product and expose the same connection to your agents through the MCP gateway.
Why teams use the Nutrition integration
- Ship a Nutrition integration without building it. Your customers connect their own Nutrition account inside your product and work their lookups, results and reports there, and nothing lands on your team.
- Handle the part that actually costs time: these are metered read sources, so an uncached lookup on every page view burns the customer's allowance. fastn handles the auth, token refresh, rate limits and pagination, and when Nutrition changes, its maintainer agent proposes a tested fix, so a Nutrition update does not start in your backlog.
Used by these teams
Compare with
Often used alongside
Tools the same teams tend to run next to Nutrition, across other categories.
More in Reference & Lookup Data
Other Reference & Lookup Data apps your customers can connect the same way. All Reference & Lookup Data integrations
Nutrition integration FAQ
Can AI agents use this Nutrition integration?
Yes, through the fastn MCP gateway, scoped per customer and audited. An agent looks up the nutrition profile of a dish before it answers a user's question, with the call logged. For example: "Build a week of dinners under 600 calories each from these ingredients and give me the shopping list."
Whose credentials does a Nutrition lookup run under?
Each customer's own. Quota and cost land on the customer that caused them rather than on a shared key you have to meter and re-bill, and one heavy customer cannot exhaust another's allowance.
How should Nutrition results be cached?
Per tenant, with a window that matches how fast the underlying data actually moves. Nutrition is a read source rather than a system of record, so the same query returns the same answer until the source changes, and caching is the difference between a sustainable integration and one that exhausts a customer's allowance on a busy page.
What can I build with the Nutrition integration?
A common starting point: add recipe and ingredient search to your product, with each customer's own API key used for their requests. The use cases above list the rest.
Add Nutrition to your product
Start free with 3 customer connections. No sales call required, and no per-customer integration code.