API Reference

How to work around with WebX's API, hosted at https://api.buss.lol.

This is the URI of the WebX API, which holds all the DNS of the network. You got different endpoints to do your stuff. https://api.buss.lol/.

circle-exclamation

GET /

Provides a basic message explaining the API.

circle-info

YOU SEND

REQUEST METHOD
TARGET URL

GET

https://api.buss.lol/

circle-check

RETURNS

GET /domains?amount={x}&page={y}

Being amount and page optional. amount for the amount of domains you want the response to have per page (defaults to 15), and page what page you want to view. Allows you to get the list of all working domains from the network.

circle-info

YOU SEND

REQUEST METHOD
TARGET URL

GET

https://api.buss.lol/domains

circle-check

RETURNS

GET /tlds

Allows you to get the list of all valid TLDS.

circle-info

YOU SEND

REQUEST METHOD
TARGET URL

GET

https://api.buss.lol/tlds

circle-check

RETURNS

GET /domain/name/tld

Allows you to get the data from a specific domain. Being name the domain name (e.g. "register") and tld it's TLD (e.g. "it").

circle-info

YOU SEND

REQUEST METHOD
TARGET URL

GET

https://api.buss.lol/domain/name/tld

circle-check

RETURNS

triangle-exclamation

IF DOMAIN DOES NOT EXIST

POST /domain

Allows you to register a domain from the API

circle-info

YOU SEND

REQUEST METHOD
TARGET URL
HEADERS

POST

https://api.buss.lol/domain

Content-Type: application/json

circle-info

AND BODY:

Being {name} the name you want to use as the domain, {tld} the TLD you want to use, and {ip} the IP / GitHub URL you want to serve from.

circle-check

RETURNS

triangle-exclamation

IF THE BODY OF YOUR POST REQUEST IS NOT VALID

POST /domain/check

Allows you to "search" for domains using domain names and TLDs

circle-info

YOU SEND

REQUEST METHOD
TARGET URL
HEADERS

POST

https://api.buss.lol/domain/check

None

circle-info

AND BODY:

Being {name} the name you want to search for, and {tld} an optional parameter to also search for a specific TLD.

circle-info

Quick reminder: unless specified, all parameters are required.

circle-check

RETURNS

triangle-exclamation

IF THE BODY OF YOUR POST REQUEST IS NOT VALID

PUT /domain/key

Allows you to update your domain's IP / GitHub URL. The code's source, basically.

circle-info

YOU SEND

REQUEST METHOD
TARGET URL
HEADERS

PUT

https://api.buss.lol/domain/:key

Content-Type: application/json

circle-info

Being :key your domain's secret key.

AND BODY:

Being {ip} the new IP you want to set for your domain.

circle-check

RETURNS

triangle-exclamation

IF THE BODY OF YOUR PUT REQUEST IS NOT VALID OR SPECIFIED KEY IS NOT VALID

DELETE /domain/key

Allows you to delete your domain from the network. You cannot undo that, so be careful.

circle-info

YOU SEND

REQUEST METHOD
TARGET URL
HEADERS

DELETE

https://api.buss.lol/domain/:key

No headers required

circle-info

Being :key your domain's secret key.

circle-check

RETURNS

triangle-exclamation

IF THE REQUEST HAS AN INVALID PARAMETER

POST /registry/domain

Allows to create your own domain using an API key.

circle-exclamation
circle-info

YOU SEND

REQUEST METHOD
TARGET URL
HEADERS

POST

https://api.buss.lol/registry/domain/

Content-Type: application/json; Authorization = name:token

circle-info

Being :token your API key.

AND BODY:

Being {name} the name you want to use as the domain, {tld} the TLD you want to use, and {ip} the IP / GitHub URL you want to serve from.

circle-check

RETURNS

triangle-exclamation

IF THE BODY OF YOUR POST REQUEST IS NOT VALID

Last updated