API Endpoint: /defi/history

Description: This endpoint enables the retrieval of historical API call records associated with the authorized user. Additionally, it provides information about the remaining time until the package's expiration, allowing users to manage renewals effectively and avoid service disruptions.

Request Method: GET

Request URL:


Request Headers:

accept: application/json
x-chain: any chains that Birdeye supports. Example: solana, ethereum

Response: The response includes a list of historical API call identifiers and the remaining time until the package's expiration.

Example Request:

curl -X 'GET' \
  'https://public-api.birdeye.so/defi/history' \
  -H 'accept: application/json' \
  -H 'x-chain: solana' \

Example Response:

  "data": {
    "items": [
    "resetInSeconds": 19899
  "success": true

Note: Replace YOUR_API_KEY in the request headers with your actual API key. This endpoint aids in tracking historical API usage and managing timely renewals to ensure continuous service availability.