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.
REQUEST METHOD | TARGET URL |
---|---|
| 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.
REQUEST METHOD | TARGET URL |
---|---|
| https://api.buss.lol/domains |
GET
/tlds
GET
/tldsAllows you to get the list of all valid TLDS.
REQUEST METHOD | TARGET URL |
---|---|
| 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").
REQUEST METHOD | TARGET URL |
---|---|
| https://api.buss.lol/domain/name/tld |
POST
/domain
POST
/domainAllows you to register a domain from the API
REQUEST METHOD | TARGET URL | HEADERS |
---|---|---|
| https://api.buss.lol/domain |
|
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
REQUEST METHOD | TARGET URL | HEADERS |
---|---|---|
| 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.
REQUEST METHOD | TARGET URL | HEADERS |
---|---|---|
| https://api.buss.lol/domain/:key |
|
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.
REQUEST METHOD | TARGET URL | HEADERS |
---|---|---|
| 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.
REQUEST METHOD | TARGET URL | HEADERS |
---|---|---|
| https://api.buss.lol/registry/domain/ |
|
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