---
title: "Data Fetching"
description: "This example demonstrates data fetching with Nuxt using built-in composables and API routes."
canonical_url: "https://nuxt.com/docs/4.x/examples/features/data-fetching"
---
# Data Fetching

> This example demonstrates data fetching with Nuxt using built-in composables and API routes.

<code-explorer default-value="pages/index.vue" path="examples/features/data-fetching">



</code-explorer>

<browser src="https://data-fetching.example.nuxt.space">



</browser>

<read-more to="https://nuxt.com/docs/getting-started/data-fetching">



</read-more>

<read-more to="https://nuxt.com/docs/guide/directory-structure/server">



</read-more>

---

- [Source](https://github.com/nuxt/examples/tree/main/examples/features/data-fetching)


## Sitemap

See the full [sitemap](https://nuxt.com/sitemap.md) for all pages.
