Free tool · no sign-up · runs locally
Adobe Commerce GraphQL query builder
Choose your Commerce platform and what you want from the catalogue. Copy a ready-to-run query as GraphQL text, curl or JavaScript, or download it as a .graphql file. The query is built in your browser and nothing is sent anywhere.
Built in your browser. This page only writes text. It sends nothing to Adobe Commerce or to us, and it has no box for a real key: the API key and environment ID stay placeholders that you replace on your own machine.
Adobe Commerce GraphQL: products query
POST https://<commerce-server>/graphql
{
products(
search: "Yoga pants"
pageSize: 2
) {
total_count
items {
name
sku
url_key
price_range {
minimum_price {
regular_price {
value
currency
}
final_price {
value
currency
}
}
}
}
page_info {
current_page
page_size
total_pages
}
}
}
- Without a sort, a query with a search term sorts by relevance, descending.
- Adobe Commerce as a Cloud Service does not support this core query. Adobe's page says to use the Catalog Service query there.
Run the request from your own machine or your storefront code. Do not paste a real key into any web page, including this one.
How it works
What the builder writes
The right query for the platform
Core products and categories for PaaS. Catalog Service products, productSearch and categories for the services endpoint and for Adobe Commerce as a Cloud Service, which does not run the core two.
Product and category queriesThe address and headers
The endpoint form Adobe documents for each platform, Content-Type on every request, the Store header for core GraphQL and the Magento-* store codes for Catalog Service.
Endpoints and headersThree formats
The query text, a curl command for a terminal and a fetch snippet for JavaScript. The download is the query as a .graphql file.
Storefront config.json- Verified against Adobe's documentation. Query names, arguments, filter shapes, sort values, field names, endpoint forms and headers were read on Adobe's pages and public schema on 13 November 2026. The pages are listed below.
- Not verified by running. We did not send these queries to a live Adobe Commerce instance. Which fields and attributes return data depends on your catalogue, version and installed services. Test against a non-production environment first.
- Our own limits. The page size cap of 500 and the rules for store codes and the endpoint are the builder's safety rules, not Adobe's limits.
- No stored state. The page keeps nothing after you close the tab and has no field for a real key.
Questions
Common questions
Does this page call my shop?
No. The query is built in your browser and shown as text. Nothing is sent to Adobe Commerce or to us. You copy the snippet and run it yourself.
Where do I put my API key?
Not here. For Catalog Service on PaaS the snippets carry placeholders for the API key and the environment ID. Replace them on your own machine. Never paste a real key into a web page.
Which queries does it write?
Five catalogue read queries. For core GraphQL on PaaS: products and categories. For Catalog Service and Live Search, which Adobe Commerce as a Cloud Service also uses: products by SKU, productSearch and categories.
Why are there two products queries?
Because Adobe has two. The core products query searches and filters and is PaaS only. The Catalog Service products query takes a list of SKUs. Adobe says the two are not interchangeable, so the builder keeps them apart by platform.
What is left out?
Mutations, cart, checkout and customer queries, GET requests, custom attribute filters on core GraphQL, Adobe Commerce Optimizer headers and the Magento-Customer-Group header. Most are outside a simple catalogue read. GET requests are documented by Adobe for core GraphQL, but the builder writes POST only. The Optimizer headers are left out because we did not confirm their detail on Adobe's pages on 13 November 2026.
Can something I type break the query?
No. Text values are written as escaped GraphQL strings, numbers are checked, and field names, sort orders and comparisons come from fixed lists. The endpoint must be a plain https address and store codes may hold letters, digits, hyphens and underscores only.
Sources
What the query syntax was checked against
- Adobe Developer: GraphQL overview (PaaS and SaaS schemas and endpoints) (checked 13 Nov 2026)
- Adobe Developer: GraphQL request headers (checked 13 Nov 2026)
- Adobe Developer: products query (core GraphQL, PaaS only) (checked 13 Nov 2026)
- Adobe Developer: categories query (core GraphQL, PaaS only) (checked 13 Nov 2026)
- Adobe on GitHub: magento/magento2, CatalogGraphQl schema.graphqls (core catalogue types) (checked 13 Nov 2026)
- Adobe Developer: Catalog Service products query (checked 13 Nov 2026)
- Adobe Developer: productSearch query (Live Search and Catalog Service) (checked 13 Nov 2026)
- Adobe Developer: Catalog Service categories query (checked 13 Nov 2026)
- Adobe: Storefront configuration (config.json keys) (checked 13 Nov 2026)
Surge Migrate is not affiliated with Adobe and claims no Adobe partner status. More answers: Adobe Commerce hub.
Surge Migrate
Moving the website itself
This builder writes catalogue queries. Surge Migrate moves the content pages of a website from any CMS to any CMS. Converted automatically. Checked before you install. Products, customers and orders stay in Commerce.
- 1
Scan
Names the system behind your site, counts pages and templates, lists the blocks to build and the work no tool does, and gives an effort range with its working.
Scan a site → - 2
Convert
Each page becomes an Edge Delivery document, an AEM Core Component page and import files for 7 other systems. 10 pages free; 500 or 2,000 pages in one paid run.
Convert your pages → - 3
Verify
A download is offered only when its own format check passes. The report lists every field not found and every component kept as plain content. Compare old and new pages side by side.
Parity check → - 4
Install
You import with the target system's own tool, on your own environment. Each download's README gives the command. Your system changes only when you run it.
How each import was tested →