MedRefMedRef
Getting Started

Quick Start

Get up and running with MedRef in under 5 minutes. This guide will walk you through getting your API key and making your first request.

1. Get Your API Key

Sign up for a free account to get your API key. The free tier includes 1,000 requests per month.

Create your account

2. Install the SDK (Optional)

Install our official SDK for the best developer experience, or use the REST API directly.

npm

npm install @medref/sdk

pip

pip install medref

3. Make Your First Request

Here's how to look up a CPT code using the API:

TypeScript
import MedRef from '@medref/sdk';

const medref = new MedRef('YOUR_API_KEY');

// Look up a CPT code
const result = await medref.cpt.get('99213');

console.log(result);
// {
//   code: '99213',
//   description: 'Office or other outpatient visit...',
//   category: 'E/M',
//   effective_date: '2024-01-01',
//   rvu: { work: 1.30, pe: 1.46, mp: 0.10 }
// }

4. Explore the API

Now that you've made your first request, explore our other endpoints: