POST
datetime
parse
1 creditParse any date string and return ISO 8601
Endpoint
POST /api/v1/tools/datetime/parse
Body Parameters
timezone
string | null
optional
default: null
date_string
string
required
Example
input
Request
{
"date_string": "2024-01-15T10:30:00Z"
}
output
Response
{
"iso": "2024-01-15T10:30:00+00:00"
}
Response Format
HTTP/1.1 200 OK
SUCCESS
{
"success": true,
"data": {
"iso": "2024-01-15T10:30:00+00:00"
},
"meta": {
"tool": "parse",
"credits_consumed": 1
}
}
HTTP/1.1 422 Unprocessable Entity
ERROR
{
"success": false,
"data": null,
"error": {
"code": "validation_error",
"message": "The given data was invalid."
}
}
Sign in to try this tool directly from the docs.
Code Examples
Request Example
lightbulb
Developer Tip
Credits are deducted before execution. If the upstream tool fails, credits are automatically refunded to your account.