Docs/Format Utils/GET /v1/cron-parser

GET /v1/cron-parserParse cron expression

Format Utils lf-format-utils

Explains in normal words when a scheduled job will run. Parses a standard 5-field cron expression and returns a human-readable description with expanded field values.

Query Parameters

ParameterTypeRequiredDescription
cronstringYesFive-field cron expression

Response Schema

success (boolean): Operation success
expression (string): Original expression
fields (object): Parsed field breakdown
description (string): Human-readable schedule
is_valid (boolean): Whether expression is valid

cURL Example

curl 'https://lf-format-utils.laminarforge.dev/v1/cron-parser?cron=0%200%20*%20*%20*' -H 'Authorization: Bearer lf_YourApiKey'

Python Example

import requests
url = 'https://lf-format-utils.laminarforge.dev/v1/cron-parser'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'cron': '0 0 * * *'}
response = requests.get(url, headers=headers, params=params)
print(response.json())