<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/where-do-your-api-requests-live--qdipwhfbn" -->

---
title: Where do your API requests live? | daily.dev
description: Discussion about "Where do your API requests live?" on daily.dev - join the developer community
canonical: https://daily.dev/posts/where-do-your-api-requests-live--qdipwhfbn
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Where do your API requests live? | daily.dev
og:description: Discussion about "Where do your API requests live?" on daily.dev - join the developer community
og:url: https://daily.dev/posts/where-do-your-api-requests-live--qdipwhfbn
og:image: https://api.daily.dev/og/posts/QdiPwhFbN.png
og:image:alt: Where do your API requests live?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Where do your API requests live?

**[Luka Jioshvili](https://daily.dev/sources/pfxtypf8xr4p0r03orauw)** · [@lazydoomslayer](https://daily.dev/lazydoomslayer) · 0 upvotes · 0 comments

## Content

I've seen API requests placed in components, composables, stores, and utility files.

All of them work.

But as applications grow, they become harder to find, reuse, and maintain.

Over time, I settled on one simple rule:

👉 Services own external communication.

I wrote about the reasoning behind that decision, what belongs in a service, and how I separate responsibilities between components, composables, and services.

How do you organize API communication in your projects?

DevTo:  [https://dev.to/lazydoomslayer/how-i-build-vue-3-applications-part-4-where-api-logic-belongs-db9](https://dev.to/lazydoomslayer/how-i-build-vue-3-applications-part-4-where-api-logic-belongs-db9)

Medium: [https://medium.com/@lazydoomslayer/how-i-build-vue-3-applications-part-4-where-api-logic-belongs-b7d153e370ad](https://medium.com/@lazydoomslayer/how-i-build-vue-3-applications-part-4-where-api-logic-belongs-b7d153e370ad)

---

[View this post on daily.dev](https://daily.dev/posts/where-do-your-api-requests-live--qdipwhfbn)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/where-do-your-api-requests-live--qdipwhfbn","headline":"Where do your API requests live?","text":"Discussion about \"Where do your API requests live?\" on daily.dev - join the developer community","url":"https://daily.dev/posts/where-do-your-api-requests-live--qdipwhfbn","datePublished":"2026-07-18T18:08:25.211Z","dateModified":"2026-07-18T18:08:25.211Z","author":{"@type":"Person","name":"Luka Jioshvili","url":"https://daily.dev/lazydoomslayer","image":"https://media.daily.dev/image/upload/s--sPBwrMdf--/f_auto/v1783082510/avatars/avatar_pFxtypF8xr4P0R03oRauW?_a=BAMAMicg0","description":"Full-Stack Software Engineer | Vue.js • TypeScript • NestJS • Rust • Python","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":1170}},"image":"https://media.daily.dev/image/upload/s--NP6oHhxB--/f_auto/v1784398105/posts/QdiPwhFbN?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/pfxtypf8xr4p0r03orauw","name":"Luka Jioshvili"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Luka Jioshvili","item":"https://daily.dev/sources/pfxtypf8xr4p0r03orauw"},{"@type":"ListItem","position":3,"name":"Where do your API requests live?"}]}
```

