# pancake-info-api **Repository Path**: lovenull/pancake-info-api ## Basic Information - **Project Name**: pancake-info-api - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-03 - **Last Updated**: 2021-06-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PancakeSwap API The PancakeSwap API is a set of endpoints used by market aggregators (e.g. coinmarketcap.com) to surface PancakeSwap liquidity and volume information. All information is fetched from the underlying subgraphs. ## v1 Documentation The documentation of the endpoints, for PancakeSwap v1, can be found [here](v1-documentation.md). ## v2 Documentation The documentation of the endpoints, for PancakeSwap v2, can be found [here](v2-documentation.md). ## Development ### Install requirements ```shell yarn global add vercel ``` ### Build ```shell # Install dependencies yarn # Build project vercel dev ``` Endpoints are based on filename inside the `api/` folder. ```shell # api/pairs.ts curl -X GET 'localhost:3000/api/pairs' # ... ``` ## Production ### Deploy Deployments to production are triggered by a webhook when a commit, or a pull-request is merged to `master`. If you need to force a deployment, use the following command: ```shell vercel --prod ```