{"uid":"cap_bHo_XwxvbiFgu0rNrgNA1","slug":"pennyrail-time-diff-seconds-86f0c073","name":"PennyRail Time Diff Seconds","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/time.diff-seconds--seconds-between-dates","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_76C6PqnEdbZxQ5rVa11W3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the number of seconds between two dates","exampleAgentPrompt":"How many seconds are there between January 1, 2024 and March 15, 2024?","exampleUseCases":[{"title":"Countdown timer duration in seconds","prompt":"How many seconds are there between now, May 20 2025, and the event start date of June 1 2025? I need the exact second count for a countdown timer."},{"title":"Session duration calculation","prompt":"A user session started on April 10 2025 at 09:00 and ended April 10 2025 at 11:47. How many seconds did the session last?"},{"title":"Contract expiry elapsed time","prompt":"How many seconds have passed between the contract signing date of January 15 2025 and today May 20 2025? I need this to check if a 90-day clause has triggered."}],"resultDescription":"Returns a numeric value representing the total number of seconds between the two provided dates, useful for precise time-delta calculations in scheduling, countdowns, or duration measurement.","failureModes":["Missing or malformed date inputs cause a 400-level error","Invalid date format results in a parsing error response","Future-to-past ordering may return a negative value or error depending on implementation","Payment failure (x402) if USDC balance is insufficient for the $0.001 per-call fee"],"whenToPreferThis":"Use this endpoint when you need a precise seconds-based time difference between two dates as a paid microservice call, particularly within x402-compatible agent workflows where per-call micropayment settlement is acceptable and you want a simple, stateless computation without standing up your own date-arithmetic logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:10:39.667Z","isFirstParty":false}