---
title: "Get Plan"
method: GET
path: "/protocol/plans/{planId}"
tags: ["Protocol - Plans"]
---

# Get Plan

`GET /protocol/plans/{planId}`

## Request

- Base URL: `https://api.sandbox.nevermined.app/api/v1`
- URL: `https://api.sandbox.nevermined.app/api/v1/protocol/plans/{planId}`
- Auth: HTTP bearer

Retrieves details about a specific payment plan.

## Path parameters

- `planId` integer, required

## Response `200`

Plan details

- Plan
  - `planId` string
  - `name` string
  - `description` string
  - `priceConfig` PriceConfig
    - `priceType` 'FIXED_PRICE' | 'FREE'
    - `tokenAddress` string: ERC20 token address (e.g., USDC)
    - `amounts` integer[]: Price amounts (6 decimals for USDC)
    - `receivers` string[]: Wallet addresses to receive payment
  - `creditsConfig` CreditsConfig
    - `creditsType` 'FIXED' | 'EXPIRABLE'
    - `amount` integer: Number of credits
    - `minAmount` integer: Minimum credits per request
    - `durationOfThePlan` integer: Duration in seconds (for EXPIRABLE)
  - `isListed` boolean
  - `owner` string

## Other responses

- `404`: Plan not found

---

[API](https://skmtc.dev/nevermined/apis/nevermined-api.md) · [All operations](https://skmtc.dev/nevermined/apis/nevermined-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nevermined/apis/nevermined-api/revisions/cabbe618c80b?raw)
