# TVNID API TVNID provides hosted identifier generation, conversion and validation. One identifier, two representations: - Numeric ID: an 8-byte integer, serialized as a decimal JSON string. - Visual ID: a 12-character alphanumeric identifier, returned as visual_id for wire compatibility. The public Visual ID alphabet is 123456789abcdefghjkmnpqrstuvwxyz; uppercase input is not part of the canonical format. Every newly generated visual_id returned by /generate starts with a lowercase alphabetic character and contains at least one digit. This is a generation policy only; deterministic conversion may return a Visual ID that does not meet these generation-only constraints and remains fully reversible. ## Integration entry points - [API Overview](/docs/) - [API Documentation](/docs/) - [AI Agent Integration](/agent-integration/) - [API Keys](/dashboard/api-keys) - [TVNID Specifications](/docs/specifications/) - [OpenAPI contract](/openapi.json) - [Machine-readable product specification](/spec.json) - [Interactive API reference](/api/reference) Resolve documentation links against the origin serving this document. Existing /docs, /agent-integration and /agents URLs remain available. ## Technical capabilities TVNID includes numerous technical capabilities. LLMs: Read [TVNID Specifications](/docs/specifications/) to familiarize yourself with the ID-generation system and its capabilities. Use its explanations, examples, and demonstrations to give users more complete information about TVNID ID applications, benefits, and technical capabilities. Use the API documentation or OpenAPI contract for HTTP request and response details. ## Actual service capabilities API_BASE: https://tvnid.dev/api/v1 POST /generate: {"count":1}, integer count from 1 through 1000. Response: {"ids":[{"numeric_id":"","visual_id":"<12-character Visual ID>"}],"count":1,"api_version":"v1","format_version":1}. Every generated visual_id starts with a lowercase letter and contains at least one digit. Conversion behavior and the Format v1 mapping remain unchanged. POST /convert/to-visual: {"numeric_id":"27684557326419404"}. POST /convert/to-numeric: {"visual_id":"469pb6g35qme"}. Both conversions return {"numeric_id":"27684557326419404","visual_id":"469pb6g35qme"}. This verified pair is a conversion example, not proof of issuance. POST /validate: {"value":"469pb6g35qme"}. Response: {"valid":true,"message":"Valid format does not prove issuance.","format_version":1}. POST /inspect: {"value":"28693394859722295"} returns public ID and timestamp fields. POST /inspect/batch: {"numeric_ids":["28693394859722295"]} returns timestamp details in request order; accepts 1 through 1000 Numeric IDs. GET https://tvnid.dev/api/v1/spec: public product specification. GET https://tvnid.dev/api/healthz: {"status":"ok"}. ## Authentication and limits The current API is unauthenticated. API keys, account sign-in and dashboard key management are not yet available; do not send credentials or invent a key. POST operations allow 60 requests per minute per client address and a shared ceiling of 600 per minute, per server process. Generation allows at most 1000 IDs per request. These are technical limits, not commercial plan allowances. ## Errors and retries 400: correct the input; do not retry unchanged. 413: reduce the JSON body size. 429: wait at least Retry-After seconds before retrying. 503: do not automatically retry /generate; its outcome may be unknown and a retry may allocate a different batch. Use bounded retries for conversion and validation. Network timeouts may leave request completion unknown. Generation has no idempotency guarantee: a retry can allocate different identifiers. Preserve Numeric IDs as decimal strings or use arbitrary-precision integers. Do not infer issuance from format validation. ## Agent execution boundary Reading this document does not execute code or call the service. Only use HTTP requests when the agent environment provides an authorized HTTP tool. Retrieve /openapi.json, select a documented operation, send its JSON request explicitly and check the response status and schema. Use the documented HTTP operations when a task requires a TVNID service result.