GET

/food/ingredients/{id}/amount

GET /food/ingredients/{id}/amount is an endpoint of the Spoonacular API API, listed on Proxygate by Spoonacular. Compute Ingredient Amount 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.

Price

$0.0100 / request

Method

GET

Settlement

USDC on Solana

Parameters

ParameterTypeRequiredDescription
unitstringNoThe target unit.
targetintegerYesThe target number of the given nutrient.
nutrientstringYesThe target nutrient. See a list of supported nutrients.

Call /food/ingredients/{id}/amount with an AI agent

Proxygate CLI
# Call this endpoint with the Proxygate CLI
proxygate proxy spoonacular-api /food/ingredients/{id}/amount -X GET
MCP / agent
// Call it from an AI agent over the Proxygate MCP server
call_api({
  listing_id: "6a1a7d17-e5c9-4b66-8c46-06071bfc6f7e",
  method: "GET",
  path: "/food/ingredients/{id}/amount"
})

Spoonacular API /food/ingredients/{id}/amount: frequently asked questions

Compute Ingredient Amount

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 /food/ingredients/{id}/amount 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.