Data APIs ยท Shopify
Shopify data APIs for AI agents
morigraph has 4 Shopify data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including store search, product, store products and store profile. You need no Shopify developer account or API key, only one morigraph connection. A call costs 0.017 credits, about $1.70 for 1,000 calls, paid from one balance.
- APIs
- 4
- Price
- 0.017 credits a call
- Call it from
- MCP, command line and HTTP API
- Needs
- One morigraph connection. No Shopify account or API key
Three ways to call it
Every data API is run by one tool, data_api, with the API's id and its arguments. The example is Shopify Store Search.
In your assistant (MCP). Connect once, then ask in plain words
claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp
Use morigraph's Shopify Store Search data API with {"query":"wool","store":"allbirds.com"} and summarise what comes back.From a terminal or script (CLI)
npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"shopify.search","input":{"query":"wool","store":"allbirds.com"}}'From your own code (HTTP API)
curl https://api.morigraph.com/v1/tools/data_api \
-H "Authorization: Bearer $MORIGRAPH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"shopify.search","input":{"query":"wool","store":"allbirds.com"}}'4 Shopify data APIs
| API | Id | Price |
|---|---|---|
| Shopify Store Search | shopify.search | 0.017 credits a call |
| Shopify Product | shopify.product | 0.017 credits a call |
| Shopify Store Products | shopify.products | 0.017 credits a call |
| Shopify Store Profile | shopify.store | 0.017 credits a call |
Shopify Store Search
Search one public Shopify store's products by keyword with the store's own search and get its top matches with title, vendor, type, tags, price range, sale price, stock and images. A domain that is not a public Shopify store comes back not found.
| Argument | Type | Required | What it is |
|---|---|---|---|
query | string | yes | Search keywords, e.g. "wool" or "hoodie". |
store | string | yes | Domain or URL of a public Shopify store, e.g. allbirds.com or https://kith.com. A store on its own domain is addressed by that domain. |
Returns currency handle image images inStock listPrice onSale price priceMax productId productType tags title url vendor
The call
data_api({"api":"shopify.search","input":{"query":"wool","store":"allbirds.com"}})Shopify Product
Look up one product on any public Shopify store by its handle or product page URL and get title, vendor, type, tags, description, price range, sale price, stock, images, options and every variant's SKU, price and stock in one normalized response.
| Argument | Type | Required | What it is |
|---|---|---|---|
product | string | yes | Product handle, the slug after /products/ in the product URL, e.g. anytime-ankle-sock-natural-grey-heather; the full product page URL also works. |
store | string | yes | Domain or URL of a public Shopify store, e.g. allbirds.com or https://kith.com. A store on its own domain is addressed by that domain. |
Returns createdUtc currency description handle image images inStock listPrice onSale options price priceMax productId productType publishedUtc tags title updatedUtc url variants vendor
The call
data_api({"api":"shopify.product","input":{"product":"anytime-ankle-sock-natural-grey-heather","store":"allbirds.com"}})Shopify Store Products
List the products of any public Shopify store by its domain, a page at a time, with title, vendor, type, tags, price range, sale price, stock, images, options and every variant's SKU, price and stock. Filter by vendor, type, tag, title, SKU, price, sale, stock or recent arrivals. A domain that is not a public Shopify store comes back not found.
| Argument | Type | Required | What it is |
|---|---|---|---|
limit | integer | no | Products the store is asked for per page (1-250, default 250). The filters below are applied to that page, so a filtered page can hold fewer, even none while hasMore is true. |
maxPrice | number | no | Only products priced at or below this, in the store's currency. |
minPrice | number | no | Only products priced at or above this, in the store's currency. |
onlyInStock | boolean | no | Only products with at least one variant in stock. Default false. |
onlyOnSale | boolean | no | Only products with at least one discounted variant. Default false. |
page | integer | no | 1-based page of the store's product list. Each page is billed as one request. Shopify serves only a store's first 25,000 products, so page times limit can reach at most 25,000. Default 1. |
productType | string | no | Only products whose product type contains this text, e.g. "Shoes". |
publishedWithinDays | integer | no | Only products published to the store within the last this many days. |
skuContains | string | no | Only products with a variant whose SKU code contains this text. |
store | string | yes | Domain or URL of a public Shopify store, e.g. allbirds.com or https://kith.com. A store on its own domain is addressed by that domain. |
tags | array of string | no | Only products carrying at least one of these tags. |
titleContains | string | no | Only products whose title contains this text. |
vendor | string | no | Only products whose vendor (brand) contains this text. |
Returns createdUtc currency description handle hasMore image images inStock listPrice onSale options price priceMax productId productType publishedUtc tags title updatedUtc url variants vendor
The call
data_api({"api":"shopify.products","input":{"store":"allbirds.com"}})Shopify Store Profile
Look up any public Shopify store by its domain and get its name, description, currency, country and city, the countries it ships to, its published product and collection counts and its social links in one normalized response. A domain that is not a public Shopify store comes back not found.
| Argument | Type | Required | What it is |
|---|---|---|---|
store | string | yes | Domain or URL of a public Shopify store, e.g. allbirds.com or https://kith.com. A store on its own domain is addressed by that domain. |
Returns city collectionsCount country currency description domain name productsCount region shipsToCountries shopifyDomain socialLinks url
The call
data_api({"api":"shopify.store","input":{"store":"allbirds.com"}})Good to know
- The price shown is the usual one. A call can cost more when the first source fails and another serves it; the most it can cost is shown beside each API, and
max_creditssets your own limit. - These APIs return public data. What you may do with it depends on the platform's terms and the privacy law where you operate, and that responsibility is yours.
- A failed call is not charged.
When to choose something else
Choose a provider that specialises in Shopify data when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.
Questions
Do I need a Shopify API key or developer account?
No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 4 APIs on this page.
What does Shopify data cost through morigraph?
0.017 credits a call, where a credit is about 10 cents. That is from about $1.70 for 1,000 calls. You pay per call from one balance, with no separate subscription.
Can Claude, ChatGPT or Cursor get Shopify data?
Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.
Which Shopify data APIs are available?
Shopify Store Search, Shopify Product, Shopify Store Products and Shopify Store Profile.
Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.