Retrieve the pricing table data
GEThttps://api.freemius.com/v1/products/{product_id}/pricing.json
Auth:Bearer TokenSCOPE: PRODUCT
Product-scoped API tokens allow you to operate on the product itself. This token usually allows read-only access to the product configuration and write access to several operations on subscriptions, customers, payments, and more. For most SaaS or app integrations, this is the token you will need.
- Go to the Freemius Developer Dashboard.
- Open the Settings page of the relevant product.
- Click the API & Keys tab.
- Copy the API Bearer Authorization Token from the UI.
Retrieve the plugin's full features & pricing data for a pricing table. Used by our JS SDK, and WordPress SDK to create pricing components and pages.
Request
Query Parameters
If set to true, the result will be enriched with some of the context plugin's information.
(optional) (Development Only) The ID of the parent bundle product. When getting the pricing of a product, if the product is part of a bundle, you can set the value here (along with the public key of the bundle). This will be used to determine the trial status of the product in sandbox mode. Our WP SDK uses it internally.
Responses
- 200
- 400
- 401
- 402
- 404
The features and pricing data.
Schema
plugin object
plans object[]
Whether to hide the plan from the auto-generated pricing page. Mostly relevant for WordPress products and our WordPress SDK. Please see our pricing-page library to implement your own.
pricing object[]
The number of activations or quota supported by the license that will be created through the pricing (Using Freemius Checkout). Use null for unlimited activations or quota.
Whether to whitelabel the license that will be created from this pricing upon successful Checkout.
Whether to hide the pricing from checkout and the pricing page in the WP dashboard.
features object[]
reviews object[]
Verified and featured reviews of the product.
all_plans_single_site_pricing object
Single site pricing for all plans indexed by plan ID
property name* object
The key represents the ID of the plan
The URL to the Freemius Checkout. You need to append the product id and plan id as necessary. Please refer to the Checkout documentation for more information.
Bad request. The request could not be understood by the server due to malformed syntax or arguments.
Schema
Unauthorized access error. The request requires authentication but was not provided or the provided authentication does not satisfy the required permissions.
Schema
The request is missing the specified argument.
Schema
The requested resource was not found.