Snipget Dates API

Parse, format, convert, and do arithmetic on dates and times.

GitHub OpenAPI

Operations 20

POST /v1/dates/parse Parse a messy date string into ISO 8601 + components #
POST /v1/dates/parse/batch Parse a batch of messy date strings #
POST /v1/dates/validate Validate an ISO 8601 date/datetime #
POST /v1/dates/validate/batch Validate a batch of ISO 8601 dates #
POST /v1/dates/format Format a datetime in a preset or strftime pattern #
POST /v1/dates/format/batch Format a batch of datetimes #
POST /v1/dates/convert-tz Convert a datetime between timezones #
POST /v1/dates/convert-tz/batch Convert a batch of datetimes between timezones #
POST /v1/dates/timestamp Convert between Unix epoch and ISO 8601 #
POST /v1/dates/timestamp/batch Convert a batch between epoch and ISO 8601 #
POST /v1/dates/diff Duration between two datetimes #
POST /v1/dates/diff/batch Duration for a batch of datetime pairs #
POST /v1/dates/add Add (or subtract) a calendar interval #
POST /v1/dates/add/batch Add a calendar interval to a batch of datetimes #
POST /v1/dates/business-days Count business days, or add N business days #
POST /v1/dates/business-days/batch Business-day count/add for a batch of start dates #
POST /v1/dates/attributes Calendar attributes of a date #
POST /v1/dates/attributes/batch Calendar attributes for a batch of dates #
POST /v1/dates/relative Humanize a datetime against a reference #
POST /v1/dates/relative/batch Humanize a batch of datetimes against a reference #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/snipget-ai:snipget-ai-dates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

snipget-ai-dates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snipget Dates API
  description: 'Programmatic utility API for AI agents. Data normalization, parsing, validation, and classification. Agent-native. Billing vocabulary: a call is one request; a cost unit is one piece of work (one item cleaned, validated, or looked up). A single call costs 1 cost unit (2 for live-registry lookups); a batch call with N items costs N. Plans include a monthly number of cost units, never a number of calls; `meta.cost_units` is each call''s exact charge and `meta.quota_remaining` the cost units left in the plan.'
  version: 0.1.0
tags:


# --- truncated at 32 KB (263 KB total) ---
# Full source: https://artifacts.apis.io/snipget-ai/openapi/snipget-ai-dates-api-openapi.yml