---
title: StoryblokClient
description: StoryblokClient is a typed Swift client for Storyblok's Content Delivery API, with a macro-generated component library and automatic relation resolution.
url: https://www.storyblok.com/docs/libraries/swift/content-delivery-api-client
---

# StoryblokClient

The `StoryblokClient` is the typed client for [Content Delivery API](/docs/api/content-delivery/v2) and part of [Storyblok’s Swift package](https://github.com/storyblok/storyblok-swift).

Built on [`URLSessionExtension`](/docs/libraries/swift/universal-api-client), the higher-level library adds the following features:

-   Macro-generated component library
-   Typed stories
-   Typed queries for filtering, sorting, and paging through multiple stories
-   Automatic relation resolution
-   Typed rich text representation

To render fetched stories and rich text in SwiftUI, use the [`StoryblokUI`](/docs/libraries/swift/swiftui-sdk) library.

## Further resources

[Quickstart: Fetch a Single Story in iOS](/docs/quickstarts/apple-platforms#fetch-a-single-story)Learn how to fetch a single story in an iOS app.

[StoryblokClient Guide](https://storyblok.github.io/storyblok-swift/documentation/storyblokclient/userguide/)Learn how to get started with StoryblokClient.

[StoryblokClient API Reference](https://storyblok.github.io/storyblok-swift/documentation/storyblokclient/)Browse the complete documentation of StoryblokClient.

[Content Delivery API](/docs/api/content-delivery/v2)Browse the endpoints of the Content Delivery API.

## Pagination

-   [Previous: Universal API Client](/docs/libraries/swift/universal-api-client)
-   [Next: SwiftUI SDK](/docs/libraries/swift/swiftui-sdk)
