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/.
APIs have rate limits. They are provided in the headers.
GET
/
GET
/Provides a basic message explaining the API.
GET
https://api.buss.lol/
GET
/domains?amount={x}&page={y}
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.
GET
https://api.buss.lol/domains
GET
/tlds
GET
/tldsAllows you to get the list of all valid TLDS.
GET
https://api.buss.lol/tlds
GET
/domain/name
/tld
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").
GET
https://api.buss.lol/domain/name/tld
POST
/domain
POST
/domainAllows you to register a domain from the API
POST
https://api.buss.lol/domain
Content-Type: application/json
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.
POST
/domain/check
POST
/domain/checkAllows you to "search" for domains using domain names and TLDs
POST
https://api.buss.lol/domain/check
None
AND BODY:
Being {name}
the name
you want to search for, and {tld}
an optional parameter to also search for a specific TLD.
Quick reminder: unless specified, all parameters are required.
PUT
/domain/key
PUT
/domain/key
Allows you to update your domain's IP / GitHub URL. The code's source, basically.
PUT
https://api.buss.lol/domain/:key
Content-Type: application/json
Being :key
your domain's secret key.
AND BODY:
Being {ip}
the new IP you want to set for your domain.
DELETE
/domain/key
DELETE
/domain/key
Allows you to delete your domain from the network. You cannot undo that, so be careful.
DELETE
https://api.buss.lol/domain/:key
No headers required
Being :key
your domain's secret key.
POST
/registry/domain
POST
/registry/domainAllows to create your own domain using an API key.
This is disabled by default as you will need to come up with your own way of validating and distributing API Keys.
POST
https://api.buss.lol/registry/domain/
Content-Type: application/json; Authorization = name:token
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.
Last updated