New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@sharpe-labs/api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sharpe-labs/api

OpenAPI client for @sharpe-labs/api

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@sharpe-labs/api@1.0.0

A TypeScript SDK client for the api.sharpe.ai API.

Usage

First, install the SDK from npm.

npm install @sharpe-labs/api --save

Next, try it out.

import {
  Configuration,
  AccountApi,
} from '@sharpe-labs/api';
import type { GetUsageRequest } from '@sharpe-labs/api';

async function example() {
  console.log("🚀 Testing @sharpe-labs/api SDK...");
  const config = new Configuration({ 
    // To configure API key authorization: ApiKeyAuth
    apiKey: "YOUR API KEY",
    // Configure HTTP bearer authorization: BearerAuth
    accessToken: "YOUR BEARER TOKEN",
  });
  const api = new AccountApi(config);

  try {
    const data = await api.getUsage();
    console.log(data);
  } catch (error) {
    console.error(error);
  }
}

// Run the test
example().catch(console.error);

Documentation

API Endpoints

All URIs are relative to https://api.sharpe.ai

ClassMethodHTTP requestDescription
AccountApigetUsageGET /v1/usageAPI usage and quota
ArbitrageApigetCrossExchangeArbitrageGET /v1/arbitrage/cross-exchangeCross-exchange arbitrage
ArbitrageApigetSpotPerpArbitrageGET /v1/arbitrage/spot-perpSpot-perp arbitrage
CategoriesApigetEcosystemsDataGET /v1/ecosystems/dataEcosystems data
CategoriesApigetMemecoinsDataGET /v1/memecoins/dataMemecoins data
CategoriesApigetNarrativesDataGET /v1/narratives/dataNarratives data
DerivativesApigetFundingRatesGET /v1/funding/ratesFunding rates
DerivativesApigetFuturesCoinsGET /v1/futures/coinsAvailable futures coins
DerivativesApigetFuturesDataGET /v1/futures/dataFutures chart data
DerivativesApigetOptionsDataGET /v1/options/dataOptions chart data
ExchangeListingsApigetListingsDataGET /v1/listings/dataExchange listings hub data
ExchangeListingsApigetListingsRecentGET /v1/listings/recentRecent exchange listings
MarketDataApigetCorrelationMatrixGET /v1/correlation/matrixCorrelation matrix
MarketDataApigetDerivativesOverviewGET /v1/market/derivatives-overviewMarket-wide derivatives overview
MarketDataApigetGemFinderDataGET /v1/gem-finder/dataGem finder
MarketDataApigetHeatmapDataGET /v1/heatmap/dataMarket heatmap
MarketDataApigetMarketOverviewGET /v1/tracker/market-overviewMarket overview
MarketDataApigetNewsFeedGET /v1/news/feedNews feed
MarketDataApigetPricePredictionDataGET /v1/price-prediction/dataPrice prediction
MarketDataApisearchMarketCapGET /v1/market-cap/searchMarket cap search
SystemApigetCoverageGET /v1/meta/coverageAPI data coverage
SystemApigetHealthGET /v1/healthHealth check

Models

Authorization

Authentication schemes defined for the API:

BearerAuth

  • Type: HTTP Bearer Token authentication

ApiKeyAuth

  • Type: API key
  • API key parameter name: X-API-Key
  • Location: HTTP header

About

This TypeScript SDK client supports the Fetch API and is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.21.0
  • Build package: org.openapitools.codegen.languages.TypeScriptFetchClientCodegen

The generated npm module supports the following:

  • Environments
    • Node.js
    • Webpack
    • Browserify
  • Language levels
    • ES5 - you must have a Promises/A+ library installed
    • ES6
  • Module systems
    • CommonJS
    • ES6 module system

For more information, please visit https://sharpe.ai

Development

Building

To build the TypeScript source code, you need to have Node.js and npm installed. After cloning the repository, navigate to the project directory and run:

npm install
npm run build

Publishing

Once you've built the package, you can publish it to npm:

npm publish

License

FAQs

Package last updated on 22 Apr 2026

Related posts