Environment Setup
Environment Setup
Overview
This guide explains how to set up your environment for accessing the Noodles API. It includes details on the available environments
API Environments
The Noodles API is available in two environments:
Production
https://api.noodles.fi
Obtaining an API Key
An API key is required to authenticate, access and rate limit the API.
Steps to Get an API Key:
How to get API Key:
Contact us via telegram: @hiephho
Use the API Key:
Include the API key in the
x-api-key
header when making requests.
Example Usage
curl --location 'https://api.noodles.fi/api/v1/partner/ohlcv' \
--header 'Accept-Encoding: application/json' \
--header 'x-api-key: YOUR_API_KEY'
API Error Responses
Standard error responses for all API endpoints.
Invalid Parameters
Status Code: 400 Bad Request
{
"code": 400,
"message": "invalid pool address",
"data": null
}
Unauthorized
Status Code: 401 Unauthorized
{
"code": 401,
"message": "Invalid API Key",
"data": null
}
Rate Limited
Status Code: 429 Too Many Requests
{
"code": 429,
"message": "rate limit exceeded",
"data": null
}
Internal server error
Status Code: 500 Internal Server Error
{
"code": 500,
"message": "internal server error",
"data": null
}
Notes
Keep your API key secure and do not share it.
Only use
YOUR_API_KEY
on backend server side.Contact support if you need help with API key generation.
Last updated