MyAPI

Complete API Documentation

Getting Started

Selamat Datang di MyApi dokumentasi, kami menyediakan berbagai macam fitur dari setiap endpoint yang pastinya berguna bagi anda.

Base URL

https://api.ceknickname.my.id/api/

Download TikTok Video

Download TikTok videos without watermark.

Endpoint

GET /tiktok-video

Parameters

Parameter Type Required Description
url String Yes TikTok video URL

Example Request

const getTiktokVideo = async () => {
  try {
    const response = await axios.get('https://api.ceknickname.my.id/api/tiktok-video', {
      params: { url: 'https://www.tiktok.com/@username/video/1234567890123456789' }
    });
    console.log(response.data);
  } catch (error) {
    console.error('Error downloading TikTok video:', error);
  }
};

Example Response

{
  "status": true,
  "code": 200,
  "result": {
    "title": "this a title video",
    "video": "https://v16m-default.tiktokcdn.com/....",
    "thumb": "https://p16-sign-sg.tiktokcdn.com/....",
    "size": 3067919
  }
}

Download TikTok Audio

Extract and download audio from TikTok videos.

Endpoint

GET /tiktok-audio

Parameters

Parameter Type Required Description
url String Yes TikTok video URL

Example Request

const getTiktokAudio = async () => {
  try {
    const response = await axios.get('https://api.ceknickname.my.id/api/tiktok-audio', {
      params: { url: 'https://www.tiktok.com/@username/video/1234567890123456789' }
    });
    console.log(response.data);
  } catch (error) {
    console.error('Error downloading TikTok audio:', error);
  }
};

Example Response

{
  "status": true,
  "code": 200,
  "result": {
    "title": "this title a video",
    "audio": "https://sf16-ies-music-sg.tiktokcdn.com/....",
    "thumb": "https://p16-sign-sg.tiktokcdn.com/...."
  }
}

Download TikTok Slide

Download images from TikTok slide posts.

Endpoint

GET /tiktok-slide

Parameters

Parameter Type Required Description
url String Yes TikTok slide post URL

Example Request

const getTiktokSlide = async () => {
  try {
    const response = await axios.get('https://api.ceknickname.my.id/api/tiktok-slide', {
      params: { url: 'https://www.tiktok.com/@username/video/1234567890123456789' }
    });
    console.log(response.data);
  } catch (error) {
    console.error('Error downloading TikTok slide:', error);
  }
};

Example Response

{
  "status": true,
  "code": 200,
  "result": {
    "title": "this a title slide",
    "slide": [
      "https://image-url-1.jpg",
      "https://image-url-2.jpg",
      "https://image-url-3.jpg"
    ]
  }
}

Download YouTube Video

Download YouTube videos with metadata

Endpoint

GET /youtube-video

Parameters

Parameter Type Required Description
url String Yes YouTube video URL

Example Request

const getYoutubeVideo = async () => {
  try {
    const response = await axios.get('https://api.ceknickname.my.id/api/youtube-video', {
      params: { url: 'https://youtu.be/dy-7lkzzgEk?si=m4mSLjYs5Yll0TK3' }
    });
    console.log(response.data);
  } catch (error) {
    console.error('Error downloading YouTube video:', error);
  }
};

Example Response

{
  "status": true,
  "code": 200,
  "result": {
    "success": true,
    "title": "this title a video",
    "type": "video",
    "formats": "480",
    "thumbnail": "https://i.ytimg.com/....",
    "download": "https://nora82.oceansaver.in/....",
    "id": "dy-7lkzzgEk"
  }
}

Download YouTube Audio

Extract and download audio from YouTube videos

Endpoint

GET /youtube-audio

Parameters

Parameter Type Required Description
url String Yes YouTube video URL

Example Request

const getYoutubeAudio = async () => {
  try {
    const response = await axios.get('https://api.ceknickname.my.id/api/youtube-audio', {
      params: { url: 'https://youtu.be/dy-7lkzzgEk?si=m4mSLjYs5Yll0TK3' }
    });
    console.log(response.data);
  } catch (error) {
    console.error('Error downloading YouTube audio:', error);
  }
};

Example Response

{
  "status": true,
  "code": 200,
  "result": {
    "success": true,
    "title": "this title a video",
    "type": "audio",
    "format": "mp3",
    "thumbnail": "https://i.ytimg.com/....",
    "download": "https://nora82.oceansaver.in/....",
    "id": "dy-7lkzzgEk"
  }
}

Remini AI Image Enhancement

Enhance image quality using Remini AI technology

Endpoint

GET /remini

Parameters

Parameter Type Required Description
imageUrl String Yes URL of the image to enhance

Example Request

const enhanceImage = async () => {
  try {
    const response = await axios.get('https://api.ceknickname.my.id/api/remini', {
      params: { imageUrl: 'https://example.com/image.jpg' }
    });
    console.log(response.data);
  } catch (error) {
    console.error('Error enhancing image:', error);
  }
};

