<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/building-a-balancer-price-retrieval-api-with-nestjs-f7hjpy5em" -->

---
title: Building a Balancer Price Retrieval API with NestJS
description: This tutorial guides readers on how to build a Balancer Price Retrieval API using NestJS. It covers the setup of a NestJS project, installation of necessary...
canonical: https://daily.dev/posts/building-a-balancer-price-retrieval-api-with-nestjs-f7hjpy5em
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Building a Balancer Price Retrieval API with NestJS | daily.dev
og:description: This tutorial guides readers on how to build a Balancer Price Retrieval API using NestJS. It covers the setup of a NestJS project, installation of necessary...
og:url: https://daily.dev/posts/building-a-balancer-price-retrieval-api-with-nestjs-f7hjpy5em
og:image: https://api.daily.dev/og/posts/f7HJPy5em.png
og:image:alt: Building a Balancer Price Retrieval API with NestJS
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.

# Building a Balancer Price Retrieval API with NestJS

**[Coins Bench](https://daily.dev/sources/coinsbench)** · 3 min read · 11 upvotes · 0 comments

## Summary

This tutorial guides readers on how to build a Balancer Price Retrieval API using NestJS. It covers the setup of a NestJS project, installation of necessary dependencies, and the creation of services and controllers for interacting with the Balancer subgraph and SDK. The tutorial also includes testing and suggests future expansions for the application.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://coinsbench.com/building-a-balancer-price-retrieval-api-with-nestjs-5ad53e72e2cf>

---

Tags: [#typescript](https://daily.dev/tags/typescript), [#blockchain](https://daily.dev/tags/blockchain), [#nestjs](https://daily.dev/tags/nestjs)

[View this post on daily.dev](https://daily.dev/posts/building-a-balancer-price-retrieval-api-with-nestjs-f7hjpy5em)

```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":"TechArticle","headline":"Building a Balancer Price Retrieval API with NestJS","url":"https://daily.dev/posts/building-a-balancer-price-retrieval-api-with-nestjs-f7hjpy5em","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/building-a-balancer-price-retrieval-api-with-nestjs-f7hjpy5em"},"datePublished":"2024-05-08T10:27:20.442Z","dateModified":"2024-05-09T09:21:59.549Z","description":"This tutorial guides readers on how to build a Balancer Price Retrieval API using NestJS. It covers the setup of a NestJS project, installation of necessary...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/eb61bd3d31040e3b50157bf63e94096d?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/eb61bd3d31040e3b50157bf63e94096d?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Coins Bench","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Coins Bench","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ba340d3c8caa4c2586911332928e24d9","url":"https://daily.dev/sources/coinsbench"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/building-a-balancer-price-retrieval-api-with-nestjs-f7hjpy5em","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":11},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"typescript,blockchain,nestjs","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Coins Bench","item":"https://daily.dev/sources/coinsbench"},{"@type":"ListItem","position":3,"name":"Building a Balancer Price Retrieval API with NestJS"}]}
```

