Random Data API

API Endpoint

https://zapiz.vercel.app/api/data

Random user data /data

https://zapiz.vercel.app/api/data

Respond random user data on every requests.

Specific Id /data?id=[number]

https://zapiz.vercel.app/api/data?id=10

Respond the data of the user that has id of 10 (id must be between 1-1000)

Range /data?id=[num1-num2]

https://zapiz.vercel.app/api/data?id=1-10

Respond all the users between the id of 1 to 10 (seperate minimum id and maximun id with - hyphen)

All Users /data?id=all

https://zapiz.vercel.app/api/data?id=all

Respond all the 1000 users.

Admin Data /data?id=admin&key=[key]

https://zapiz.vercel.app/api/data?id=admin&key=[yourKeyHere]

Respond the data of admin. Need key to get the respond.


Secret /data/secret

https://zapiz.vercel.app/api/data/secret

Respond the secret sentence. You need to provide key to request headers.
Headers - {'key': 'yourKeyHere'}