{"uid":"cap_jQV4Q8B8xyqu94Fa8B70k","slug":"basic-utils-agent-get-current-datetime-590dc91b","name":"Basic Utils Agent – Get Current Datetime","description":"A versatile utility agent offering calculator, statistics, datetime, and unit conversion services.","url":"https://basic-utils-agent.up.railway.app/datetime/now","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":{"now":"2024-01-01T12: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_vGUu1iz8thDgG5pib29hh","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":"Returns the current date and time as an ISO 8601 timestamp (now), with optional support for date arithmetic and day-of-week operations.","exampleAgentPrompt":"What is the current date and time right now? Just give me the timestamp.","exampleUseCases":[{"title":"Get current timestamp for logging","prompt":"What's the current date and time right now? I need the exact ISO timestamp for a log entry."},{"title":"Calculate date 30 days from today","prompt":"What date will it be 30 days from today? Start from right now and add 30 days."},{"title":"Find days between two dates","prompt":"How many days are there between January 15, 2025 and March 20, 2025? Can you calculate the difference for me?"}],"resultDescription":"Returns a JSON object with a 'now' field containing the current datetime as an ISO 8601 string (e.g. '2024-01-01T12:00:00'). For arithmetic operations, returns the resulting date after adding or subtracting days, or the number of days between two dates.","failureModes":["Invalid date format provided (not ISO 8601) returns a 400 or validation error","Missing required parameter for non-'now' operations (e.g. 'add' without 'days') returns an error","Payment not received or insufficient USDC results in 402 Payment Required","Service unavailability on Railway hosting returns 503"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call current datetime lookup or basic date arithmetic (adding/subtracting days, computing date differences) without managing a full datetime library or server-side clock. Ideal for lightweight agents that need quick time anchoring without infrastructure overhead. Prefer alternatives (local system clock, standard library) when you need high-frequency calls or sub-millisecond precision.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:34:48.508Z","isFirstParty":false}