{"uid":"cap_8edrQabDbdlW3PTaxAFrN","slug":"primeapi-food-compare-63299463","name":"PrimeAPI Food Compare","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://prime-api-seven.vercel.app/api/health/food/compare","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.125856","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.125856/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.125856","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.125856","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uGO9-PjCy2I69qmluFqTL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.125856","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two or more food items side-by-side based on a search query, returning nutritional, dietary, or descriptive comparison data","exampleAgentPrompt":"Compare the nutritional profiles of salmon and chicken breast — I want to know which is better for a high-protein, low-fat diet.","exampleUseCases":null,"resultDescription":"Returns a structured comparison of the queried food items, likely including nutritional metrics (calories, macronutrients, vitamins, minerals), dietary attributes, and a relative evaluation to help the user decide between food options.","failureModes":["Unrecognized food name returns empty or error response","Ambiguous query matching multiple food variants may return unexpected results","Overly broad query may return generic rather than specific comparison data","Payment failure (402) if USDC balance is insufficient","Timeout if external nutrition data source is slow"],"whenToPreferThis":"Use this endpoint when you need a structured side-by-side comparison of food items by nutritional content or dietary attributes, especially in a pay-per-call context without needing a dedicated nutrition API key. Prefer alternatives if you need detailed ingredient-level breakdowns or USDA-grade certified data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:01:40.877Z","isFirstParty":false}