# APIs USED

***

## Paal Backend API Documentation

### Overview

The Paal Backend utilizes a variety of APIs to provide essential functionalities for the Paal ecosystem platform. This documentation provides an overview of the APIs used, along with their respective keys and purposes.

### Table of Contents

1. Introduction
2. API Keys and Their Purposes
   1. ETHERSCAN\_KEY (<https://etherscan.io/>)
   2. BSCSCAN\_KEY ([https://bscscan.io/](https://etherscan.io/))
   3. BASESCAN\_KEY ([https://basescan.io/](https://etherscan.io/))
   4. CRYPTO\_COMPARE\_API (<https://min-api.cryptocompare.com/>)
   5. COVALENT\_KEY (<https://www.covalenthq.com/>)
   6. CHAIN\_BASE\_API (<https://chainbase.com/>)
   7. TWITTER\_BEARER\_TOKEN ([https://developer.x.com/](https://developer.x.com/en/docs/authentication/guides/log-in-with-twitter))
   8. GOOGLE\_CLIENT\_ID (OPTIONAL [https://cloud.google.com/](https://cloud.google.com/?hl=en))
   9. GOOGLE\_CLIENT\_SECRET (OPTIONAL [https://cloud.google.com/](https://cloud.google.com/?hl=en))
   10. QUICK NODE RPC URL (<https://www.quicknode.com/>)

### Introduction

The Paal Backend relies on several third-party APIs to integrate various functionalities such as blockchain data retrieval, social media interactions, and user authentication. This documentation provides detailed information about each API, including its purpose and usage.

### API Keys and Their Purposes

#### ETHERSCAN\_KEY

* **Purpose:** Access to the Etherscan API for retrieving Ethereum blockchain data.

#### BSCSCAN\_KEY

* **Purpose:** Access to the BscScan API for retrieving Binance Smart Chain data.

#### BASESCAN\_KEY

* **Purpose:** Access to the Basescan API for retrieving Basechain data.

#### CRYPTO\_COMPARE\_API

* **Purpose:** Access to the Crypto Compare API for fetching cryptocurrency pricing and historical data.

#### COVALENT\_KEY

* **Purpose:** Access to the Covalent API for fetching blockchain data from various blockchains.

#### CHAIN\_BASE\_API

* **Purpose:** Access to the ChainBase API for blockchain data and analytics.

#### TWITTER\_BEARER\_TOKEN

* **Purpose:** Access to the Twitter API for integrating Twitter functionalities within the application.

#### QuickNode APIs ($49/Mo)

I subscribed for only 1 month for development purposes, it would need to be subscribed for actual usage.

* **Network RPCs:**
  * **Ethereum Mainnet (ID: 1)**
    * **Purpose:** Access to Ethereum Mainnet for blockchain interactions.
  * **Base Mainnet (ID: 8453)**
    * **Purpose:** Access to Base Mainnet for blockchain interactions.
  * **Binance Smart Chain (ID: 56)**
    * **Purpose:** Access to Binance Smart Chain for blockchain interactions.
  * **Solana Mainnet (ID: 900)**
    * **Purpose:** Access to Solana Mainnet for blockchain interactions.

#### GOOGLE\_CLIENT\_ID (OPTIONAL IF USING GOOGLE AUTH)

* **Purpose:** Google OAuth 2.0 client ID for authenticating users with their Google accounts.

#### GOOGLE\_CLIENT\_SECRET (OPTIONAL IF USING GOOGLE AUTH)

* **Purpose:** Google OAuth 2.0 client secret for authenticating users with their Google accounts.

### Conclusion

The Paal Backend integrates several APIs to provide comprehensive functionalities required for the platform. Ensure all API keys are securely stored and configured correctly to maintain the integrity and security of the application.

***
