/api/user-bets (GET)
GET
/api/user-bets
const url = 'https://example.com/api/user-bets?status=Pending&market=H2H';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/user-bets?status=Pending&market=H2H' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” status
string
market
string
from
string format: date-time
to
string format: date-time
Responses
Section titled “ Responses ”OK