Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.getlemma.com/llms.txt

Use this file to discover all available pages before exploring further.

The Lemma API uses ISO 8601 timestamps for all date and time values. This is the most widely supported timestamp format across programming languages and tools.

Format

An ISO 8601 timestamp looks like this:
2026-03-15T14:30:00Z
PartMeaning
2026-03-15Date in year-month-day order
TSeparator between date and time
14:30:00Time in 24-hour format (hours:minutes:seconds)
ZUTC timezone (also called “Zulu”)

Timezone offsets

Instead of Z, you can specify a UTC offset:
2026-03-15T09:30:00-05:00
This represents 9:30 AM Eastern Standard Time (UTC-5). The API converts all timestamps to UTC internally.

Using timestamps in query parameters

When filtering by timestamp, pass the full ISO 8601 string as the parameter value:
curl "https://api.getlemma.com/v0/transactions?posted_at.on_or_after=2026-03-01T00:00:00Z&posted_at.on_or_before=2026-03-31T23:59:59Z" \
  -H "Authorization: Bearer your_api_key"

Generating timestamps

new Date().toISOString()
// "2026-03-15T14:30:00.000Z"