Fakerest.dev

Internet

Internet-related items.

Optional items are indicated in YELLOW.

Avatar

Retreive a random avatar url.

GET/internet/avatar
curl https://api.fakerest.dev/v1/internet/avatar
{
"status": 200,
"avatar": "https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/982.jpg"
}

Color

Retreive a random css hex color code.

Optionally include the desired redbase, greenbase, or bluebase. Options include a whole number (ie. integer) between 0 and 255.

List option as 0 (zero) if you want to pass that in as random.

GET/internet/color/redbase/greenbase/bluebase
curl https://api.fakerest.dev/v1/internet/color
{
"status": 200,
"color": "#173b13"
}

with optional blue base and random red and green bases.

curl https://api.fakerest.dev/v1/internet/color/0/0/142
{
"status": 200,
"color": "#731558"
}

Domain name

Retreive a random domain name.

GET/internet/domainname
curl https://api.fakerest.dev/v1/internet/domainname
{
"status": 200
"domainName": "fortunate-cookie.com",
}

Domain suffix

Retreive a random domain suffix.

GET/internet/domainsuffix
curl https://api.fakerest.dev/v1/internet/domainsuffix
{
"status": 200,
"domainSuffix": "org"
}

Domain word

Retreive a random domain word.

GET/internet/domainword
curl https://api.fakerest.dev/v1/internet/domainword
{
"status": 200,
"domainWord": "wiry-cirrhosis"
}

Email

Retreive a random email with given name and provider.

Optionally include a firstname, lastname, provider, and request for special characters (special). List a field as all if you want it to be random, but also want to specify a parameter later in the url.

GET/internet/email/firstname/lastname/provider/special
curl https://api.fakerest.dev/v1/internet/email
{
"status": 200,
"email": "Shyanne77@yahoo.com"
}

with optional provider

curl https://api.fakerest.dev/v1/internet/email/all/all/gmail.com/
{
"status": 200,
"email": "Lorenzo48@gmail.com"
}

with optional first name, last name, provider, and use of special characters

curl https://api.fakerest.dev/v1/internet/email/hope/cruz/yahoo.com/true
{
"status": 200,
"email": "hope}cruz@yahoo.com"
}

Emoji

Retreive a random emoji.

Optionally include as many type as desired. Options include activity or body, food, flag, nature, object, person, smiley, symbol, and travel.

GET/internet/emoji/type
curl https://api.fakerest.dev/v1/internet/emoji
{
"status": 200,
"emoji": "🇲🇸"
}

with optional types of food and travel

curl https://api.fakerest.dev/v1/internet/emoji/food/travel
{
"status": 200,
"emoji": "🧇"
}

Example email

Retreive a random email with an example provider.

Optionally include a firstname, lastname, and request for special characters (special). List a field as all if you want it to be random, but also want to specify a parameter later in the url.

GET/internet/email/firstname/lastname/special
curl https://api.fakerest.dev/v1/internet/email
{
"status": 200,
"exampleEmail": "Roxane.Feil78@example.org"
}

with optional last name

curl https://api.fakerest.dev/v1/internet/email/all/thompson/
{
"status": 200,
"exampleEmail": "Ezequiel.thompson@example.com"
}

with optional first name, last name, and use of special characters

curl https://api.fakerest.dev/v1/internet/email/tianyu/chen/true
{
"status": 200,
"exampleEmail": "tianyu$chen17@example.com"
}

HTTP method

Retreive a random HTTTP method from the list of GET, POST, PUT, DELETE, and PATCH.

GET/internet/httpmethod
curl https://api.fakerest.dev/v1/internet/httpmethod
{
"status": 200,
"httpMethod": "GET"
}

IP

Retreive a random IPv4 address.

GET/internet/ip
ip https://api.fakerest.dev/v1/internet/ip
{
"status": 200,
"ip": "230.81.150.31"
}

IPv4

Retreive a random IPv4 address.

GET/internet/ipv4
ip https://api.fakerest.dev/v1/internet/ipv4
{
"status": 200,
"ipv4": "26.136.223.49"
}

IPv6

Retreive a random IPv6 address.

GET/internet/ipv6
ip https://api.fakerest.dev/v1/internet/ipv6
{
"status": 200,
"ipv6": "132e:5e8d:4f11:d539:35cc:1010:5c70:e614"
}

Mac

Retreive a random mac address, separated by :.

Optionally include the desired separator. Options include : or -, and empty for an emptry string.

GET/internet/mac/separator
ip https://api.fakerest.dev/v1/internet/mac
{
"status": 200,
"ipv6": "132e:5e8d:4f11:d539:35cc:1010:5c70:e614"
}

with optional separator of :

ip https://api.fakerest.dev/v1/internet/mac/-
{
"status": 200,
"mac": "c6-97-0d-7c-26-09"
}

Port

Retreive a random port number.

GET/internet/port
ip https://api.fakerest.dev/v1/internet/port
{
"status": 200,
"port": 20468
}

Protocol

Retreive a random web protocol. Either http or https.

GET/internet/protocol
ip https://api.fakerest.dev/v1/internet/protocol
{
"status": 200,
"protocol": "https"
}

URL

Retreive a random URL.

GET/internet/url
curl https://api.fakerest.dev/v1/internet/url
{
"status": 200,
"url": "http://spherical-football.net"
}

User Agent

Retreive a random user agent.

GET/internet/useragent
curl https://api.fakerest.dev/v1/internet/useragent
{
"status": 200,
"url": "Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 5.3; Trident/3.0)"
}

Username

Retreive a random internet username.

Optionally include the desired firstname and lastname to receive a username based on one of those names. List it as all if you want it to be random, but also want to specify a parameter later in the url.

GET/internet/username/firstname/lastname
curl https://api.fakerest.dev/v1/internet/username
{
"status": 200
"username": "Darrion_Hilpert",
}

with optional last name

curl https://api.fakerest.dev/v1/internet/username/all/reynolds
{
"status": 200,
"username": "Delfina_reynolds"
}