Developer Center

Dokumentasi API

Gunakan header x-api-key untuk autentikasi. Query apikey tetap tersedia untuk kompatibilitas bot lama, tetapi tidak disarankan.

API Key untuk Try It

Disimpan hanya di browser ini.

Format respons

{
  "success": true,
  "status": 200,
  "data": { ... },
  "timestamp": "2026-07-11T00:00:00.000Z"
}
System

Status API

Publik
GET/api/status

Memeriksa status server dan koneksi database.

Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/status')

const response = await fetch(url, {
  headers: {
  }
})

const result = await response.json()
Random

Quote

API Key
GET/api/random/quote

Mengambil kutipan acak.

Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/random/quote')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Random

Fakta

API Key
GET/api/random/fakta

Mengambil fakta teknologi acak.

Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/random/fakta')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Random

Truth

API Key
GET/api/random/truth

Mengambil pertanyaan truth acak.

Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/random/truth')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Random

Dare

API Key
GET/api/random/dare

Mengambil tantangan dare acak.

Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/random/dare')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Text

Reverse Text

API Key
GET/api/text/reverse

Membalik urutan karakter teks.

ParameterWajibContoh
textYaHalo dunia
Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/text/reverse')
url.searchParams.set('text', 'Halo dunia')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Text

Ubah Huruf

API Key
GET/api/text/case

Mengubah teks menjadi upper, lower, title, atau sentence case.

ParameterWajibContoh
textYahalo dunia
modeYatitle
Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/text/case')
url.searchParams.set('text', 'halo dunia')
url.searchParams.set('mode', 'title')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Tools

Base64 Encode

API Key
GET/api/tools/base64/encode

Mengubah teks menjadi Base64.

ParameterWajibContoh
textYaVier API
Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/tools/base64/encode')
url.searchParams.set('text', 'Vier API')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Tools

Base64 Decode

API Key
GET/api/tools/base64/decode

Mengembalikan Base64 menjadi teks UTF-8.

ParameterWajibContoh
textYaVmllciBBUEk=
Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/tools/base64/decode')
url.searchParams.set('text', 'VmllciBBUEk=')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Tools

Hash

API Key
GET/api/tools/hash

Membuat hash md5, sha1, sha256, atau sha512.

ParameterWajibContoh
textYarahasia
algorithmTidaksha256
Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/tools/hash')
url.searchParams.set('text', 'rahasia')
url.searchParams.set('algorithm', 'sha256')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Tools

Generator Password

API Key
GET/api/tools/password

Membuat password acak menggunakan generator kriptografis.

ParameterWajibContoh
lengthTidak16
numbersTidaktrue
symbolsTidaktrue
Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/tools/password')
url.searchParams.set('length', '16')
url.searchParams.set('numbers', 'true')
url.searchParams.set('symbols', 'true')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Tools

QR Code

API Key
GET/api/tools/qrcode

Membuat gambar QR Code PNG dari teks atau URL.

ParameterWajibContoh
textYahttps://viertechsolutions.com
Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/tools/qrcode')
url.searchParams.set('text', 'https://viertechsolutions.com')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Utilities

UUID

API Key
GET/api/utils/uuid

Membuat UUID versi 4.

Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/utils/uuid')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Utilities

Waktu

API Key
GET/api/utils/time

Mengambil waktu berdasarkan zona waktu IANA.

ParameterWajibContoh
timezoneTidakAsia/Jakarta
Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/utils/time')
url.searchParams.set('timezone', 'Asia/Jakarta')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Image

Avatar Initial

API Key
GET/api/image/avatar

Membuat avatar SVG dari nama.

ParameterWajibContoh
nameYaVier Tech
Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/image/avatar')
url.searchParams.set('name', 'Vier Tech')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Image

Quote Card

API Key
GET/api/image/quote

Membuat kartu kutipan SVG untuk dikirim sebagai gambar.

ParameterWajibContoh
textYaTetap konsisten.
authorTidakVier API
Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/image/quote')
url.searchParams.set('text', 'Tetap konsisten.')
url.searchParams.set('author', 'Vier API')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Search

GitHub User

API Key
GET/api/search/github

Mengambil profil publik pengguna GitHub.

ParameterWajibContoh
usernameYaoctocat
Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/search/github')
url.searchParams.set('username', 'octocat')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()
Search

NPM Package

API Key
GET/api/search/npm

Mengambil metadata paket dari registry NPM.

ParameterWajibContoh
packageYaexpress
Contoh penggunaan JavaScript
const url = new URL('https://api.viertechsolutions.com/api/search/npm')
url.searchParams.set('package', 'express')

const response = await fetch(url, {
  headers: {
    'x-api-key': process.env.VIER_API_KEY
  }
})

const result = await response.json()