RankVectorsRankVectors
FeaturesPricing
Log in →
  • Introduction
  • Quickstart
  • Authentication
  • Syncing Content
  • Generating Link Suggestions
  • Implementing Links
  • Integrations Overview
  • JavaScript SDK
  • TypeScript SDK
  • Python SDK
  • Go SDK
  • PHP SDK
  • C# SDK
  • Ruby SDK
  • Rust SDK
  • API Reference Overview
  • Projects API
  • Pages API
  • Suggestions API
  • Implementations API
  • Analytics API
  • Integrations Overview
  • WordPress Integration
  • Shopify Integration
  • Vercel Integration
  • Custom Integration

TypeScript SDK

Install and use the RankVectors TypeScript SDK

The TypeScript SDK is similar to the JavaScript SDK but with enhanced type safety. See the JavaScript SDK documentation for most examples.

Installation

npm install @rankvectors/rankvectors-typescript

Quick Start

import { RankVectors } from '@rankvectors/rankvectors-typescript'

const client = new RankVectors({
  apiKey: 'YOUR_API_KEY'
})

// Create a project with full type safety
const project = await client.projects.create({
  name: 'My Website',
  domain: 'https://example.com',
  preferredSdk: 'typescript'
})

console.log('Project created:', project.id)

Type Safety

The TypeScript SDK provides full type definitions:

import {
  RankVectors,
  Project,
  Suggestion,
  CreateProjectRequest,
  UpdateProjectRequest
} from '@rankvectors/rankvectors-typescript'

const client = new RankVectors({
  apiKey: process.env.RANKVECTORS_API_KEY!
})

// Fully typed request
const request: CreateProjectRequest = {
  name: 'My Website',
  domain: 'https://example.com',
  preferredSdk: 'typescript'
}

// Fully typed response
const project: Project = await client.projects.create(request)

More Examples

See the JavaScript SDK documentation for detailed examples, or check the API Reference.

PreviousJavaScript SDKNextPython SDK
RankVectorsRankVectors

AI-powered internal linking optimization. Improve your SEO with intelligent semantic analysis and automated link recommendations.

XGitHubLinkedIn

Product

  • Features
  • Pricing
  • Documentation
  • Integrations

Support

  • Documentation
  • Quick Start
  • API Reference
  • Contact

Company

  • About
  • Blog
  • Contact
  • Partners

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2025 RankVectors. All rights reserved.