JSONBin stores all the access logs of your bins. You can download these bins using the Usage Logs Download API.

Using the below API, you can download logs for any given date (if available), you can find the list using the List API

Root
https://api.jsonbin.io/v3
Route
/l/:date //:date needs to be in a DD-MM-YYYY format
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 download the 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/:date
Request Response
Success
200
.zip file will be downloaded for the requested date
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
Backup not found for
{ DD-MM-YYYY }