Get upgrade preview with credit calculationDocumentation Index
Fetch the complete documentation index at: https://docs.neynar.com/llms.txt
Use this file to discover all available pages before exploring further.
Group: Subscription APIsUse this when you need: Get upgrade preview with credit calculation.
Usage
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
newPlan | string | ✅ | - |
productCategory | UpgradePreviewProductCategoryEnum | ❌ | - |
Response
Returns aRequestArgs object.
Error Handling
Tips
- Provide a viewerFid when supported to respect mutes/blocks and include
viewer_context. - Keep requests scoped (e.g., use
limit) to improve latency. - Cache results where sensible.