Follow

Place Bets with API

You can simply Place your bets via API.

 

  • Place Bets
POST - www.betbtc.co/api/bet/
 
Params:
market_id
selection
odd
stake
bet_type
 
  • Example Request

 
 
  • Example Output (success)
 
{
    "update_time": "1428250207",
    "bet_status": "OK",
    "bet_id": "462",
    "bet_matched": "false"
}

4 Comments

  • Avatar
    Vitaly

    I'm developing the API client for Ruby now.

    Currently this API call returns either {"status"=>"OK"} on success call or {"status"=>"FAIL"} on failed call. 

    I'd like to have the bet id returned on success call and error message returned on failed call.

    Also I've noticed that some odd values like 5.35 are rejected. Where can I read the general rules to make my odds to comply them?

  • Avatar
    BETBTC

    We will work on that Vitaly!

    Please open a support ticket so that we can inform you on updates

  • Avatar
    Vitaly

    Hello, how should I place bets on draw result in soccer? 

    https://www.betbtc.co/league/barclays-premier-league-soccer

    It's not clear what value I should set for the "selection" parameter in such case.

  • Avatar
    Vitaly

    Ah, I've found that correct value should be "The Draw"!

Please sign in to leave a comment.
Powered by Zendesk