Fairlay API questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • linan2332
    SBR Rookie
    • 08-11-19
    • 4

    #1
    Fairlay API questions
    Hi Guys,
    Recently just discover fairlay exchange and really enjoy betting over there. Have some questions related to the market/API if anyone can help. Hope the questions is not too dumb

    1. Trying to figure out how to actually send an private request. I am able to send the public one but cant figure out the private one. Is it still a restful API? what does the request looks like? the api documents are kind of confusing..

    2. Sometimes during live market, even though I already use API to verified the order-book, the moment you place an match order it got immediately cancelled and the order book will refresh to empty. How does the market maker do that. Is the order already being cancelled but is just not reflected on the order book?
    3. When you create a new market, do I just create orders on both side? To make the odds shift do I just change my order with API "changeOrder"

    Side question:
    I know some (or most) of the market has pinnacle odds.(probably using a bot to scrap pinnacle odds and automatically create market base on that.) Do we know if that is a user or fairlay themselves? I dont think pinnacle actually have an account on fairlay and creating all this market.. why would they do that

    Thanks!
  • Optional
    Administrator
    • 06-10-10
    • 61502

    #2
    The most information you will find about the fairlay API around here is in this thread



    User Danshan went through the process and asked similar questions as you have as he learned it. You should find some of these answers in there.
    .
    Comment
    • linan2332
      SBR Rookie
      • 08-11-19
      • 4

      #3
      Appreciate the response. Will look into the thread
      Comment
      • linan2332
        SBR Rookie
        • 08-11-19
        • 4

        #4
        Re read the API doc again and I figure out Question 1. Thanks to the thread provided by Optional I have a better understanding about the API. Is there a community/discord that is dedicated for fairlay dev/api ? would love to get in touch with other people who are using the API as well.
        Comment
        • Bsims
          SBR Wise Guy
          • 02-03-09
          • 827

          #5
          Originally posted by linan2332
          Re read the API doc again and I figure out Question 1. Thanks to the thread provided by Optional I have a better understanding about the API. Is there a community/discord that is dedicated for fairlay dev/api ? would love to get in touch with other people who are using the API as well.
          What language are you coding your API in?
          Comment
          • linan2332
            SBR Rookie
            • 08-11-19
            • 4

            #6
            Python. Looks like their python client is a bit outdated so I probably will re-write one in python 3
            Comment
            • Nappyx
              SBR Wise Guy
              • 11-05-17
              • 652

              #7
              linan2332 did you have any success with the API, I'm confused and have been sending questions to support but it takes a while to get a response. At this point, I'm just trying to query the API to find the game I want to bet, but it returns all the alternative lines with the query. Does anyone know how to remove the alternative lines from the API calls so that only the lines you see on the website 'cards' are displayed? It would help them tremendously if they had a sandbox that you could use to place bets through API.

              http://31.172.83.181:8080/free/markets/{""Cat"":12,""TypeOR"":[3],""OnlyActive"":true,""Comp"":""NBA"","" PeriodOR"":[1],""RunnerAND"":[""Toronto""]}
              Comment
              SBR Contests
              Collapse
              Top-Rated US Sportsbooks
              Collapse
              Working...