{"uid":"cap_-qMrwkCIVtW-H5K85vwCw","slug":"onchainexpat-nutrition-search-api-ebb248f9","name":"OnchainExpat Nutrition Search API","description":"Pay-per-request AI, crypto, proxy, and utility APIs using x402 protocol","url":"https://x402.onchainexpat.com/api/x402-tools/nutrition/search","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"limit":{"type":"integer","description":"Max results (default 10, max 25)"},"query":{"type":"string","description":"Food name. Alias: 'food'. E.g. 'apple', 'chicken breast'"}}},"responseSchema":{"type":"object","properties":{"query":{"type":"string"},"cached":{"type":"boolean"},"results":{"type":"array"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZVPkw7dUkNTJU0NE68zK7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search for food items and retrieve nutritional information using a pay-per-request x402 API","exampleAgentPrompt":"Search for the nutritional information for 'grilled salmon' — I need the calories, protein, fat, and carb content.","exampleUseCases":null,"resultDescription":"Returns structured JSON with nutritional data for the matched food item(s), including macronutrients (calories, protein, fat, carbohydrates) and potentially other dietary metrics like fiber, sugar, and micronutrients.","failureModes":["Food item not found in database — returns empty or null results","Ambiguous query matches multiple foods — returns list or best guess","Payment failure via x402 — returns 402 Payment Required if USDC payment not fulfilled","Invalid or missing query parameter — returns 400 Bad Request","Rate limit or server error — returns 500 or 503"],"whenToPreferThis":"Use this endpoint when you need quick, pay-per-request nutrition lookups without subscribing to a full nutrition API service. Ideal for agents that need occasional food data lookups and want to pay micro-amounts per call using USDC on-chain rather than managing a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:44:58.208Z","isFirstParty":false}