url_proxy

API endpoint

GET ?route=url_proxy&url=${Fetch URL}

Fetch URL should encode

In javascript, you should use encodeURIComponent to encode Fetch URL.

Example request

GET ?route=url_proxy&url=https%3A%2F%2Fpokeapi.co%2Fapi%2Fv2%2Fpokemon%2F1

Example of fetch resorce using url_proxy,fetch pokemon API

Youtube API

API endpoint

GET ?route=youtube&videoid=${video id(11 characters)}

Query parameter

Parameter Name Required Type Description
route Yes String The route to the specific API endpoint. Must be youtube
videoid Yes String The ID of the video to retrieve details for.
image_base64 No Number If set to 1, the response will include a base64 encoded image. Default is 0.

Success response

Failed response

{
  "title": "",
  "status": "failed notfound?"
}

Niconico API

API Endpoint

GET ?route=niconico&videoid=${video id}

This API response depend on niconico return ones, so sometimes change from this or send error.(23/11/3)

Query parameter

Parameter Name Required Type Description
route Yes String The route to the specific API endpoint. Must be niconico
videoid Yes String The ID of the video to retrieve details for.
image_base64 No Number If set to 1, the response will include a base64 encoded image. Default is 0.

Success response

Failed request

{
  "status": "invalid videoid",
  "thumbnail_url": ""
}

Bilibili API

API endpoint

GET ?route=bilibili&videoid=${BVID}

Query parameter

Parameter Name Required Type Description
route Yes String The route to the specific API endpoint. Must be bilibili
videoid Yes String The ID of the video to retrieve details for. Must be BVID not use AVID
image_base64 No Number If set to 1, the response will include a base64 encoded image. Default is 0.

Sucess Response

Failed request

{
  "code": -400,
  "message": "请求错误",
  "ttl": 1
}

Soundcloud API

API endpoint

GET ?route=soundcloud&videoid=${video id}

Query parameter

Parameter Name Required Type Description
route Yes String The route to the specific API endpoint. Must be soundcloud
videoid Yes String The ID of the video to retrieve details for.
image_base64 No Number If set to 1, the response will include a base64 encoded image. Default is 0.

Sucess Response

Failed response

{
  "status": "error not found?"
}