Developer Hub

Build with K2V

Powerful API for link shortening, custom domains, and real-time analytics. Built for developers who care about performance and brand.

1
Introduction

Welcome to the K2V API. Our API allows you to programmatically shorten URLs, manage custom domains, and retrieve detailed analytics. It is designed with REST principles, ensuring intuitive and predictable interactions.

Base URL

https://api.k2v.pro/api/v1/console

Format

JSON only (UTF-8)

2
Authentication

K2V uses API keys to authenticate requests. You can generate and manage your keys in the developer dashboard. Provide your API key in the X-API-Key header of your requests.

Example Header
X-API-Key: YOUR_API_KEY

Need an API Key?

Log in to your account to generate your credentials.

3
API Reference

POST/urls
Create a new shortened URL

Example Request

{
  "original_url": "https://example.com"
}

Example Response

{
  "status": "success",
  "data": {
    "short_url": "https://k2v.pro/xyz123"
  }
}

4
Error Codes

CodeMeaning
400Bad Request - Missing or invalid parameters
401Unauthorized - Invalid or missing API key
403Forbidden - Usage limits reached
429Too Many Requests - Rate limiting active