# API Keys This page is where you can create, record, and delete API keys for the [Pinata API](/api-reference/introduction). Creating an API key is very simple! Just visit the page to start by click on the API Keys button in the left sidebar, then click "New Key" in the top right. In the New Key modal you can choose if you want the key to be an Admin key and have full access over every endpoint, or scope the keys by selecting which endpoints you want to use. You can also give it a limited number of uses, and be sure to give it a name to keep track of it. Once you have that filled out click "Create Key" and it will show you the `pinata_api_key`, `pinata_api_secret_key`, and the `JWT`. It's best to click "Copy All" and keep the API key data safe and secure. Once API keys have been created, you will not be able to see the secret or JWT again Once you have created your keys you can go ahead and try testing them! You can even use them in our [API Reference section](/api-reference/endpoint/ipfs/test-authentication) :eyes: Or feel free to paste this into your terminal with your `JWT` ```bash cURL curl --request GET \ --url https://api.pinata.cloud/data/testAuthentication \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_PINATA_JWT' ``` If successful you should see this! ```shell bash { "message": "Congratulations! You are communicating with the Pinata API!" } ``` ## Managing Keys From the Keys Page you can see the name of a key, the public key, when it was issues, how many max uses it has, and what permissions it was given. At any point you can delete an API key by clicking on the Revoke button # Billing The billing page is where you can upgrade your account, view your current usage, or make changes to your billing info. ## Usage Scrolling down to "Usage overview," this is where you can view how much of your plan has been used in the month. Gateway Bandwidth and Requests are reset each month on your billing cycle date. If you reach 80% percent of your usage available, then you will start to receive emails and warnings that you are close to running out of space. If you are on the Free plan, then your account will no longer be able to upload or use the Dedicated Gateway once your account has gone above the limit by 25%. ## Payment Info Clicking the 'Manage Billing' button will show you the current card in use and if it's the default. If you want to remove a card, then you will need to add a new one first and set it as default before removing the old one. Pinata currently only accepts standard debit and credit cards ## Plan Selection From the plan selection you can choose a plan that fits your need the most, whether that be upgrading or downgrading. If you upgrade in the middle of a billing cycle, then you will only be charged the prorated amount # Limits The Files API and IPFS API have variying limits that users should be aware of. ## API Limits API rate limits on both the Files API and IPFS API are currently determined by plan type: | Plan | Rate Limit | | ------ | ----------------------- | | Free | 60 requests per minute | | Picnic | 250 requests per minute | | Fiesta | 500 requests per minute | ### Exceptions The following API calls have increased rate limits: * Endpoints under `api.pinata.cloud/data/` have a rate limit of 30 requests per minute * The [Pinning Services API endpoint for listing content](/api-reference/pinning-service-api) has a rate limit of 30 requests per minute ## File Restrictions HTML and binary file uploads are currently only available on paid plans with granted access. If you are on a paid plan and wish to upload HTML please send a request through our support chat or send an email to [team@pinata.cloud](mailto:team@pinata.cloud) ## Gateway Rate Limits At this time there are currently no rate limits for users retrieving content from a dedicated gateway. ## Upload Size Limits There differing limits on file sizes between the Files API and IPFS API ### Files API Files that are over **100MB** will require using [resumable uploads](/files/uploading-files#resumable-uploads) to complete. If you are using the SDK and the method `upload.file()` this will be handled automatically. Beyond 100MB the max file size is **25GB** at this time. ### IPFS API While the upload limit is 25GB we would recommend only uploading up to 15GB per file/folder for reliability reasons. We can try to assist uploads 15GB-25GB but we cannot guarantee success at this time. There is no aggregate limit for uploads, but each individual upload (whether it is a file or a folder) is limited to **25 GB**. There is also a file limit size of **10MB** for the pinJSONToIPFS API endpoint. # Workspaces Workspaces is only available on the [Picnic and Fiesta plans](https://pinata.cloud/pricing) Workspaces is a feature that allows you to add multiple people to your account and collaborate in a natural way. With the Picnic plan, you'll get 3 seats to invite your teammates, and with Fiesta you'll get 5 seats, plus the ability to add more at an extra fee.