---
title: BlogConnection - Storefront API
description: An auto-generated type for paginating through multiple Blogs.
api_version: 2026-07
source_url:
  html: https://shopify.dev/docs/api/storefront/latest/connections/blogconnection
  md: https://shopify.dev/docs/api/storefront/latest/connections/blogconnection.md
---

# Blog​Connection

connection

An auto-generated type for paginating through multiple Blogs.

## Queries with this connection

* [blogs](https://shopify.dev/docs/api/storefront/latest/queries/blogs)

  query

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

  * after

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

    ### Arguments

    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.

***

## Map

### Queries with this connection

* [blogs](https://shopify.dev/docs/api/storefront/latest/queries/blogs)

### Possible returns

* [Blog​Connection.edges](https://shopify.dev/docs/api/storefront/latest/connections/BlogConnection#returns-edges)
* [Blog​Connection.nodes](https://shopify.dev/docs/api/storefront/latest/connections/BlogConnection#returns-nodes)
* [Blog​Connection.pageInfo](https://shopify.dev/docs/api/storefront/latest/connections/BlogConnection#returns-pageInfo)