morigraph Start free

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

APIIdPrice
Shopify Store Searchshopify.search0.017 credits a call
Shopify Productshopify.product0.017 credits a call
Shopify Store Productsshopify.products0.017 credits a call
Shopify Store Profileshopify.store0.017 credits a call

Shopify Product

shopify.product0.017 credits a call (about $1.70 for 1,000)

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.

ArgumentTypeRequiredWhat it is
productstringyesProduct handle, the slug after /products/ in the product URL, e.g. anytime-ankle-sock-natural-grey-heather; the full product page URL also works.
storestringyesDomain 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

shopify.products0.017 credits a call (about $1.70 for 1,000)

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.

ArgumentTypeRequiredWhat it is
limitintegernoProducts 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.
maxPricenumbernoOnly products priced at or below this, in the store's currency.
minPricenumbernoOnly products priced at or above this, in the store's currency.
onlyInStockbooleannoOnly products with at least one variant in stock. Default false.
onlyOnSalebooleannoOnly products with at least one discounted variant. Default false.
pageintegerno1-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.
productTypestringnoOnly products whose product type contains this text, e.g. "Shoes".
publishedWithinDaysintegernoOnly products published to the store within the last this many days.
skuContainsstringnoOnly products with a variant whose SKU code contains this text.
storestringyesDomain 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.
tagsarray of stringnoOnly products carrying at least one of these tags.
titleContainsstringnoOnly products whose title contains this text.
vendorstringnoOnly 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

shopify.store0.017 credits a call (about $1.70 for 1,000)

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.

ArgumentTypeRequiredWhat it is
storestringyesDomain 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

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.