From Zero to First API Call in Under 5 Minutes
Step 1: Get your API key
Sign up at the dashboard and create an API key. It starts with nf_ and is shown only once — store it securely.
Step 2: Install the SDK
npm install @nefarious/sdk
Step 3: Fetch positions
import { NefariousClient } from "@nefarious/sdk";const client = new NefariousClient("nf_your_api_key");const positions = await client.getPositions({wallet: "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",});console.log(positions.totalValueUsd);// => 42350.80
Next Steps
DeFi Positions API
Learn about position types, protocol filtering, and enriched data.
API Reference
Full endpoint documentation with request/response schemas.
Ready to start building?
Get your API key in seconds. Free tier included.
Get Started — freeNo credit card required