URL Shortener API

To access the API, make a GET request to https://bisoga.xyz/api.

get
Shorten URL

https://bisoga.xyz/api
Request
Response
Query Parameters
url
required
string
The URL to shorten
domain
optional
string
The domain to return (Choose from all of our URL Shortener domains) (defaults to biso.ga)
onlycode
optional
boolean
Only shows the path in the response (such as aB3d1) (Default false)
200: OK
Example response:
https://biso.ga/2tx

Domain list

URL Examples

https://bisoga.xyz/api?url=https://quack.ga/h https://bisoga.xyz/api?url=https://quack.ga/h&domain=school-b.us https://bisoga.xyz/api?url=https://quack.ga/h&onlycode=true

Node.JS Code Example

/* This example uses jaczfetch (npm i MrJacz/jaczfetch)
but it should also work with snekfetch 4 (npm i snekfetch)
Note that snekfetch is deprecated */
const { get } = require('jaczfetch')
let code
let url = 'google.com'
await get('https://bisoga.xyz/api?url='+url+'&domain=school-b.us').then((result) => code = String(result.raw))
// In snekfetch 3.x use result.text instead of String(result.raw)
console.log(code)
// Expected result: https://school-b.us/2tx

Try this code out out in RunKit

More code examples