Price Pusher Control API

This page provides documentation for the Price Pusher's control API. You can use these endpoints to manage the price feeds and the overall behavior of the service.

Actions Overview

These are the main operations you can perform on the price feeds.

Available Symbols

The following market symbols are configured:

API Endpoints

All endpoints are available under the /api/v1 path.

GET /action/start/SYMBOL
GET /action/start
Starts publishing prices for the specified SYMBOL. Omit the symbol to start publishing for all markets.
Examples:
GET /action/stop/SYMBOL
GET /action/stop
Stops publishing prices for the specified SYMBOL. Omit the symbol to stop publishing for all markets.
Examples:
GET /action/freeze/SYMBOL
GET /action/freeze
Freezes the price for SYMBOL at its last known value. Live price fetching is paused.
Example:
GET /action/unfreeze/SYMBOL
GET /action/unfreeze
Resumes live price fetching for SYMBOL.
Example:
GET /set-price/SYMBOL/PRICE
Sets a manual price for a frozen SYMBOL. The PRICE should be a decimal number (e.g., 71000.50). The same PRICE will be used for all future updates until unfreeze.
Example:
GET /send-price/SYMBOL/PRICE
Sets a manual price for SYMBOL and immediately publishes it.
Example:
GET /set-poll-interval-ms/MILLISECONDS
Updates how often the service polls for new prices, in milliseconds. Minimum is 50ms.
Example:
GET /status
Returns the current status of all markets, including their prices, publishing state, and poll interval.
Example: