List products
curl --request GET \
--url https://api.bachs.io/v1/products \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.bachs.io/v1/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.bachs.io/v1/products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bachs.io/v1/products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"items": [
{
"id": "prod_1a2b3c4d5e6f7g8h",
"organization_id": "acct_7KpQ2mNv4XbR9dLc",
"name": "Pro Plan",
"description": "Full access, billed monthly.",
"price": {
"currency": "USD",
"price_type": "fixed",
"amount": "29.00",
"preset_amount": null,
"minimum_amount": null,
"maximum_amount": null,
"currency_options": []
},
"prices": [
{
"currency": "USD",
"amount": "29.00",
"minimum_amount": null,
"maximum_amount": null,
"is_default": true
}
],
"billing_cycle": {
"interval": "month",
"frequency": 1
},
"trial_period": null,
"status": "active",
"metadata": {
"tier": "pro"
},
"media": [],
"actor_id": "usr_abc123",
"total_payments": 0,
"total_amount": "0.00",
"created_at": "2026-07-13T14:00:00.000Z",
"updated_at": "2026-07-13T14:00:00.000Z",
"archived_at": null
}
],
"pagination": {
"next_cursor": "cur_20",
"prev_cursor": null,
"has_more": true,
"limit": 20,
"offset": 0,
"returned": 1,
"total": 47
}
}{
"detail": "Invalid API key",
"error_code": "UNAUTHORIZED"
}{
"detail": "API key does not have permission for this operation",
"error_code": "FORBIDDEN"
}Products
List products
Returns a paginated list of your products, most recent first. Archived products are excluded unless you pass include_archived=true. See Pagination for how to page through results. Requires the products:read scope.
GET
/
v1
/
products
List products
curl --request GET \
--url https://api.bachs.io/v1/products \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.bachs.io/v1/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.bachs.io/v1/products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bachs.io/v1/products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"items": [
{
"id": "prod_1a2b3c4d5e6f7g8h",
"organization_id": "acct_7KpQ2mNv4XbR9dLc",
"name": "Pro Plan",
"description": "Full access, billed monthly.",
"price": {
"currency": "USD",
"price_type": "fixed",
"amount": "29.00",
"preset_amount": null,
"minimum_amount": null,
"maximum_amount": null,
"currency_options": []
},
"prices": [
{
"currency": "USD",
"amount": "29.00",
"minimum_amount": null,
"maximum_amount": null,
"is_default": true
}
],
"billing_cycle": {
"interval": "month",
"frequency": 1
},
"trial_period": null,
"status": "active",
"metadata": {
"tier": "pro"
},
"media": [],
"actor_id": "usr_abc123",
"total_payments": 0,
"total_amount": "0.00",
"created_at": "2026-07-13T14:00:00.000Z",
"updated_at": "2026-07-13T14:00:00.000Z",
"archived_at": null
}
],
"pagination": {
"next_cursor": "cur_20",
"prev_cursor": null,
"has_more": true,
"limit": 20,
"offset": 0,
"returned": 1,
"total": 47
}
}{
"detail": "Invalid API key",
"error_code": "UNAUTHORIZED"
}{
"detail": "API key does not have permission for this operation",
"error_code": "FORBIDDEN"
}Authorizations
Bearer token authentication. Pass your API key as Authorization: Bearer sk_.... See Authentication for keys, scopes, and sandbox vs production.
Query Parameters
Required range:
1 <= x <= 100Include archived products in the results. Defaults to false.

