Skip to main content

Miscellaneous Endpoints

Utility endpoints for the BFF API service.

GET /about

Returns service information.

Response Fields

FieldTypeDescription
namestringAlways returns "BFF API"
versionstringSet via VERSION environment variable
gitCommitHashstringOptional field showing the deployed git commit

Example Response

{
  "name": "BFF API",
  "version": "0.24.0",
  "gitCommitHash": "abc123def456"
}
The endpoint caches responses for 10 minutes.

GET /

The root endpoint redirects users to the interactive API documentation at /docs/static/index.html via a 307 redirect.

TWAP Proxy

An optional proxying feature for Time-Weighted Average Price requests. Enable it by setting the TWAP_BASE_URL environment variable to point to your TWAP service. When configured, requests to /twap/* routes are forwarded to the specified service. For example, a request to /twap/orders would proxy to the configured base URL’s /orders endpoint. The proxy only functions when TWAP_BASE_URL is explicitly set; otherwise, this feature remains unavailable.
Last modified on March 4, 2026