API v1
TVNID Specifications
One Identifier. Two Representations. Exact Conversion.Explore TVNID's technical capabilities and practical applications. The service provides compact Numeric IDs for database storage and indexing, alongside human-readable Visual IDs for external references, sharing, and manual entry. Use the API to request either representation and its supported counterpart.
Technical Capabilities
26 Technical Capabilities Across Six Categories
Database Efficiency
Compact Integer Storage and Ordered Database Operations
Timestamp
Timestamp Information Available Through the API
Exact Conversion
Exact Numeric–Visual Conversion
Human Readability
Compact, Readable, and Shareable Visual References
Non-Sequential Appearance
Visually Distinct and Non-Sequential ID Patterns
Applications
Unified Identification Across Digital and Physical Workflows
Explore TVNID's 26 technical capabilities, organized under the six categories introduced on the Homepage. Each capability is presented through detailed technical explanations, practical use cases, visual demonstrations, and interactive tools where applicable.
Consistent numbering and icons connect the categories on the Homepage with their corresponding technical capabilities on the Specifications page, making it easy to navigate between the overview and detailed explanations.
Note on Demonstrations: Numeric and Visual IDs used throughout this page are verified conversion pairs provided for illustration, demonstration, and interactive testing. They demonstrate valid conversions but do not necessarily represent identifiers issued to actual records.
Database Efficiency
Compact Integer Storage and Ordered Database Operations
TVNID's compact integer-based Numeric IDs support efficient database storage, indexing, ordered retrieval, and native database operations, including record lookups and relational joins.
- 01.1
8-Byte Integer Key
TVNID represents each Numeric ID as a fixed-width 64-bit integer (8 bytes), compatible with the signed
BIGINTdata type supported by common relational databases. This enables native integer comparisons, indexing, and use as primary or foreign keys without requiring textual ID storage.At the binary level, each byte contains 8 bits, giving the Numeric ID a 64-bit representation. Its decimal, hexadecimal, and binary forms express the same integer value, allowing developers to inspect its underlying representation without changing the identifier.
SQL
CREATE TABLE users ( id BIGINT PRIMARY KEY ); - 01.2
Compact Key Storage
An eight-byte integer key may use less storage than a longer textual key in records, indexes, and repeated relationships. The actual footprint depends on the database, schema, and index design.Example:The value28693394859722295fits the eight-byte Numeric ID representation; actual table and index sizes depend on the database design. - 01.3
Relational Links and Native Database Operations
Use the Numeric ID as a table’s primary key and as a foreign key in related tables. For example, an order record can refer to its customer through the same numeric identifier used by the customer table.As an integer, the Numeric ID can be used in primary and foreign keys, indexed in those roles, compared numerically, and used in joins and relational constraints.
Example A — Relational reference
Example:Customer28693394859722295can be referenced by related order records through a foreign key.Example B — Database join
Example:A join can match an order’s customer reference to customer Numeric ID28693394859722295. - 01.4
Numeric Ordering
Numeric IDs support ordinary numeric comparison and sorting in a database. Use an application timestamp when a query needs to reflect event or wall-clock order.Example:Use a numericORDER BYclause to sort stored Numeric IDs by value. - 01.5
Ordered Queries
Numeric ID bounds can define a range query, and records can be sorted in Numeric ID order. An index can support range scans and ordered retrieval when the database and query plan allow it.Example:The neighboring values28693394859722295and28693394859722296can illustrate numeric range bounds. - 01.6
Numeric Range Filtering
Numeric ID bounds can filter a range of records and use an index when the database and query plan support it. For calendar or business-time filtering, use the application's timestamp field.Example:A database query can filter Numeric IDs between a lower and upper numeric bound.
Timestamp
Datetime Information Available Through the API
- 02.1
Datetime Information from the Service
The TVNID API can return timestamp information for a supported Numeric ID. Request it through the inspection endpoint when an application needs that information.Example:Numeric ID:28693394859722295
Decoded UTC Datetime:See this moment in your time zone
The API returns timestamp information; this view uses your time zone.
Show the time in your local time zone.
- 02.2
Timestamp Lookup on Demand
Applications can request the service's timestamp information when needed instead of keeping a duplicate value solely for display. Keep an application-level audit timestamp when an exact business event time must be recorded.Example:Use the API inspection result to display the timestamp information associated with28693394859722295. - 02.3
Chronological Organization
When the time information returned by the service is relevant, applications can use it to organize records. A service-provided timestamp may differ from the time of a separate business event; keep an event or audit timestamp when that distinction matters.Example:Use the returned datetime to present the timestamp associated with28693394859722295in a record view. - 02.4
Timestamp Detail
The inspection response includes timestamp fields for applications that need detailed time information. The returned representation does not imply a particular clock accuracy.
Exact Conversion
One Identifier, Two Representations
Different forms, the same identifier.
| Numeric ID | Visual ID |
|---|---|
| 8-byte integer | 12-character alphanumeric identifier |
| Database primary and foreign keys | URLs and filenames |
| Database indexing and relationships | File and object references |
| Internal processing and numeric comparisons | Human-readable labels and external references |
| Decimal JSON string in numeric_id | Text in the compatible visual_id field |
Explore the verified pair
Switch direction to see the same identifier from either form. This verified pair illustrates conversion only; it is not an issued identifier.
Input
28693394859722295
Converted form
e8bb8nv6fgsu
- 03.1
Visually Distinct Forms
TVNID-generated Visual IDs contain at least one alphabetic character and at least one numeric character, making them visually distinguishable from purely numeric values and alphabetic words. This characteristic facilitates their recognition as identifiers in interfaces, logs, documents, and shared references.
Example:The Numeric ID28693394859722295consists exclusively of digits, whereas its corresponding Visual IDe8bb8nv6fgsucombines alphabetic and numeric characters. - 03.2
Round-Trip Consistency
Converting a supported Numeric ID to a Visual ID and converting it back returns the original Numeric ID exactly. A supported canonical Visual ID converts to a Numeric ID and back to the same 12 lowercase characters.Example:28693394859722295converts toe8bb8nv6fgsuand back to28693394859722295. - 03.3
On-Demand API Conversion
Request the corresponding representation from the TVNID API when your application needs it. Your application can keep its chosen database key and use the returned pair in the workflows where both forms are useful.Example:Send Visual IDe8bb8nv6fgsuto the conversion endpoint, then use the returned Numeric ID to look up the application record. - 03.4
Direct Database Lookup from Visual IDs
TVNID enables applications to retrieve database records using externally shared Visual IDs while maintaining Numeric IDs as their internal database keys. When a user accesses a URL containing a Visual ID, the application sends it to the TVNID API, receives the corresponding Numeric ID, and uses that value to query the database for the requested record.
This approach allows applications to expose compact, human-readable identifiers in URLs and other external references while continuing to use integer-based primary keys for database storage, indexing, and retrieval. The TVNID API provides the paired representation; access to the application record still follows the application's own authorization rules.
The same mechanism can be applied to document links, file references, API endpoints, and other resources identified externally by their Visual IDs.
Practical advantage: Applications can maintain user-friendly external references while keeping their Numeric ID database operations and record lookup rules.
Interactive Example — Retrieve a Database Record from a Visual ID
The example pair demonstrates conversion only; it is not an identifier issued to a real order. Conversion uses the TVNID service; record retrieval is simulated with a local example and does not connect to a production database.
Human Readability
Compact, Easy-to-Read References
A consistent, lowercase alphabet. Compact text for people and software.
- 04.1
Fixed-Length Lowercase Format.
Every Visual ID contains exactly 12 characters from the supported lowercase TVNID alphabet. IDs are case-sensitive and returned in lowercase by generation requests. The fixed length and consistent character format give interfaces, tables, printed labels, filenames, and external references a uniform presentation.
Example:e8bb8nv6fgsuis a 12-character lowercase Visual ID.123456789abcdefghjkmnpqrstuvwxyz - 04.2
Reduced Visual Ambiguity.
The alphabet excludes 0, i, l, and o, as well as uppercase letters. This helps distinguish similar-looking symbols when a Visual ID is read, copied, typed, printed, or communicated verbally.
- 0
- Resembles O and o
- i
- Can resemble 1 or l
- l
- Can resemble 1 or I
- o
- Resembles O and 0
Uppercase letters—including I, L, and O—are not in the alphabet either. Excluding visually similar characters helps reduce transcription confusion when an ID is read, copied, typed, printed, or communicated verbally.
Example:Ine8bb8nv6fgsu, the lowercase text uses none of the excluded symbols0,i,l, oro. - 04.3
Read Aloud in Pairs
Reading a 12-character Visual ID as six two-character pairs gives people a consistent rhythm for saying and following the reference aloud.
Example:A 12-character Visual ID can be spoken as six pairs of two characters.e8bb8nv6fgsubecomese8 bb 8n v6 fg su. Spaces are only a read-aloud aid; enter the ID without spaces. - 04.4
Optional Platform Display Grouping
Four-character groups add visible breakpoints that can help a person scan a Visual ID and locate each part during manual entry.
Example:A platform may displaye8bb8nv6fgsuin 4-4-4 groups ase8bb-8nv6-fgsu. Hyphens are display separators, not part of the ID. - 04.5
Compact and Balanced Reference Length.
A 12-character Visual ID keeps URL paths, filenames, document references, and API resource paths short and easy to scan. The examples below show the same Visual ID used in an order path, a PDF filename, an ID card, and a printed document reference.
Twelve characters balance compactness with a broader nominal value space than very short codes, providing room for many distinct references while keeping each one manageable.
Example:URL path
/orders/e8bb8nv6fgsuPDF filename
e8bb8nv6fgsu.pdfID card
ID: e8bb8nv6fgsuPrinted document reference
e8bb8nv6fgsuExample:The same referencee8bb8nv6fgsustays compact at 12 characters and can be read in pairs or grouped for display.
- 04.6
Hexadecimal Display
Hexadecimal offers an optional fixed-width way to display the Numeric ID; it is another display form of the same identifier, not a third identifier.
Example:A fixed-width hexadecimal display uses 16 digits for 64 bits (64 ÷ 4 = 16), grouped as four blocks of four, with each digit representing four bits. Alphabetic hexadecimal digits use uppercase A–F, distinguishing this display from the lowercase Visual ID. Numeric ID28693394859722295is0065-F07D-9803-8637. This is an optional display form; the API continues to use its decimal string in JSON.
Non-Sequential Appearance
Distinct-Looking Visual IDs
Nearby values do not look like a simple character counter.
- 05.1
Non-Sequential Visual Changes
Visual IDs are complete identifier values, not sequence numbers. Use them as exact references in links, logs, documents, and shared workflows; do not infer ordering, time, or security from how a value looks.Example:Use the full returned Visual IDe8bb8nv6fgsuas the reference in a URL, label, or message. - 05.2
Lexicographical Ordering
Text ordering of Visual IDs is not a substitute for numeric sorting or timestamp queries. Use Numeric IDs for numeric comparisons and the timestamp fields returned by the API when time information is needed.Example:For an ordered database query, sort by the Numeric ID column rather than by the Visual ID text.
Applications
One Identifier Across Workflows
Store the Numeric ID. Share the Visual ID.
- 06.1
One Identifier Across Uses
The same TVNID can identify a record across databases, APIs, documents, filenames, labels, and external references. Applications can store the Numeric ID internally and share its Visual ID externally, using the TVNID API when the other representation is needed. This helps integrated systems correlate the same record across workflows. Accessing records in another system still requires the appropriate integration and authorization.Example:Order Numeric ID28693394859722295can pair with Visual IDe8bb8nv6fgsuin a receipt, URL, or support message.
Choose a workflow to preview the reference
Reference preview
AI agents
Numeric ID · record key
28693394859722295Task reference
task_id="e8bb8nv6fgsu"- 06.2
Potential Applications
These examples describe potential uses, not claims of existing adoption or currently implemented API capabilities. The same two-form pattern can serve internal records and external references in retail, e-commerce, logistics, finance, healthcare, education, government, media, IoT, cloud storage, research, and AI-agent workflows. The table below shows how each form can fit those records.Example:A retail item record can use Numeric ID28693394859722295, while Visual IDe8bb8nv6fgsuappears on its label or receipt.
One identifier across industries.
| Industry / sector | Numeric ID applications | Visual ID applications |
|---|---|---|
| Database systems | Primary keys, foreign keys, joins | External record references |
| Retail | Product, inventory, and sales records | Product labels, receipts, and item references |
| E-commerce | Customer, product, and order records | Order URLs and receipts |
| Finance and fintech | Internal transaction records | Transaction references |
| Healthcare | Patient and appointment records | Document and appointment references |
| Logistics and supply chain | Inventory, shipment, and warehouse records | Package labels and tracking references |
| Education | Student, course, and enrollment records | Certificates and verification links |
| Government | Applications, cases, administrative records | Public reference numbers |
| Media and content | Content and asset records | Image filenames and content URLs |
| Internet of Things | Device and event records | Device labels and references |
| AI agents | Task, workflow, and execution records | Agent-readable resource references |
| Cloud storage | File metadata and relationships | Object names and storage paths |
| Research and publishing | Manuscript and submission records | Publication links and filenames |
- 06.3
Physical-to-Digital Identification
QR codes, barcodes, and physical labels can connect physical items to their digital records. A Visual ID can link an item through a QR-code URL or appear on product labels, receipts, equipment tags, conference registration materials, and check-in badges. For numeric-only linear barcode formats, encode the paired Numeric ID.Example:One verified example pair uses Visual IDe8bb8nv6fgsuon a QR URL or printed label and Numeric ID28693394859722295in a numeric barcode.
QR-code URL payload
https://your-app.example/records/e8bb8nv6fgsuQR alphanumeric mode does not support lowercase, so TVNID Visual IDs generally use byte mode.
Numeric linear barcode data
28693394859722295Use the Numeric ID with a numeric barcode symbology that supports the value.
Human-readable printed label
e8bb8nv6fgsuThe lowercase, ambiguity-reduced alphabet helps people enter the ID if scanning is unavailable.
Shorter payloads can reduce encoded data and may allow more compact QR codes or barcodes, depending on the selected standard, symbology, encoding mode, and configuration. This does not guarantee a smaller symbol or improved scanning performance.
- 06.4
Programmatic Identifier Compatibility
Visual IDs consist of lowercase letters and digits, with an alphabetic first character. This structure conforms to identifier naming conventions across numerous programming languages, database systems, and web technologies, enabling Visual IDs to be used directly as programmatic identifiers without prefixing, quoting, or escaping where these conventions apply.
Examples
Application Language / Technology Example Variable name Python e8bb8nv6fgsu = 100Constant name JavaScript const e8bb8nv6fgsu = 100;Function name Python e8bb8nv6fgsu()Class name Java class e8bb8nv6fgsu {}Object property JavaScript object.e8bb8nv6fgsuDatabase table name SQL SELECT * FROM e8bb8nv6fgsu;Database column name SQL SELECT e8bb8nv6fgsu FROM users;Element name XML <e8bb8nv6fgsu>100</e8bb8nv6fgsu>Element ID HTML <div id="e8bb8nv6fgsu"></div>ID selector CSS #e8bb8nv6fgsuClass selector CSS .e8bb8nv6fgsuEnvironment variable Bash export e8bb8nv6fgsu=100
API reference
Stable integration resources.
See API Documentation for endpoint schemas and error handling, or AI Agent Integration for agent discovery and calling guidance.
Consistent API Fields
JSON uses numeric_id for the decimal Numeric ID and visual_id for the Visual ID. Keeping these field names stable helps integrations identify which representation they are receiving.
Over JSON, Numeric IDs are represented as decimal strings to avoid JavaScript integer precision loss. Use exact integer handling, such as JavaScript BigInt or a database BIGINT parameter, rather than converting them to JavaScript Number.
numeric_id: 28693394859722295 with visual_id: e8bb8nv6fgsu.