Sign In

@ramaris/sdk

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@ramaris/sdk

TypeScript SDK for the [Ramaris](https://www.ramaris.app) REST API. Query on-chain wallet analytics, trading strategies, and performance data on Base.

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

@ramaris/sdk

TypeScript SDK for the Ramaris REST API. Query on-chain wallet analytics, trading strategies, and performance data on Base.

Install

npm install @ramaris/sdk

Quick Start

import { RamarisClient } from '@ramaris/sdk';

const client = new RamarisClient({
  apiKey: 'rms_your_api_key',
});

// List top strategies
const strategies = await client.strategies.list({ pageSize: 10 });
console.log(strategies.data);

// Get strategy details
const strategy = await client.strategies.get('abc123def');
console.log(strategy.name, strategy.roiPercent);

Get an API Key

  • Sign up at ramaris.app
  • Go to API Access
  • Create a new API key

Free tier gets 1 API key with strategies:read scope (100 req/hr). Upgrade to PRO for wallet data and higher limits.

API Coverage

Strategies (FREE tier)

client.strategies.list({ page, pageSize })   // List strategies
client.strategies.get(shareId)                // Strategy details
client.strategies.watchlist({ page, pageSize }) // Your followed strategies

Wallets (PRO+)

client.wallets.list({ page, pageSize })       // List wallets
client.wallets.get(id)                        // Wallet details

// Filter wallets by activity, token quality, and risk level
client.wallets.list({
  computed: ['activeWeek', 'hideMemeOnly'],    // Active + exclude meme-only
});

Computed Filters

FilterTypeDescription
activeDayActivity (OR)Swapped in the last 24 hours
activeWeekActivity (OR)Swapped in the last 7 days
staleActivity (OR)No swaps in 7+ days
hideMemeOnlyQuality (AND)Exclude wallets trading only risky tokens
riskConservativeRisk (AND)Conservative risk profile
riskBalancedRisk (AND)Balanced risk profile
riskHighRiskRisk (AND)High risk profile
riskDegenRisk (AND)Degen risk profile

Activity filters use OR semantics (union). Quality and risk filters use AND semantics (narrow results).

User (PRO+)

client.me.profile()                           // Your profile
client.me.subscription()                      // Your subscription

Health

client.health()                               // API health check

Rate Limits

TierRequests/HourScopes
FREE100strategies:read
PRO1,000strategies:read, wallets:read
ULTRA10,000strategies:read, wallets:read
ENTERPRISE100,000strategies:read, wallets:read

Rate limit info is available after any request:

await client.strategies.list();
console.log(client.rateLimit);
// { limit: 100, remaining: 99, reset: 1707667200 }

Error Handling

import { RamarisError, RateLimitError } from '@ramaris/sdk';

try {
  await client.wallets.list();
} catch (err) {
  if (err instanceof RateLimitError) {
    console.log(`Rate limited. Retry after ${err.retryAfter}s`);
  } else if (err instanceof RamarisError) {
    console.log(err.code, err.message); // e.g. "INSUFFICIENT_SCOPE"
  }
}

Configuration

const client = new RamarisClient({
  apiKey: 'rms_...',          // Required
  baseUrl: 'https://...',     // Optional, defaults to https://www.ramaris.app/api/v1
});

License

MIT

Keywords

ramaris

FAQs

Package last updated on 08 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts