MENU navbar-image

Introduction

This documentation aims to provide all the information you need to work with our API.

<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>

Authenticating requests

This API is not authenticated.

Endpoints

Example request:
curl --request GET \
    --get "https://KTV.test/api/artists/search" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://KTV.test/api/artists/search"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

[
    {
        "id": 10984,
        "name": "&TEAM"
    },
    {
        "id": 2,
        "name": "=LOVE(等愛)"
    },
    {
        "id": 3,
        "name": "≒JOY"
    },
    {
        "id": 4,
        "name": "100%樂團"
    },
    {
        "id": 5,
        "name": "1088"
    },
    {
        "id": 6,
        "name": "10CC"
    },
    {
        "id": 7,
        "name": "10CM"
    },
    {
        "id": 8,
        "name": "183CLUB"
    },
    {
        "id": 9,
        "name": "187INC"
    },
    {
        "id": 10,
        "name": "19"
    }
]