---
title: blogs - Storefront API
description: >
  Returns a paginated list of the shop's
  [`Blog`](/docs/api/storefront/2026-04/objects/Blog) objects. Each blog serves
  as a container for [`Article`](/docs/api/storefront/2026-04/objects/Article)
  objects.
api_version: 2026-04
api_name: storefront
type: query
api_type: graphql
source_url:
  html: 'https://shopify.dev/docs/api/storefront/latest/queries/blogs'
  md: 'https://shopify.dev/docs/api/storefront/latest/queries/blogs.md'
---

# blogs

query

Returns a paginated list of the shop's [`Blog`](https://shopify.dev/docs/api/storefront/2026-04/objects/Blog) objects. Each blog serves as a container for [`Article`](https://shopify.dev/docs/api/storefront/2026-04/objects/Article) objects.

## BlogConnection arguments

[BlogConnection!](https://shopify.dev/docs/api/storefront/latest/connections/BlogConnection)

* after

  [String](https://shopify.dev/docs/api/storefront/latest/scalars/String)

  Returns the elements that come after the specified cursor.

* before

  [String](https://shopify.dev/docs/api/storefront/latest/scalars/String)

  Returns the elements that come before the specified cursor.

* first

  [Int](https://shopify.dev/docs/api/storefront/latest/scalars/Int)

  Returns up to the first `n` elements from the list.

* last

  [Int](https://shopify.dev/docs/api/storefront/latest/scalars/Int)

  Returns up to the last `n` elements from the list.

* query

  [String](https://shopify.dev/docs/api/storefront/latest/scalars/String)

  Apply one or multiple filters to the query. Refer to the detailed [search syntax](https://shopify.dev/api/usage/search-syntax) for more information about using filters.

  * created\_at
  * handle
  * title
  * updated\_at

* reverse

  [Boolean](https://shopify.dev/docs/api/storefront/latest/scalars/Boolean)

  Default:false

  Reverse the order of the underlying list.

* sort​Key

  [Blog​Sort​Keys](https://shopify.dev/docs/api/storefront/latest/enums/BlogSortKeys)

  Default:ID

  Sort the underlying list by the given key.

***

## Possible returns

* edges

  [\[Blog​Edge!\]!](https://shopify.dev/docs/api/storefront/latest/objects/BlogEdge)

  non-null

  A list of edges.

* nodes

  [\[Blog!\]!](https://shopify.dev/docs/api/storefront/latest/objects/Blog)

  non-null

  A list of the nodes contained in BlogEdge.

* page​Info

  [Page​Info!](https://shopify.dev/docs/api/storefront/latest/objects/PageInfo)

  non-null

  Information to aid in pagination.

***

## Examples

* ### blogs reference
