APImcp
GuidesMath & Time Utilities
ConsoleDocsMCP
Math & Time Utilities ⏱ 1 min read

UUID v7 Generator API

Generate UUID v7 identifiers that encode timestamps for chronological sorting.

01

What is UUID v7?

UUID v7 encodes the current Unix timestamp in the first 48 bits, making values sortable by creation time. This is the preferred choice for database primary keys as it reduces index fragmentation.

02

How to Use

Call GET /api/v1/uuid-v7?count=5. Returns time-sortable UUID v7 identifiers with generation timestamp.

Try it live Test this endpoint in the interactive console
Open Console →

Frequently Asked Questions

UUID v7 vs v4?
For database primary keys, v7's time-sortable property reduces B-tree index fragmentation. For security tokens, v4 is preferred.