GraphQL: Query blog articles by tag

Topic summary

Main issue: How to query Shopify blog articles by tag via the Admin GraphQL API. The original poster reviewed OnlineStoreBlog and OnlineStoreArticle docs and tried the Admin GraphiQL Explorer but couldn’t figure out how to pass a blog ID or filter by tags.

Key points:

  • Documentation referenced: OnlineStoreBlog and OnlineStoreArticle objects; Admin GraphiQL Explorer links were shared.
  • Reported limitation: One response states the API is missing necessary capabilities, claiming there’s currently no way to query or access Blogs/Articles via the Admin GraphQL API (at least not successfully by that user).
  • Follow‑up questions: Another participant asked if any solution was found, indicating ongoing uncertainty.
  • Conflicting hint: A later reply thanks someone for a “query” that helped, but the actual query is not included in the provided text, so its details and effectiveness are unknown.

Status: No confirmed solution or clear workaround is present in the provided messages. The discussion appears unresolved based on the excerpt, with a possible but undocumented hint of progress.

Summarized with AI on February 2. AI used: gpt-5.

I’m looking to query blog articles by tag using the GraphQL API

I see the documentation provided about the “OnlineStoreBlog” and “OnlineStoreArticles” but can’t seem to make sense of how to input my query

https://shopify.dev/docs/admin-api/graphql/reference/object/onlinestoreblog

https://shopify.dev/docs/admin-api/graphql/reference/object/onlinestorearticle

I’ve also tried to use the GraphQL Explorer but still can’t seem to figure out how to input the blog ID or tags, or even how to query any sort of blog/articles.

https://shopify.dev/graphiql/admin-graphiql

Any help would be greatly appreciated, thank you!

The API is missing some of the bits, so for now there is no way to query or access Blogs/Articles using GraphQL API, at least I wasn’t able to make it work,

Hello, did you find any solution?

thank you. Your query helps a lot

1 Like