Direct HTTP workflows for BridgeXAPI messaging infrastructure.
No SDK. No abstraction.
This repository contains executable Python scripts that interact directly with BridgeXAPI.
Each script maps 1:1 to a real API surface.
What is exposed:
- route selection (
route_id) - pricing before submission
- delivery tracking (
bx_message_id) - routing behavior across multiple paths
This is infrastructure usage, not a wrapped client.
Before sending anything, inspect available routes:
python route-pricing/routes.pyRoutes are not universal.
Availability and pricing depend on:
- account configuration
- destination prefix
- active inventory
pip install -r requirements.txt
copy .env.example .env
notepad .envRequired:
BRIDGEXAPI_API_KEYBRIDGEXAPI_TEST_NUMBER
python send-one-message/send_one.pypython route-pricing/routes.py
python estimate-before-send/estimate.py
python route-comparison/compare_routes.py
python send-from-csv/send_from_csv.pyRoute comparison:
[Route 1] ACCEPTED
order_id : 22521
bx_message_id : BX-22521-7b8bc6311ec9a95a
cost : 0.088
[Route 4] REJECTED
reason : No pricing available for destination
Delivery lookup:
{
"bx_message_id": "BX-22519-94fc918774ccf6d8",
"status": "DELIVERED",
"route_id": 2
}
send-one-message/→ single submissionestimate-before-send/→ cost calculationdelivery-lookup/→ delivery stateroute-pricing/→ route + pricing surfacesroute-comparison/→ multi-route executionsend-from-csv/→ batch sending
- routing is explicit (
route_id) - pricing is route-dependent
- delivery is tracked per message (
bx_message_id) - vendor message IDs are not exposed
Docs: https://docs.bridgexapi.io Main: https://bridgexapi.io