{"uid":"cap_9bCBqERe9DP0kEkoIIMMa","slug":"fitpulse-nutrition-macro-calculator-b7a155cd","name":"FitPulse Nutrition & Macro Calculator","description":"Macro & calorie targets / nutrition by fitness goal: calculate daily intake. Returns macro and calorie targets plus a meal-timing strategy based on goal, body weight, and activity level. Fitness-info for fitness and nutrition agents, not medical advice.","url":"https://fitpulse.theaslangroupllc.com/api/fit/nutrition?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["goal"],"properties":{"goal":{"type":"string","description":"e.g. muscle-gain, fat-loss, maintenance, athletic-performance"},"lang":{"type":"string","description":"lang"},"weight":{"type":"integer","description":"Body weight in lbs"},"activity":{"type":"string","description":"activity"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"errors":{"type":"object","description":"Documented error responses, keyed by HTTP status code","additionalProperties":{"type":"object","required":["description"],"properties":{"example":{"type":"object"},"description":{"type":"string"}}}},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","errors":{"400":{"example":{"error":"goal parameter required"},"description":"Invalid or missing parameter(s) — required: goal. Returned before the payment gate on paid requests, so a malformed call is never charged. JSON body: { error: <what is wrong and how to fix it> } plus usage hints."},"402":{"description":"Payment required — x402 v2 challenge; the accepts array lists scheme, network, and amount. Retry the same request with a PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1) header. Verification is free."},"500":{"example":{"error":"upstream_failed"},"description":"Unexpected server error. If a payment settled without a usable result, contact info@theaslangroupllc.com with the settlement tx hash for a re-run or credit."}},"example":{"goal":"muscle-gain","daily_targets":{"calories":{"max":2900,"min":2600},"protein_g":{"max":200,"min":160}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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":{"p10Cents":"10.0000","medianCents":"10.0000","p90Cents":"10.0000","minCents":"10.0000","maxCents":"10.0000","p95Cents":"10.0000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cRG1JqxExnhCRzpiKeXpb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates personalized daily calorie and macronutrient targets plus meal-timing strategy based on fitness goal, body weight, and activity level","exampleAgentPrompt":"What should my daily calorie and macro targets be for building muscle? I weigh 185 lbs and I work out 4-5 days a week at moderate to high intensity.","exampleUseCases":null,"resultDescription":"Returns daily calorie target, macronutrient breakdown (protein, carbohydrates, fat in grams and percentages), and a meal-timing strategy tailored to the user's fitness goal, body weight, and activity level","failureModes":["Missing required parameters (goal, body weight, or activity level) returns a 400 error","Invalid or unsupported fitness goal enum returns an error","Payment not completed or invalid x402 payment header returns 402 Payment Required","Extremely unusual body weight values may produce unreliable outputs","Server unavailable returns 5xx error"],"whenToPreferThis":"Use this endpoint when a fitness or nutrition agent needs to compute individualized daily calorie and macro targets alongside meal-timing guidance based on a user's specific goal (e.g. cut, bulk, recomposition, endurance), body weight, and activity level — rather than using generic static nutrition tables or broad dietary guidelines","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T06:43:39.647Z","isFirstParty":false,"canonicalSlug":"fitpulse-nutrition-macro-calculator-b7a155cd"}