Other API's

Random API’s not related to UUID’s. Enjoy!

Ping Pong

GET https://uuid.rocks/api/ping

Responds with ‘pong’ or ‘ping’

Optional: ?json will output as json with some info about your request

{
    "ping": "pong",
    "ip": "1.2.3.4",
    "country": "US"
}

Hash

This api will hash data in the url or the body.

GET https://uuid.rocks/api/hash/:algo/:dataToHash

algo: algorithm to use. Can be:

  • sha1
  • sha256
  • md5

Example: https://uuid.rocks/api/hash/sha1/someStuffToHash

POST https://uuid.rocks/api/hash/:algo body: text or json Must set header to valid content type:

  • text/plain
  • application/json

Example:

curl -X POST -H 'Content-Type: applicaiton/json' 'https://uuid.rocks/api/hash/sha1' -d 'some stuff to hash'

ip

This api will return what IP you’re connecting from.

GET https://uuid.rocks/api/ip

Optional: ?json will output as json with additional information.