Deploy OpenBB Data API
Private OpenBB data API with generated bearer token and ECB example.
Just deployed
Deploy and Host OpenBB Data API on Railway
About Hosting OpenBB Data API
Deploy a private OpenBB v5 data API for an internal dashboard or research tool. The service installs pinned public OpenBB packages in the pinned Python image. Railway generates a separate bearer token for each deployment. The ECB example runs without a provider key. Supply FRED_API_KEY if you need FRED.
Why Deploy OpenBB on Railway
Use a shared bearer-authenticated data API for dashboards and scripts in the same project. You can test the integration with a synthetic example and query ECB data from the same endpoint.
Common Use Cases
- Pull ECB foreign exchange rates into an internal dashboard.
- Prototype research scripts against a stable API contract.
Dependencies for OpenBB Data API
Deployment Dependencies
Connect to the API
The first start installs dependencies from PyPI before /healthz becomes ready. From within the project, call http://openbb.railway.internal:8080. For clients outside the project, add a Railway HTTPS domain and use that URL. Copy OPENBB_TEMPLATE_TOKEN from the service variables and send it as a bearer token.
curl -fsS -H "Authorization: Bearer $OPENBB_TEMPLATE_TOKEN" "$OPENBB_URL/template/example"
curl -fsS -H "Authorization: Bearer $OPENBB_TEMPLATE_TOKEN" \
"$OPENBB_URL/api/v1/ecb/exchange_rates?provider=ecb&symbol=USD&start_date=2025-01-02&end_date=2025-01-07"
The fixture uses synthetic data. /openapi.json lists the available routes. Keep tokens in Railway variables and follow your provider's data terms. The template's package pins and adapter define the deployed version. OpenBB v5 source · Public Python image
Template Content

