AgentAPIGate
Back to Catalog
GET /v1/commerce/shopify/collectionsPack: commerce·MCP Tool: commerce_shopify_collections

Shopify Store Collections Directory

List public merchandising collections, handles, product counts, hero images, and update timestamps from any Shopify store.

API Key Price:$0.0010 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Public Shopify store domain (e.g. allbirds.com)
Collections per page (1-50)
Page number (>=1)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/commerce/shopify/collections" \
  --data-urlencode "store_domain=allbirds.com" \
  --data-urlencode "limit=15" \
  --data-urlencode "page=1" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-76% tokens
# Shopify Store Collections Directory (`commerce.shopify.collections`)
**store_domain**: https://allbirds.com · **page**: 1 · **count**: 15

## collections
- [1] id: 263506919504, handle: 109-tree-dashers-for-outlet-discount-code, title: $109 Tree Dashers for Outlet Discount Code, products_count: 0, published_at: 2022-07-11T07:39:16-07:00
- [2] id: 270995030096, handle: 30-off-tree-runner-go-tree-gliders, title: 30% Off Tree Runner Go & Tree Gliders, products_count: 107, published_at: 2024-09-07T20:37:09-07:00
- [3] id: 261551390800, handle: 98, title: 98, products_count: 79, published_at: 2021-08-06T17:31:32-07:00
- [4] id: 135995326544, handle: womens-accessories, title: Accessories, products_count: 28, published_at: 2019-08-05T14:01:17-07:00
- [5] id: 276921614416, handle: add-on-essentials, title: Add On Essentials, products_count: 53, published_at: 2026-01-21T09:12:56-08:00
- [6] id: 268502171728, handle: aff-secret-sale-20-off, title: AFF Secret Sale 20% Off, products_count: 23, published_at: 2024-02-21T21:39:14-08:00
- [7] id: 267144003664, handle: aff-secret-sale-mkd, title: AFF Secret Sale 30% Off, products_count: 126, published_at: 2023-10-25T12:45:07-07:00
- [8] id: 268370378832, handle: aff-secret-sale-40-off, title: AFF Secret Sale 40% Off, products_count: 57, published_at: 2024-02-09T11:52:59-08:00
- [9] id: 267143905360, handle: aff-secret-sale-fp, title: AFF Secret Sale 50% Off, products_count: 28, published_at: 2023-10-25T12:39:30-07:00
- [10] id: 58736508997, handle: all, title: All, products_count: 0, published_at: 2018-08-07T12:55:38-07:00
- [11] id: 170168549456, handle: all-apparel-excluding-face-masks, title: All Apparel - Excluding Face Masks, products_count: 529, published_at: 2026-07-01T17:20:20-07:00
- [12] id: 266221912144, handle: all-full-price-shoes, title: All Full Price Shoes, products_count: 1367, published_at: 2023-04-24T16:05:32-07:00
- [13] id: 271513911376, handle: all-msrp-products, title: All MSRP Products, products_count: 1868, published_at: 2024-10-17T10:51:19-07:00
- [14] id: 279444029520, handle: all-products-1, title: All Products, products_count: 4184, published_at: 2026-08-12T12:50:13-07:00
- [15] id: 170168516688, handle: all-shoes-mens-and-womens, title: All Shoes - Men's and Women's, products_count: 3094, published_at: 2025-08-14T09:31:43-07:00

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: commerce.shopify.collections · Method: GET
ParameterTypeReqSample / DefaultDescription
store_domainstringrequiredallbirds.comPublic Shopify store domain (e.g. allbirds.com)
limitnumberoptional15Collections per page (1-50)
pagenumberoptional1Page number (>=1)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0010 / call$0/mo · Balance never expires
Remote MCP Toolcommerce_shopify_collectionsOAuth 2.1 Hub & /mcp/commerce
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency101 ms$0 billed on empty or 4xx/5xx
Token Economy2680t → 631t (-76%)Partner credit: eligible

More commerce.shopify Sibling Endpoints

Frequently Asked Questions

How do I call Shopify Store Collections Directory (commerce.shopify.collections) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/commerce/shopify/collections with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool commerce_shopify_collections on https://mcp.agentapigate.ai/mcp.

What does commerce.shopify.collections cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.001 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on commerce.shopify.collections?

Passing ?format=md transforms the response into normalized Markdown (~631 tokens vs ~2680 raw tokens, saving 76% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only commerce endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["commerce"], optional allowed_endpoints: ["commerce.shopify.collections"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.