{"uid":"cap_Ef_JUwjTV4PzAv-jNYnSs","slug":"basic-utils-agent-datetime-add-6e7b0e99","name":"Basic Utils Agent – Datetime Add","description":"A versatile utility agent offering calculator, statistics, datetime, and unit conversion services.","url":"https://basic-utils-agent.up.railway.app/datetime/add","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"default":null,"description":"The base date for the operation (required for add, subtract, difference, and day-of-week operations)"},"days":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Number of days to add or subtract from the date (required for add and subtract operations)"},"date2":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"default":null,"description":"The second date for difference calculation (required for difference operation)"}}},"responseSchema":{"type":"json","example":{"result":"2024-01-08T00:00:00"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0015","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.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6Gpl3bpfFND0OehRoRbZU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Adds a specified number of days to a given base date and returns the resulting datetime.","exampleAgentPrompt":"What date is 45 days after January 1, 2025? Use the datetime add endpoint and give me back the resulting date.","exampleUseCases":[{"title":"Subscription expiry date calculation","prompt":"My subscription starts on March 15, 2025 and lasts 90 days — what date does it expire?"},{"title":"Project deadline from start date","prompt":"If a project kicks off on 2025-06-01T00:00:00, what's the deadline date 120 days later?"},{"title":"Medicine course end date","prompt":"I started a 14-day medication course on 2025-04-10T00:00:00 — what date does it end?"}],"resultDescription":"Returns a JSON object with a 'result' field containing the computed datetime in ISO 8601 format (e.g. '2024-01-08T00:00:00') after adding the specified number of days to the base date.","failureModes":["Invalid or malformed date string causes a 422 validation error","Missing required 'date' or 'days' fields returns an error response","Null values passed for both 'date' and 'days' with no fallback results in an error","Non-integer value for 'days' fails schema validation"],"whenToPreferThis":"Choose this endpoint when you need to compute a future date by adding a fixed number of days to a known base date — for example, calculating expiration dates, deadlines, or delivery windows. It is simple, fast, and stateless, making it ideal for scheduling logic within agentic workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:36:03.520Z","isFirstParty":false}