The Shopify Products API allows users to retrieve product information from a Shopify store using the provided URL, with options to limit the results and filter by collection.

Get Your API Key

Sign in at hasdata.com, go to your account settings, and copy your API key. All requests must include your key in the x-api-key header.

Make Your First Request

curl --request GET \
  --url 'https://api.hasdata.com/scrape/shopify/products?url=https%3A%2F%2Flibertasbella.com' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <your-api-key>'

API Parameters

ParameterDefault ValueRequiredDescription
urlhttps://libertasbella.comYesThe URL of the Shopify store. For example, ‘https://libertasbella.com’.
limit-NoThe maximum number of products to retrieve. Must be between 1 and 250.
page-NoThe page number of the results to retrieve. Must be a positive integer.
collection-NoThe handle of the collection to filter the products. Provide the collection handle as a string.