curl --request GET \
--url https://api.privy.com/v1/products \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.privy.com/v1/products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.privy.com/v1/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.privy.com/v1/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.privy.com/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))
}HttpResponse<String> response = Unirest.get("https://api.privy.com/v1/products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.privy.com/v1/products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 7890123456789,
"title": "Classic T-Shirt",
"handle": "classic-t-shirt",
"status": "active",
"product_type": "Shirts",
"vendor": "Acme Apparel",
"url": "https://mystore.com/products/classic-t-shirt",
"image_url": "https://cdn.shopify.com/s/files/1/0001/products/tshirt.jpg",
"price_range": {
"min": "10.00",
"max": "15.00",
"currency_code": "USD"
},
"total_inventory": 42,
"tracks_inventory": true,
"variants_count": 2,
"variants": [
{
"id": 40012345678901,
"title": "Small",
"price": "10.00",
"compare_at_price": null,
"sku": "TSHIRT-S",
"inventory_quantity": 12,
"available": true
},
{
"id": 40012345678902,
"title": "Large",
"price": "15.00",
"compare_at_price": "20.00",
"sku": "TSHIRT-L",
"inventory_quantity": 30,
"available": true
}
],
"created_at": "2026-01-10T09:00:00Z",
"updated_at": "2026-06-01T09:00:00Z"
}
],
"pagination": {
"per_page": 25,
"total_count": 128,
"has_more": true,
"next_cursor": "eyJsYXN0X2lkIjo3ODkwMTIzNDU2Nzg5fQ=="
}
}{
"error": {
"code": "unauthorized",
"message": "Bearer token is missing or invalid"
}
}{
"error": {
"code": "insufficient_scope",
"message": "Token does not have the required scope"
}
}{
"error": {
"code": "no_connected_store",
"message": "No connected store. Product reads require a connected Shopify or BigCommerce store."
}
}{
"error": {
"code": "validation_failed",
"message": "One or more fields are invalid",
"details": [
{
"field": "email",
"message": "is required"
}
]
}
}{
"error": {
"code": "store_rate_limited",
"message": "The connected store is rate limiting requests. Try again shortly."
}
}{
"error": {
"code": "store_unavailable",
"message": "The connected store could not be reached. Try again shortly."
}
}List products
Retrieve the product catalog of your connected store (Shopify or BigCommerce), proxied live from the store’s API.
Unlike the other list endpoints, products use cursor pagination:
pass the next_cursor from each response as ?cursor= to fetch the next page,
keeping the same filters. There are no page numbers.
Requires a connected Shopify or BigCommerce store — without one, this endpoint returns 404 no_connected_store.
The response shape is the same on both platforms; fields BigCommerce does not
supply (product_type, vendor, url) are null. Large per_page values can
be slow on BigCommerce stores whose products carry many variants — reduce
per_page if requests return 502 store_unavailable.
A live read of the store’s own catalog — nothing here is Privy data, and no
endpoint reports sales or performance per product. /v1/products/{id} adds
description, tags, options, and images.
Required scope: products_read
curl --request GET \
--url https://api.privy.com/v1/products \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.privy.com/v1/products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.privy.com/v1/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.privy.com/v1/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.privy.com/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))
}HttpResponse<String> response = Unirest.get("https://api.privy.com/v1/products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.privy.com/v1/products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 7890123456789,
"title": "Classic T-Shirt",
"handle": "classic-t-shirt",
"status": "active",
"product_type": "Shirts",
"vendor": "Acme Apparel",
"url": "https://mystore.com/products/classic-t-shirt",
"image_url": "https://cdn.shopify.com/s/files/1/0001/products/tshirt.jpg",
"price_range": {
"min": "10.00",
"max": "15.00",
"currency_code": "USD"
},
"total_inventory": 42,
"tracks_inventory": true,
"variants_count": 2,
"variants": [
{
"id": 40012345678901,
"title": "Small",
"price": "10.00",
"compare_at_price": null,
"sku": "TSHIRT-S",
"inventory_quantity": 12,
"available": true
},
{
"id": 40012345678902,
"title": "Large",
"price": "15.00",
"compare_at_price": "20.00",
"sku": "TSHIRT-L",
"inventory_quantity": 30,
"available": true
}
],
"created_at": "2026-01-10T09:00:00Z",
"updated_at": "2026-06-01T09:00:00Z"
}
],
"pagination": {
"per_page": 25,
"total_count": 128,
"has_more": true,
"next_cursor": "eyJsYXN0X2lkIjo3ODkwMTIzNDU2Nzg5fQ=="
}
}{
"error": {
"code": "unauthorized",
"message": "Bearer token is missing or invalid"
}
}{
"error": {
"code": "insufficient_scope",
"message": "Token does not have the required scope"
}
}{
"error": {
"code": "no_connected_store",
"message": "No connected store. Product reads require a connected Shopify or BigCommerce store."
}
}{
"error": {
"code": "validation_failed",
"message": "One or more fields are invalid",
"details": [
{
"field": "email",
"message": "is required"
}
]
}
}{
"error": {
"code": "store_rate_limited",
"message": "The connected store is rate limiting requests. Try again shortly."
}
}{
"error": {
"code": "store_unavailable",
"message": "The connected store could not be reached. Try again shortly."
}
}Authorizations
Send either an API token or an OAuth access token as
Authorization: Bearer <token>. See the Authentication page for details.
Headers
Target a subaccount instead of the main connected account.
Pass a subaccount id from get_account's subaccounts list. Only direct subaccounts
of the connected account are reachable — omit this for the main account itself.
Query Parameters
Number of results per page. Products default lower than other endpoints and clamp to 1–50 — these reads proxy the store live, and large pages on variant-heavy BigCommerce catalogs get expensive.
1 <= x <= 50Narrow to products whose title matches, at most 255 characters. Matching differs by platform. On Shopify stores, each word of the value must start a word of the title: a word is a run of letters and digits, apostrophes inside it included (O'Neill), and at least one is required. On BigCommerce stores, the title must contain the value as typed, where % and _ may act as wildcards.
Narrow to the product with this exact handle (the slug in its storefront URL). Letters, digits, hyphens and underscores only. A Shopify-only filter: BigCommerce stores have no product handle and return 422 validation_failed.
Opaque pagination cursor from a previous response's pagination.next_cursor.
Was this page helpful?