Skip to main content

Installation

1

Clone the Repository

2

Install Dependencies

This project uses Bun for superior performance:
3

Configure Environment

Create a .env file based on the example:
Edit .env with your configuration:
4

Build and Start

For development with hot reload:

Make Your First Request

You can use the live API directly or run your own instance locally.

Using the Live API

The public API is available at https://market-api.metadao.fi:
This returns API information including version, available endpoints, and DEX configuration.

Get Ticker Data

Retrieve all DAO tickers with pricing and volume information:

Local Development

If running locally, replace https://market-api.metadao.fi with http://localhost:3000 in the examples above.

Example Response

Health Check

Verify the API is running properly:
Response:
Success! Your API is now running and ready to serve data.

Next Steps

Configuration Guide

Learn about all configuration options

API Reference

Explore the tickers endpoint

Understand Pricing

Learn how prices are calculated

Error Handling

Learn how to handle errors