v0 Platform API/API Reference/User

Get Plan

Returns the current subscription plan for the authenticated user, including tier details and feature limits.

GET/v1/user/plan

Usage

TypeScript Example
import { v0 } from 'v0-sdk'

const result = await v0.user.getPlan()

console.log(result)

Response

object: 'plan'
plan: string
billingCycle: object
start: number
end: number
balance: object
remaining: number
total: number