A read-only REST API over every public market, event and price on Problyx. No account needed to start; an API key raises your rate limit.
Every endpoint answers anonymously over HTTPS and returns JSON. There is nothing to install and no OAuth dance.
curl "https://problyxweb-production.up.railway.app/public/v1/markets?status=active&limit=5"Anonymous calls work out of the box. Sending an API key moves you to a higher, per-key rate bucket instead of sharing the per-IP one.
| Mode | How | Rate limit |
|---|---|---|
| Anonymous | Send nothing | 10 requests/min per IP |
| With API key | X-API-Key: pbx_… header | 30 requests/min per key |
Free is an evaluation tier: enough to try the API and run a hobby integration, not enough for production traffic. For higher limits, commercial use or anything with real volume, email info@problyx.com and tell us what you are building.
curl -H "X-API-Key: pbx_your_key" \
"https://problyxweb-production.up.railway.app/public/v1/events?limit=20"Keys are created from Profile → Settings → API keys (verified email required, 5 active keys max). The key is shown once — store it server-side. An invalid key is rejected with 401, never downgraded to anonymous.
Create an API key| Endpoint | What it returns |
|---|---|
| GET /public/v1/markets | Market list. Filter with q, status, category, sort; paginate with limit (≤100) and offset (≤10000). |
| GET /public/v1/markets/{id} | A single market. |
| GET /public/v1/markets/{id}/quote | Trade preview for a market: pass outcome, amount and action. |
| GET /public/v1/events | Event list, with their markets nested. |
| GET /public/v1/events/{id} | A single event. |
Every response uses the same envelope, so a client only has to branch on success.
{ "success": true, "data": { … } }
{ "success": false, "error": { "code": "…", "message": "…" } }401Invalid API key.404Not found — private and pending-review resources answer 404 too, never 403.409Market closed for trading.410Market already resolved.423Market is settling (resolution lock).429Rate limit exceeded — back off and retry.Higher limits, commercial use, webhooks or write access — we lift caps per integration. Tell us your use case and the volume you expect.
Email info@problyx.com