Skip to content
Fourohtwo

Date difference calculator, days between two dates

lookupkit.dev/api/days_between

Date difference calculator, days between two dates. Days between two dates (YYYY-MM-DD), plus weeks, and the difference in years, months and days. Negative if end is before start.

BaseAnswering
GEThttps://lookupkit.dev/api/days_between

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://lookupkit.dev/api/days_between?end=2026-12-25&start=2026-01-01");
console.log(await res.json());

Example input

{
  "end": "2026-12-25",
  "start": "2026-01-01"
}

More from Lookup KitProvider status