Skip to content

Response drift: probable — base URL in config returns 404; working URL is market-api.probable.markets #925

@realfishsam

Description

@realfishsam

Exchange

probable

Severity

CRITICAL

What Our Normalizer Expects

core/src/exchanges/probable/config.ts sets api.probable.markets as the base URL for all public API calls (e.g. GET /public/api/v1/events/, GET /public/api/v1/markets/, GET /public/api/v1/book).

// config.ts (probable)
BASE_URL: 'https://api.probable.markets'

What The Live API Returns

https://api.probable.markets/public/api/v1/events/ returns HTTP 404 ("Resource not found") for all paths under /public/api/v1/. The working base URL is https://market-api.probable.markets:

GET https://api.probable.markets/public/api/v1/events/?limit=2  → 404 (broken)
GET https://market-api.probable.markets/public/api/v1/events/?limit=2  → 200 (working)

The working response shape from market-api.probable.markets is valid JSON with the expected market structure.

Impact

CRITICAL: Every API call from the probable adapter fails with a 404 error. fetchMarkets, fetchEvents, fetchOrderBook, and fetchTrades all return nothing. The exchange is completely non-functional as configured. Users see no probable markets.

Suggested Fix

Update the base URL in core/src/exchanges/probable/config.ts:

BASE_URL: 'https://market-api.probable.markets'

Then verify all endpoint paths still work correctly against the new base URL.


Found by automated response shape drift audit

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions