Skip to main content

Official SDKs

Integrate Range APIs quickly with our official Software Development Kits.

Faraday SDK

Execute compliant cross-chain stablecoin transfers with built-in risk screening and Travel Rule compliance.

Quick Install

npm
npm install @range-security/faraday-sdk
yarn
yarn add @range-security/faraday-sdk

Basic Usage

import { FaradayClient } from "@range-security/faraday-sdk";

const client = new FaradayClient({
  apiKey: process.env.RANGE_API_KEY,
});

// Get a quote for cross-chain transfer
const quote = await client.getQuote({
  fromChain: "ethereum",
  toChain: "solana",
  fromToken: "USDC",
  toToken: "USDC",
  amount: "1000",
});

console.log(quote);
See the Faraday Integration Guide for complete documentation.

Community Libraries

Unofficial libraries and tools built by the Range community:
Community libraries are not officially maintained by Range. Use at your own discretion and verify security before production use.
A Python wrapper for Range APIs built by the community. bash pip install range-sdk Note: This is a community-maintained project. For official support, use direct API calls.
A Go client for Range Data and Risk APIs. bash go get github.com/community/range-go Note: This is a community-maintained project.
Building a library? Let us know and we’ll feature it here!

Code Examples

Data API

Fetch address information across multiple chains:
const response = await fetch(
  'https://api.range.org/v1/address?address=CCTPiPYPc6AsJuwueEnWgSgucamXDZwBd53dQ11YiKX3&network=solana',
  {
    headers: {
      'X-API-KEY': process.env.RANGE_API_KEY
    }
  }
);

const data = await response.json();
console.log(data);

Risk API

Screen an address for sanctions:
const address = '0x123...';

const response = await fetch(
`https://api.range.org/v1/risk/sanctions?address=${address}`,
{
headers: {
'X-API-KEY': process.env.RANGE_API_KEY
}
}
);

const riskData = await response.json();

if (riskData.is_sanctioned) {
console.log('⚠️ Address is sanctioned!');
// Block transaction
}


Developer Tools

Postman Collection

Import our Postman collection to test all Range API endpoints interactively:

Import Postman Collection

Download our complete API collection for easy testing (coming soon)

API Reference

Interactive API documentation with request builders:

Integration Templates

Starter templates for common frameworks:
Full-stack Next.js template with Range API integration: bash npx create-next-app@latest my-range-app --example range-integration Coming soon - Request early access
Node.js/Express backend template with Range Risk API: bash git clone https://github.com/rangesecurity/express-template cd express-template npm install Coming soon - Request early access
Flask REST API with Range Data integration: bash git clone https://github.com/rangesecurity/flask-template cd flask-template pip install -r requirements.txt Coming soon - Request early access

Contributing

We welcome contributions to our open-source SDKs and tools!

How to Contribute

  1. Fork the repository on GitHub
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request
See CONTRIBUTING.md in each repository for detailed guidelines.

Need Help?