JSONBin stores all the access logs of your bins. To fetch a list of available logs on JSONBin, you need to use Usage Logs List API to fetch a list of dates for which the logs are available.

Later, these logs can be downloaded using the Usage Logs Download API

Root
https://api.jsonbin.io/v3
Route
/l
Request Type
GET
Request Headers
Header Value Required
X-Master-Key <YOUR_API_KEY> Yes
X-Master-Key

X-Master-Key needs to be passed in-order to fetch a list of available Usage Logs. In-order to get the key, you need to sign-up and navigate to API Keys page.

Basic Code Samples
curl -v\
  -H "X-Master-key: <YOUR_API_KEY>" \
  --request GET \
    https://api.jsonbin.io/v3/l
Request Response
Success
200
{
  "logs": [
    "DD-MM-YYYY",
    "DD-MM-YYYY",
    "DD-MM-YYYY",
    ...
  ]
}
Error
401, 404
{
  "message": "<ERROR_MESSAGE>"
}
Status Code Error Message
401 Unauthorized
You need to pass X-Master-Key in the header
401 Unauthorized
Invalid X-Master-Key provided
404 Not Found
No logs found