All API tools
Date & Time
Add / Subtract Time API
GET
/v1/add-subtract-time Free tier1 credit / callAuthentication
Send your API key as a bearer token. Create one free in the dashboard.
Authorization: Bearer $TOOLSXPO_KEYParameters
Passed as query-string parameters. Example values shown.
| Name | Example |
|---|---|
| date | example |
| operation | add |
| days | 0 |
| hours | 0 |
| minutes | 0 |
Example request
curl "https://api.toolsxpo.com/v1/add-subtract-time?date=example&operation=add&days=0&hours=0&minutes=0" \
-H "Authorization: Bearer $TOOLSXPO_KEY"Response
A standard JSON envelope: { ok, data, meta }. The result is in data (text); meta.credits reports what the call cost.