Skip to main content

Setting Up Your API Key

1. Creating a new API Key

Once you have signed up and logged in to your Pesto account, go to the Developer Dashboard. Click on the + Add New Key button to create a new API key.

2. Making API Request

The root URL for the Pesto Pro API is:

https://api.pestoai.fun/v2/

Refer to the Authentication page for detailed information.

For a demonstration using the Ping Endpoint, use the following example:

https://api.pestoai.fun/v2/ping?x_po_api_key=YOUR_API_KEY

Feel free to experiment with Ping or other endpoints in the documentation by entering your API Key in the x-cg-pro-api-key section and clicking the "Try It!" button.

3. Edit or Delete API Key

Go to the Developer's Dashboard and click the “Edit” button on a specific API Key.

If the API Key is compromised, you may delete it by clicking the "Delete Key" button.

You may also update the label and save the changes by clicking the "Confirm" button.

4. API Usage Report

You can monitor your API usage in the Usage Report section, which provides details such as:

  • Total Monthly API Calls
  • Remaining Monthly API Calls
  • Rate Limit (Requests Per Minute) – Maximum number of API requests allowed in one minute
  • Last Used – The timestamp of the last used instance

You can also check your full historical usage by specifying API Keys, timeframe, or date range. You may export as CSV for a more comprehensive view.

5. Others

Call Consumption Alerts

You may enable or disable call consumption alerts in the tab below to receive emails when specific credit usage thresholds are reached.

Overage Option (Beta)

The overage option enables you to make API calls when your usage exceeds the monthly credits. You can activate the overage option by clicking the "Turn On Overage" button, ensuring uninterrupted service and allowing you to continue making API calls.