Welcome to the Freemius API Documentation!
You can use our API to access Freemius API endpoints, which can get information on various aspects of Freemius.
If you're using Freemius for a WordPress product, please check out our official SDK.
We support Bearer authentication. You can get the API Key from the Freemius Developer Dashboard for a product.
More information can be found under the Security section of every endpoint.
https://api.freemius.com/v1/
https://docs.freemius.com/_mock/api/
https://api.freemius.com/v1/products/{product_id}/installs/{install_id}/license.json
https://docs.freemius.com/_mock/api/products/{product_id}/installs/{install_id}/license.json
curl -i -X GET \
'https://api.freemius.com/v1/products/1234/installs/1234/license.json?fields=id%2Cname%2Cslug&license_key=sk_123FGqM456Pa786WtOp%25%5E%2B67Y%2B%3BsXXz&uid=stringstringstringstringstringst'
Successful operation
The date and time the entity was created, under UTC timezone.
The date and time the entity was updated, under UTC timezone. If null
then the entity was never updated since its creation.
The ID of the user the entity belongs to. If NULL then still not associated to any user.
The ID of the pricing associated with the entity.
The maximum number of license activations. If null
then the license will support unlimited activations.
The total number of production activation the license has. This does not count local or staging environment activations.
The number of times the license is activated on local or staging environments.
The expiration date of the license. If null
then it's a lifetime license.
The license key. This is used for activating the license on the user's site.
Whether the license offers unlimited local or staging environment activations.
Whether to block features after expiration of the license. If set to false
, this would not block features, would only block updates.
Guide the Freemius WP SDK when the product should be running in a white-label mode.
The environment the entity belongs to. 0 means it belongs to the production environment, 1 means it belongs to the sandbox environment.
The source of the migration data. To get support migrating from other platform please see our documentation.
0
- Freemius1
- Other2
- Easy Digital Downloads (EDD)3
- WooCommerce (WC)4
- Rating Widget5
- Gumroad6
- CodeCanyon7
- ThemeForest8
- AppSumo9
- SendOwl10
- WHMCS11
- Lemon Squeezy{ "id": "123456", "created": "2025-01-01 00:00:00", "updated": "2025-01-01 00:00:00", "plugin_id": "123456", "user_id": "123456", "plan_id": "123456", "pricing_id": "123456", "quota": 10, "activated": 1, "activated_local": 1, "expiration": "2025-12-31 23:59:59", "secret_key": "sk_123FGqM456Pa786WtOp%^+67Y+;sXXz", "is_free_localhost": true, "is_block_features": true, "is_cancelled": true, "is_whitelabeled": true, "environment": 0, "source": 0 }
https://api.freemius.com/v1/products/{product_id}/installs/{install_id}/licenses/{license_id}.json
https://docs.freemius.com/_mock/api/products/{product_id}/installs/{install_id}/licenses/{license_id}.json
curl -i -X GET \
'https://api.freemius.com/v1/products/1234/installs/1234/licenses/1234.json?fields=id%2Cname%2Cslug&license_key=sk_123FGqM456Pa786WtOp%25%5E%2B67Y%2B%3BsXXz' \
-H 'Authorization: Bearer <YOUR_AccessToken_HERE>'
Install's licence
The date and time the entity was created, under UTC timezone.
The date and time the entity was updated, under UTC timezone. If null
then the entity was never updated since its creation.
The ID of the user the entity belongs to. If NULL then still not associated to any user.
The ID of the pricing associated with the entity.
The maximum number of license activations. If null
then the license will support unlimited activations.
The total number of production activation the license has. This does not count local or staging environment activations.
The number of times the license is activated on local or staging environments.
The expiration date of the license. If null
then it's a lifetime license.
The license key. This is used for activating the license on the user's site.
Whether the license offers unlimited local or staging environment activations.
Whether to block features after expiration of the license. If set to false
, this would not block features, would only block updates.
Guide the Freemius WP SDK when the product should be running in a white-label mode.
The environment the entity belongs to. 0 means it belongs to the production environment, 1 means it belongs to the sandbox environment.
The source of the migration data. To get support migrating from other platform please see our documentation.
0
- Freemius1
- Other2
- Easy Digital Downloads (EDD)3
- WooCommerce (WC)4
- Rating Widget5
- Gumroad6
- CodeCanyon7
- ThemeForest8
- AppSumo9
- SendOwl10
- WHMCS11
- Lemon Squeezy{ "id": "123456", "created": "2025-01-01 00:00:00", "updated": "2025-01-01 00:00:00", "plugin_id": "123456", "user_id": "123456", "plan_id": "123456", "pricing_id": "123456", "quota": 10, "activated": 1, "activated_local": 1, "expiration": "2025-12-31 23:59:59", "secret_key": "sk_123FGqM456Pa786WtOp%^+67Y+;sXXz", "is_free_localhost": true, "is_block_features": true, "is_cancelled": true, "is_whitelabeled": true, "environment": 0, "source": 0 }
https://api.freemius.com/v1/products/{product_id}/installs/{install_id}/licenses/{license_id}.json
https://docs.freemius.com/_mock/api/products/{product_id}/installs/{install_id}/licenses/{license_id}.json
curl -i -X PUT \
'https://api.freemius.com/v1/products/1234/installs/1234/licenses/1234.json?is_enriched=false&license_key=string' \
-H 'Authorization: Bearer <YOUR_AccessToken_HERE>'
Activated licence.
The date and time the entity was created, under UTC timezone.
The date and time the entity was updated, under UTC timezone. If null
then the entity was never updated since its creation.
The ID of the user the entity belongs to. If NULL then still not associated to any user.
The ID of the pricing associated with the entity.
The maximum number of license activations. If null
then the license will support unlimited activations.
The total number of production activation the license has. This does not count local or staging environment activations.
The number of times the license is activated on local or staging environments.
The expiration date of the license. If null
then it's a lifetime license.
The license key. This is used for activating the license on the user's site.
Whether the license offers unlimited local or staging environment activations.
Whether to block features after expiration of the license. If set to false
, this would not block features, would only block updates.
Guide the Freemius WP SDK when the product should be running in a white-label mode.
The environment the entity belongs to. 0 means it belongs to the production environment, 1 means it belongs to the sandbox environment.
The source of the migration data. To get support migrating from other platform please see our documentation.
0
- Freemius1
- Other2
- Easy Digital Downloads (EDD)3
- WooCommerce (WC)4
- Rating Widget5
- Gumroad6
- CodeCanyon7
- ThemeForest8
- AppSumo9
- SendOwl10
- WHMCS11
- Lemon Squeezy{ "id": "123456", "created": "2025-01-01 00:00:00", "updated": "2025-01-01 00:00:00", "plugin_id": "123456", "user_id": "123456", "plan_id": "123456", "pricing_id": "123456", "quota": 10, "activated": 1, "activated_local": 1, "expiration": "2025-12-31 23:59:59", "secret_key": "sk_123FGqM456Pa786WtOp%^+67Y+;sXXz", "is_free_localhost": true, "is_block_features": true, "is_cancelled": true, "is_whitelabeled": true, "environment": 0, "source": 0 }