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/count.json
https://docs.freemius.com/_mock/api/products/{product_id}/installs/count.json
curl -i -X GET \
'https://api.freemius.com/v1/products/1234/installs/count.json?is_active=false&plan_id=1' \
-H 'Authorization: Bearer <YOUR_AccessToken_HERE>'
{ "count": 123 }
Uninstall reason. Possible values:
1
- No longer needed2
- Found a better alternative3
- Only needed for short period4
- Broke the website5
- Suddenly stopped working6
- Cannot continue paying7
- Other8
- Didn't work after installation9
- User doesn't like to share data10
- Didn't understand how it works11
- Missing specific feature12
- Didn't work13
- Expected something else14
- Expected to work differently15
- Temporary deactivationhttps://api.freemius.com/v1/products/{product_id}/installs/{install_id}/downgrade.json
https://docs.freemius.com/_mock/api/products/{product_id}/installs/{install_id}/downgrade.json
curl -i -X PUT \
'https://api.freemius.com/v1/products/1234/installs/1234/downgrade.json?fields=id%2Cname%2Cslug' \
-H 'Authorization: Bearer <YOUR_AccessToken_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'
Product plan downgraded.
The secret key associated with the entity for authorization.
The public key associated with the entity for authorization.
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 plan associated with the product that the install has a license activation. If null
it means the install is using the free plan.
The ID of the license associated with the entity.
The ID of the trial license associated to the product. If this is not a trial, this will be null
.
The product trial license expiry date. If this is not a trial, this will be null.
The ID of the subscription associated with the entity.
The gross amount the install has spent on the product. This includes one time purchase, or subscriptions and renewals.
The ISO 3166-1 alpha 2 two-letter country code associated with the entity.
The Freemius SDK version. Only relevant for WordPress products using the Freemius WP SDK.
The programming language version (e.g PHP version).
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 SqueezyTime when the product was upgraded to the current version. If never upgraded since the initial installation, this will be null
.
The last time the product was used on the site.
{ "secret_key": "sk_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6", "public_key": "pk_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6", "id": "123456", "created": "2025-01-01 00:00:00", "updated": "2025-01-01 00:00:00", "site_id": 1234, "plugin_id": "123456", "user_id": "123456", "url": "https://example.com", "title": "Catwalk Designs", "version": "1.0.0", "plan_id": "1234", "license_id": "123456", "trial_plan_id": "1234", "trial_ends": "2025-01-01 00:00:00", "subscription_id": "123456", "gross": 100, "country_code": "us", "language": "en-GB", "platform_version": "1.0.0", "sdk_version": "1.2.2", "programming_language_version": "5.6", "is_active": true, "is_disconnected": true, "is_premium": true, "is_uninstalled": true, "is_locked": true, "source": 0, "upgraded": "2025-01-01 00:00:00", "last_seen_at": "2025-01-01 00:00:00", "last_served_update_version": "1.2.2" }
https://api.freemius.com/v1/products/{product_id}/installs/{install_id}/events.json
https://docs.freemius.com/_mock/api/products/{product_id}/installs/{install_id}/events.json
curl -i -X GET \
'https://api.freemius.com/v1/products/1234/installs/1234/events.json?count=10&fields=id%2Cname%2Cslug&offset=10&type=license.activated' \
-H 'Authorization: Bearer <YOUR_AccessToken_HERE>'
{ "events": [ { … } ] }