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/polyform-org:polyform-org-time-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: 3.2.0
info:
title: Polyform — machine-payable data Time API
version: 1.0.0
description: Pay-per-call data endpoints for AI agents. USDC on Base via x402. No account, no API key — one micropayment per call.
x-guidance: 'Polyform sells single-answer data lookups priced per call. GET the catalog at / for the full list. Categories: vehicle (VIN decode, recalls, deal verdict, fuel economy), domain & email intelligence, SEC/EDGAR company facts & filing search, FDA recalls & drug labels, US weather (forecast, hourly, alerts, aviation METAR, travel-risk), geocoding, IP network & threat reputation, World Bank indicators, and an LLM inference gateway. Each call returns a 402 with x402 payment requirements; pay in USDC on Base and retry. All data derives from public/government sources or first-party telemetry.'
servers:
- url: https://api.polyform.org
tags:
- name: Time
paths:
/v1/time/business-days:
get:
operationId: v1_time_business_days
summary: US business-days calculator — Business days between two dates (exclusive of…
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.001000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
start:
type: string
end:
type: string
businessDays:
type: number
holidays:
type: array
items: {}
example:
start: '2026-01-01'
end: '2026-02-01'
businessDays: 20
holidays:
- '2026-01-01'
- '2026-01-19'
'402':
description: Payment Required
parameters:
- name: start
in: query
required: true
description: YYYY-MM-DD
schema:
type: string
- name: end
in: query
required: true
description: YYYY-MM-DD
schema:
type: string
/v1/time/recurrence:
get:
operationId: v1_time_recurrence
summary: Recurrence rule (RRULE) expander — Expand an RFC 5545 RRULE into concrete…
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.002000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
description:
type: string
count:
type: number
occurrences:
type: array
items: {}
example:
description: every month on Mon, Tue, Wed, Thu, Fri (position -1 in each month) at 09:00 UTC
count: 2
occurrences:
- local: '2026-12-31T09:00:00'
utc: '2026-12-31T09:00:00Z'
weekday: Thu
businessDay: true
- local: '2027-01-29T09:00:00'
utc: '2027-01-29T09:00:00Z'
weekday: Fri
businessDay: true
'402':
description: Payment Required
parameters:
- name: rrule
in: query
required: true
description: FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1
schema:
type: string
- name: start
in: query
required: true
description: 2026-12-01T09:00
schema:
type: string
/v1/time/age:
get:
operationId: v1_time_age
summary: 'Age calculator — Exact age from a birth date: years/months/days, totals in…'
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.001000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
dob:
type: string
'on':
type: string
age:
type: object
totals:
type: object
nextBirthday:
type: object
usRetirement:
type: object
generation:
type: string
zodiac:
type: string
example:
dob: '1990-05-15'
'on': '2026-11-21'
age:
years: 36
months: 6
days: 6
totals:
days: 13339
weeks: 1905
nextBirthday:
date: '2027-05-15'
daysUntil: 175
weekday: Saturday
turning: 37
usRetirement:
fullRetirementAge: '67'
fullRetirementDate: '2057-05-15'
generation: Millennials
zodiac: Taurus
'402':
description: Payment Required
parameters:
- name: dob
in: query
required: true
description: '1990-05-15'
schema:
type: string
/v1/time/timesheet:
get:
operationId: v1_time_timesheet
summary: Timesheet Hours & Overtime — Turn clock-in/clock-out ranges into payable hours…
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.003000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
rules:
type: string
totals:
type: object
weeks:
type: array
items: {}
days:
type: array
items: {}
flags:
type: array
items: {}
example:
rules: california
totals:
hours: 21.5
regular: 16
overtime: 5
doubleTime: 0.5
grossPay: 612.5
weeks:
- weekStart: '2026-11-15'
days: 2
hours: 21.5
regular: 16
overtime: 5
doubleTime: 0.5
days:
- date: '2026-11-17'
weekday: tuesday
hours: 12.5
regular: 8
overtime: 4
doubleTime: 0.5
flags:
- 'CA: worked more than 5 hours without a 30-minute meal break - meal period premium (1 hour pay) may be owed'
flags: []
'402':
description: Payment Required
parameters:
- name: entries
in: query
required: true
description: 2026-11-16 08:00-12:00,12:30-17:30;2026-11-17 07:00-19:30
schema:
type: string
/v1/time/business-elapsed:
get:
operationId: v1_time_business_elapsed
summary: Business time elapsed (SLA clock) — How much business time has passed between…
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.002000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
startLocal:
type: string
endLocal:
type: string
businessMinutes:
type: number
businessHours:
type: number
businessTime:
type: string
businessDays:
type: number
calendarHours:
type: number
holidaysInRange:
type: array
items: {}
sla:
type: object
example:
startLocal: 2026-11-25 16:00
endLocal: 2026-12-01 09:30
businessMinutes: 1050
businessHours: 17.5
businessTime: 17h 30m
businessDays: 2.19
calendarHours: 137.5
holidaysInRange:
- date: '2026-11-26'
name: Thanksgiving Day
sla:
targetMinutes: 480
usedPercent: 218.8
breached: true
breachedAt: '2026-11-27T22:00:00.000Z'
status: BREACHED
'402':
description: Payment Required
parameters:
- name: start
in: query
required: true
description: 2026-11-25T16:00
schema:
type: string
/v1/time/fiscal-period:
get:
operationId: v1_time_fiscal_period
summary: Fiscal year, quarter and period for a date — Which fiscal year, quarter, period…
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.001000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
date:
type: string
fiscalYear:
type: number
label:
type: string
fiscalYearStart:
type: string
fiscalYearEnd:
type: string
quarter:
type: number
quarterStart:
type: string
quarterEnd:
type: string
fiscalMonth:
type: number
periodLabel:
type: string
fiscalWeek:
type: number
dayOfFiscalYear:
type: number
daysLeftInQuarter:
type: number
percentOfYearElapsed:
type: number
example:
date: '2026-11-19'
fiscalYear: 2027
label: FY2027
fiscalYearStart: '2026-10-01'
fiscalYearEnd: '2027-09-30'
quarter: 1
quarterStart: '2026-10-01'
quarterEnd: '2026-12-31'
fiscalMonth: 2
periodLabel: P02
fiscalWeek: 8
dayOfFiscalYear: 50
daysLeftInQuarter: 42
percentOfYearElapsed: 13.7
'402':
description: Payment Required
parameters:
- name: date
in: query
required: false
description: YYYY-MM-DD (default today)
schema:
type: string
- name: fy_start
in: query
required: true
description: month 1-12, month name, or preset such as us-federal
schema:
type: string
- name: fy_label
in: query
required: false
description: end (default, FY named for the year it ends) | start
schema:
type: string
/v1/time/meeting-planner:
get:
operationId: v1_time_meeting_planner
summary: Cross-time-zone meeting planner — Find meeting slots that fall inside working…
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.002000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
date:
type: string
overlapFound:
type: boolean
windows:
type: array
items: {}
suggested:
type: object
example:
date: '2026-11-23'
overlapFound: true
windows:
- startUtc: 2026-11-23T14:00Z
latestStartUtc: 2026-11-23T16:00Z
minutes: 180
start:
America/New_York: 2026-11-23 09:00 Mon
Europe/London: 2026-11-23 14:00 Mon
suggested:
utc: 2026-11-23T15:00Z
'402':
description: Payment Required
parameters:
- name: zones
in: query
required: true
description: 2-8 IANA zones, comma separated, e.g. America/New_York,Europe/London
schema:
type: string
- name: date
in: query
required: false
description: YYYY-MM-DD in the first zone (default today)
schema:
type: string
- name: start
in: query
required: false
description: local workday start hour (default 9)
schema:
type: string
- name: end
in: query
required: false
description: local workday end hour (default 17)
schema:
type: string
- name: duration
in: query
required: false
description: meeting minutes (default 60)
schema:
type: string
- name: weekends
in: query
required: true
description: true to allow weekends
schema:
type: string
/v1/time/moon:
get:
operationId: v1_time_moon
summary: 'Moon phase and next full moon — Offline lunar calculator: phase name…'
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.001000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
phase:
type: string
illuminationPct:
type: number
ageDays:
type: number
daysToFullMoon:
type: number
nextFullMoon:
type: object
upcomingPhases:
type: array
items: {}
example:
phase: Waxing Gibbous
illuminationPct: 85.8
ageDays: 11.21
daysToFullMoon: 4.12
nextFullMoon:
utc: '2026-11-24T14:54:00.000Z'
name: Beaver Moon
blueMoon: false
upcomingPhases:
- phase: Full Moon
utc: '2026-11-24T14:54:00.000Z'
- phase: Last Quarter
utc: '2026-12-01T06:09:00.000Z'
'402':
description: Payment Required
parameters:
- name: date
in: query
required: true
description: '2026-11-20'
schema:
type: string
/v1/time/deadline:
get:
operationId: v1_time_deadline
summary: Deadline calculator (business or calendar days) — Due date N business days or…
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.002000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
start:
type: string
startWeekday:
type: string
days:
type: number
mode:
type: string
due:
type: string
dueWeekday:
type: string
rolled:
type: string
calendarDaysBetween:
type: number
businessDaysBetween:
type: number
weekendDaysBetween:
type: number
holidaysBetween:
type: array
items: {}
example:
start: '2026-11-20'
startWeekday: Friday
days: 10
mode: business
due: '2026-12-07'
dueWeekday: Monday
rolled: null
calendarDaysBetween: 17
businessDaysBetween: 10
weekendDaysBetween: 6
holidaysBetween:
- date: '2026-11-26'
name: Thanksgiving Day
'402':
description: Payment Required
parameters:
- name: start
in: query
required: true
description: YYYY-MM-DD
schema:
type: string
- name: days
in: query
required: true
description: number of days, negative counts backward
schema:
type: string
/v1/time/shift-schedule:
get:
operationId: v1_time_shift_schedule
summary: 'Shift rotation schedule — Rotating shift calendar for 24/7 teams: 2-2-3…'
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.002000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
pattern:
type: string
name:
type: string
cycleDays:
type: number
shiftHours:
type: number
crews:
type: array
items: {}
coverage:
type: object
schedule:
type: array
items: {}
example:
pattern: dupont
name: DuPont, 12-hour, 4 crews
cycleDays: 28
shiftHours: 12
crews:
- crew: A
workDays: 14
hours: 168
avgHoursPerWeek: 42
nights: 7
weekendDaysWorked: 4
longestStretch: 4
coverage:
daysWithoutDayCrew: 0
daysWithoutNightCrew: 0
fullCoverage: true
schedule:
- date: '2026-11-20'
weekday: Fri
crews:
A: N
B: O
C: D
D: O
day: C
night: A
'402':
description: Payment Required
parameters:
- name: pattern
in: query
required: true
description: dupont
schema:
type: string
/v1/time/pay-dates:
get:
operationId: v1_time_pay_dates
summary: Payroll calendar — A full-year payday calendar for weekly, biweekly…
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.002000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
year:
type: number
frequency:
type: string
paydays:
type: number
moved:
type: number
dates:
type: array
items: {}
example:
year: 2026
frequency: semimonthly
paydays: 24
moved: 7
dates:
- scheduled: '2026-02-15'
payDate: '2026-02-13'
moved: true
reason: Sunday
'402':
description: Payment Required
parameters:
- name: frequency
in: query
required: false
description: weekly, biweekly (default), semimonthly or monthly
schema:
type: string
- name: year
in: query
required: false
description: optional year (default this year)
schema:
type: string
- name: anchor
in: query
required: false
description: optional known payday YYYY-MM-DD to align weekly or biweekly
schema:
type: string
- name: day
in: query
required: false
description: optional day of month for monthly (default last day)
schema:
type: string
- name: adjust
in: query
required: false
description: optional before (default) or after
schema:
type: string
/v1/time/calendar-info:
get:
operationId: v1_time_calendar_info
summary: 'Calendar facts for a date — Everything about a date in one call: day of week…'
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.001000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
date:
type: string
dayOfWeek:
type: string
isoWeek:
type: number
quarter:
type: number
usFederalHoliday:
type: string
isUsBusinessDay:
type: boolean
example:
date: '2026-11-26'
dayOfWeek: Thursday
isoWeek: 48
quarter: 4
usFederalHoliday: Thanksgiving Day
isUsBusinessDay: false
'402':
description: Payment Required
parameters:
- name: date
in: query
required: false
description: optional YYYY-MM-DD (default today)
schema:
type: string
- name: fy_start
in: query
required: false
description: optional fiscal year start month 1-12 (default 1)
schema:
type: string
/v1/time/business-hours:
get:
operationId: v1_time_business_hours
summary: Business-hours deadline calculator — Add business hours or business days to a…
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.002000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
deadline:
type: string
deadlineLocal:
type: string
businessDaysTouched:
type: number
holidaysSkipped:
type: array
items: {}
example:
deadline: '2026-11-24T19:00:00.000Z'
deadlineLocal: 2026-11-24 14:00
businessDaysTouched: 3
holidaysSkipped: []
'402':
description: Payment Required
parameters:
- name: hours
in: query
required: true
description: business hours to add (or use days)
schema:
type: string
- name: days
in: query
required: true
description: business days to add
schema:
type: string
- name: start
in: query
required: false
description: optional ISO start time (default now)
schema:
type: string
- name: tz
in: query
required: false
description: optional IANA zone (default America/New_York)
schema:
type: string
- name: open
in: query
required: false
description: optional opening hour (default 9)
schema:
type: string
- name: close
in: query
required: false
description: optional closing hour (default 17)
schema:
type: string
- name: holidays
in: query
required: false
description: optional us (default) or none
schema:
type: string
/v1/time/date-math:
get:
operationId: v1_time_date_math
summary: Date calculator — Add or subtract days, weeks, months, years or hours from a…
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.001000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
start:
type: object
added:
type: array
items: {}
result:
type: object
example:
start:
date: '2026-11-18'
weekday: Wednesday
added:
- 90d
result:
date: '2027-02-16'
weekday: Tuesday
isoWeek: 7
'402':
description: Payment Required
parameters:
- name: date
in: query
required: false
description: start date YYYY-MM-DD, default today
schema:
type: string
- name: add
in: query
required: true
description: e.g. 90d, 3w, 6m, 1y, -2d (comma-separate to combine)
schema:
type: string
- name: to
in: query
required: true
description: second date to measure the gap to
schema:
type: string
/v1/time/convert:
get:
operationId: v1_time_convert
summary: Time zone converter — Convert a time between IANA time zones (one to many, up…
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.001000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
instantUtc:
type: string
to:
type: array
items: {}
example:
instantUtc: '2026-11-20T21:00:00.000Z'
to:
- timeZone: Asia/Tokyo
local: '2026-11-21 06:00:00'
weekday: Sat
utcOffset: +09:00
'402':
description: Payment Required
parameters:
- name: time
in: query
required: false
description: optional time to convert, default now
schema:
type: string
- name: from
in: query
required: false
description: IANA zone of the given time, default UTC
schema:
type: string
- name: to
in: query
required: true
description: comma-separated IANA zones
schema:
type: string
/v1/time/holidays:
get:
operationId: v1_time_holidays
summary: Public holidays by country — Official public holidays for a country and year…
tags:
- Time
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.002000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
country:
type: string
year:
type: number
count:
type: number
next:
type: object
holidays:
type: array
items: {}
example:
country: US
year: 2026
count: 11
next:
date: '2026-11-26'
name: Thanksgiving Day
holidays:
- date: '2026-01-01'
name: New Year Day
'402':
description: Payment Required
parameters:
- name: country
in: query
required: false
description: ISO 3166 alpha-2 code, default US
schema:
type: string
- name: year
in: query
required: false
description: optional, default current year
schema:
type: string