{"uid":"cap_IZ-bEbUP67_g5t3mgOFk4","slug":"pennyrail-time-difference-calculator-ca712e59","name":"PennyRail Time Difference Calculator","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/time.diff-seconds--time-difference","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_i6XWKSUCNWW8-U0gsdWa-","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":"Computes the difference in seconds between two timestamps","exampleAgentPrompt":"How many seconds are between 2024-06-01T08:00:00Z and 2024-06-01T10:30:00Z?","exampleUseCases":[{"title":"Measure API response duration","prompt":"I have a start time of 2024-11-15T14:00:00Z and an end time of 2024-11-15T14:00:04.732Z — how many seconds did that operation take?"},{"title":"Calculate age of a log entry","prompt":"A log event was recorded at 2024-01-01T00:00:00Z and the current time is 2024-07-15T12:00:00Z — how many seconds ago was that?"},{"title":"Check SLA breach window","prompt":"My SLA window opened at 2024-12-01T09:00:00Z and closed at 2024-12-01T09:15:30Z — how many seconds was that window open?"}],"resultDescription":"Returns a numeric value representing the absolute or signed difference in seconds between the two provided timestamps, along with any supporting metadata the service includes in its response object.","failureModes":["Missing or malformed input timestamps result in an error response","Invalid datetime format not parseable by the service returns an error","Network or payment authorization failure (x402) results in a 402 Payment Required response","Reversed or ambiguous timestamp pairs may return negative values or an error"],"whenToPreferThis":"Use this endpoint when you need a simple, metered computation of the elapsed seconds between two timestamps without building the arithmetic yourself, especially in agent workflows that already support x402 micropayment protocols. It is ideal for pay-per-use pipelines where you want deterministic, machine-readable time differences without spinning up local date libraries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:02:33.025Z","isFirstParty":false}