Example Response

{
  "status": true,
  "code": 200,
  "result": {
    "before": "https://example.com/image.jpg",
    "after": "https://remini-enhanced.com/processed-image.jpg"
  }
}

PLN Inquiry

Check PLN (Perusahaan Listrik Negara) customer information

Endpoint

POST /pln/inquiry

Request Body

Parameter Type Required Description
customerNumber String Yes PLN customer number

Example Request

const checkPLN = async () => {
  try {
    const response = await axios.post('https://api.ceknickname.my.id/api/pln/inquiry', {
      customerNumber: '123456789012'
    });
    console.log(response.data);
  } catch (error) {
    console.error('Error checking PLN info:', error);
  }
};

Example Response

{
  "code": 200,
  "status": true,
  "creator": "ceknickname.my.id",
  "result": {
    "customerNumber": "123456789012",
    "name": "JOHN DOE",
    "segment": "RUMAH TANGGA",
    "power": "900 VA",
    "address": "JL. EXAMPLE NO. 123"
  }
}

PLN Pasca Inquiry

Check PLN postpaid subscription details

Endpoint

POST /pln/inquiry-pasca

Request Body

Parameter Type Required Description
customerNumber String Yes PLN customer number
skuCode String Yes Product SKU code
refId String Yes Reference ID for transaction

Example Request

const checkPLNPasca = async () => {
  try {
    const response = await axios.post('https://api.ceknickname.my.id/api/pln/inquiry-pasca', {
      customerNumber: '123456789012',
      skuCode: 'PLN-POSTPAID',
      refId: 'TRX123456789'
    });
    console.log(response.data);
  } catch (error) {
    console.error('Error checking PLN postpaid info:', error);
  }
};

Example Response

{
  "code": 200,
  "status": true,
  "creator": "ceknickname.my.id",
  "result": {
    "customerNumber": "123456789012",
    "name": "JOHN DOE",
    "period": "FEBRUARY 2025",
    "billAmount": 250000,
    "admin": 2500,
    "totalAmount": 252500,
    "refId": "TRX123456789"
  }
}

Get PDAM Operators

Get list of available PDAM (Perusahaan Daerah Air Minum) operators

Endpoint

GET /pdam/operators

Example Request

const getPDAMOperators = async () => {
  try {
    const response = await axios.get('https://api.ceknickname.my.id/api/pdam/operators');
    console.log(response.data);
  } catch (error) {
    console.error('Error getting PDAM operators:', error);
  }
};

Example Response

{
  "status": true,
  "creator": "ceknickname.my.id",
  "result": [
    {
      "id": "PDAM001",
      "name": "PDAM Kota Jakarta"
    },
    {
      "id": "PDAM002",
      "name": "PDAM Kota Bandung"
    },
    {
      "id": "PDAM003",
      "name": "PDAM Kota Surabaya"
    }
  ]
}

PDAM Bill Inquiry

Check water utility bills for PDAM customers

Endpoint

POST /pdam

Request Body

Parameter Type Required Description
customerNumber String Yes PDAM customer number
operatorId String Yes PDAM operator ID

Example Request

const checkPDAMBill = async () => {
  try {
    const response = await axios.post('https://api.ceknickname.my.id/api/pdam', {
      customerNumber: '123456789',
      operatorId: 'PDAM001'
    });
    console.log(response.data);
  } catch (error) {
    console.error('Error checking PDAM bill:', error);
  }
};

Example Response

{
  "status": true,
  "creator": "ceknickname.my.id",
  "result": {
    "customerNumber": "123456789",
    "name": "JOHN DOE",
    "period": "MAY 2025",
    "billAmount": 175000,
    "admin": 2500,
    "totalAmount": 177500,
    "operatorName": "PDAM Kota Jakarta",
    "usage": "20 m³"
  }
}

BPJS Kesehatan Inquiry

Check BPJS Kesehatan (Health Insurance) customer information

Endpoint

POST /bpjs-kesehatan

Request Body

Parameter Type Required Description
customerNumber String Yes BPJS member number

Example Request

const checkBPJSInfo = async () => {
  try {
    const response = await axios.post('https://api.ceknickname.my.id/api/bpjs-kesehatan', {
      customerNumber: '0001234567890'
    });
    console.log(response.data);
  } catch (error) {
    console.error('Error checking BPJS info:', error);
  }
};

Example Response

{
  "status": true,
  "creator": "ceknickname.my.id",
  "result": {
    "customerNumber": "0001234567890",
    "name": "JOHN DOE",
    "class": "Kelas I",
    "dueDate": "2025-06-10",
    "monthlyFee": 150000,
    "members": 3,
    "status": "AKTIF",
    "branch": "JAKARTA PUSAT"
  }
}