Back to APIs
PaymentsBearer Token
Lemon Squeezy
Sell software products, SaaS subscriptions, and digital downloads with Lemon Squeezy handling tax compliance globally.
Base URL
https://api.lemonsqueezy.com/v1SaaSsubscriptionsdigital productstaxlicensing
Endpoints
GET
/productsList all products in your Lemon Squeezy store.
const response = await fetch("https://api.lemonsqueezy.com/v1/products", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
console.log(data);Response Preview
{
"data": [{
"id": "1",
"type": "products",
"attributes": {
"name": "Pro Plan",
"slug": "pro-plan",
"status": "published",
"price": 1900,
"buy_now_url": "https://yourstore.lemonsqueezy.com/checkout/buy/..."
}
}]
}