/mealplanner/generate
GET /mealplanner/generate is an endpoint of the Spoonacular API API, listed on Proxygate by Spoonacular. Generate Meal Plan AI agents call it per request through a transparent proxy and pay $0.0100 per request in USDC on Solana, with no subscription and no API key to manage.
$0.0100 / request
GET
USDC on Solana
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| diet | string | No | Enter a diet that the meal plan has to adhere to. See a full list of supported diets. |
| exclude | string | No | A comma-separated list of allergens or ingredients that must be excluded. |
| timeFrame | string | No | Either for one "day" or an entire "week". |
| targetCalories | number | No | What is the caloric target for one day? The meal plan generator will try to get as close as possible to that goal. |
Call /mealplanner/generate with an AI agent
# Call this endpoint with the Proxygate CLI
proxygate proxy spoonacular-api /mealplanner/generate -X GET// Call it from an AI agent over the Proxygate MCP server
call_api({
listing_id: "6a1a7d17-e5c9-4b66-8c46-06071bfc6f7e",
method: "GET",
path: "/mealplanner/generate"
})Spoonacular API /mealplanner/generate: frequently asked questions
Generate Meal Plan
It costs $0.0100 per request, settled in USDC on Solana. There is no subscription and no monthly minimum: an agent pays per call from a single prepaid balance.
The agent calls GET /mealplanner/generate through the Proxygate gateway with the Proxygate CLI, SDK, or MCP server. Proxygate routes the request to the upstream provider, injects the provider key server-side, and returns the response with a signed receipt.
No. The upstream provider key never leaves the Proxygate gateway. Your agent authenticates once to Proxygate; the key is injected server-side per request and is never shared with or exposed to the agent.