Skip to content

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

  1. Database Efficiency

    Compact Integer Storage and Ordered Database Operations

  2. Timestamp

    Timestamp Information Available Through the API

  3. Exact Conversion

    Exact Numeric–Visual Conversion

  4. Human Readability

    Compact, Readable, and Shareable Visual References

  5. Non-Sequential Appearance

    Visually Distinct and Non-Sequential ID Patterns

  6. 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.

  1. 01.1

    8-Byte Integer Key

    TVNID represents each Numeric ID as a fixed-width 64-bit integer (8 bytes), compatible with the signed BIGINT data 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
    );
  2. 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 value 28693394859722295 fits the eight-byte Numeric ID representation; actual table and index sizes depend on the database design.
  3. 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:
    Customer 28693394859722295 can 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 ID 28693394859722295.
  4. 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 numeric ORDER BY clause to sort stored Numeric IDs by value.
  5. 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 values 28693394859722295 and 28693394859722296 can illustrate numeric range bounds.
  6. 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

  1. 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.

  2. 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 with 28693394859722295.
  3. 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 with 28693394859722295 in a record view.
  4. 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 IDVisual ID
8-byte integer12-character alphanumeric identifier
Database primary and foreign keysURLs and filenames
Database indexing and relationshipsFile and object references
Internal processing and numeric comparisonsHuman-readable labels and external references
Decimal JSON string in numeric_idText 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

  1. 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 ID 28693394859722295 consists exclusively of digits, whereas its corresponding Visual ID e8bb8nv6fgsu combines alphabetic and numeric characters.
  2. 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:
    28693394859722295 converts to e8bb8nv6fgsu and back to 28693394859722295.
  3. 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 ID e8bb8nv6fgsu to the conversion endpoint, then use the returned Numeric ID to look up the application record.
  4. 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.

    The final path segment is read as the Visual ID.

Human Readability

Compact, Easy-to-Read References

A consistent, lowercase alphabet. Compact text for people and software.

e8bb8nv6fgsu
  1. 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:
    e8bb8nv6fgsu is a 12-character lowercase Visual ID.
    123456789abcdefghjkmnpqrstuvwxyz
  2. 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:
    In e8bb8nv6fgsu, the lowercase text uses none of the excluded symbols 0, i, l, or o.
  3. 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. e8bb8nv6fgsu becomes e8 bb 8n v6 fg su. Spaces are only a read-aloud aid; enter the ID without spaces.
  4. 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 display e8bb8nv6fgsu in 4-4-4 groups as e8bb-8nv6-fgsu. Hyphens are display separators, not part of the ID.
  5. 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/e8bb8nv6fgsu

    PDF filename

    e8bb8nv6fgsu.pdf

    ID card

    ID: e8bb8nv6fgsu

    Printed document reference

    e8bb8nv6fgsu
    Example:
    The same reference e8bb8nv6fgsu stays compact at 12 characters and can be read in pairs or grouped for display.
  1. 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 ID 28693394859722295 is 0065-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.

  1. 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 ID e8bb8nv6fgsu as the reference in a URL, label, or message.
  2. 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.

  1. 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 ID 28693394859722295 can pair with Visual ID e8bb8nv6fgsu in a receipt, URL, or support message.

Choose a workflow to preview the reference

Reference preview

AI agents

Numeric ID · record key

28693394859722295

Task reference

task_id="e8bb8nv6fgsu"
  1. 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 ID 28693394859722295, while Visual ID e8bb8nv6fgsu appears on its label or receipt.

One identifier across industries.

Industry / sectorNumeric ID applicationsVisual ID applications
Database systemsPrimary keys, foreign keys, joinsExternal record references
RetailProduct, inventory, and sales recordsProduct labels, receipts, and item references
E-commerceCustomer, product, and order recordsOrder URLs and receipts
Finance and fintechInternal transaction recordsTransaction references
HealthcarePatient and appointment recordsDocument and appointment references
Logistics and supply chainInventory, shipment, and warehouse recordsPackage labels and tracking references
EducationStudent, course, and enrollment recordsCertificates and verification links
GovernmentApplications, cases, administrative recordsPublic reference numbers
Media and contentContent and asset recordsImage filenames and content URLs
Internet of ThingsDevice and event recordsDevice labels and references
AI agentsTask, workflow, and execution recordsAgent-readable resource references
Cloud storageFile metadata and relationshipsObject names and storage paths
Research and publishingManuscript and submission recordsPublication links and filenames
  1. 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 ID e8bb8nv6fgsu on a QR URL or printed label and Numeric ID 28693394859722295 in a numeric barcode.

QR-code URL payload

https://your-app.example/records/e8bb8nv6fgsu

QR alphanumeric mode does not support lowercase, so TVNID Visual IDs generally use byte mode.

Numeric linear barcode data

28693394859722295

Use the Numeric ID with a numeric barcode symbology that supports the value.

Human-readable printed label

e8bb8nv6fgsu

The 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.

  1. 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

    ApplicationLanguage / TechnologyExample
    Variable namePythone8bb8nv6fgsu = 100
    Constant nameJavaScriptconst e8bb8nv6fgsu = 100;
    Function namePythone8bb8nv6fgsu()
    Class nameJavaclass e8bb8nv6fgsu {}
    Object propertyJavaScriptobject.e8bb8nv6fgsu
    Database table nameSQLSELECT * FROM e8bb8nv6fgsu;
    Database column nameSQLSELECT e8bb8nv6fgsu FROM users;
    Element nameXML<e8bb8nv6fgsu>100</e8bb8nv6fgsu>
    Element IDHTML<div id="e8bb8nv6fgsu"></div>
    ID selectorCSS#e8bb8nv6fgsu
    Class selectorCSS.e8bb8nv6fgsu
    Environment variableBashexport 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.

Example:
A response can pair numeric_id: 28693394859722295 with visual_id: e8bb8nv6fgsu.