Forum Article

Apps - marketid and selectionid

I've spent the last 2 weeks working on ways to get markets opened and various types of trade using marketId and selectionId information.  The marketid etc. comes from my URL in csv format.  With help of various AI models I developed an excel multipage spreadheet to automate via the URL required data only to find the process to slow due to excel limitations. I am / was in process of developing my own dashboard using AI (I'm no programmer, just a retired bloke having fun) but cost of getting my own API is a little restrictive, although doable if I get what I want working.  But maybe I can do this through bfexplorer and / or bfexplorer BOT SDK.  I've no idea but I'll keep posting progress or failure and happy to accept any comments or advice.  Just as an aside, every betfair app I've looked at is either poorly supported, cumbersome or just doesn't give me the mix of automated and live trading that I want.  

  • Add Your Comment

    +

    Please login to your bfexplorer account, if you want to add a comment to this article.

Comments ( 4 )


  • Betfair Bot
    17.8.2026 9:23:21

    I do not understand your use case; as for why you need to open Betfair markets—if it is for betting purposes, those actions can be fully automated in bfexplorer without any programming knowledge.

    Yes, there are many ways to achieve this using simple code, and I have provided several such examples on my GitHub.

    The simplest option is a bfexplorer Console script; open it in the bfexplorer Console and click the "Execute" button on the toolbar.

    BfexplorerConsoleExample.fsx

    Since bfexplorer is an agentic app, you could simply set up an MCP connection with your AI harness and prompt bfexplorer: "Open the following market IDs: 1.261142591, 1.261142708."

    Well, I understand your motivation for getting free access to the Betfair API through my generous community program, but you should be at least somewhat informed about these topics.

  • layteruk10
    17.8.2026 13:01:21

    Thank you for your response.  It will help me in the direction I go.  I am not an expert on this or a programmer (I'm a retired 68 year old having fun) but I have been trying to find help through AI including including a claude subscription as this was advised as best to use.  There are betfair apps that I could make some direct links and potentially two that I have found that could potentially use the marketid information however even the ones that suggest that they can do this have some limitations.  The initial AI advice was to use an excel dashboard which eventually was finished after many corrections however the tasks I need done are linear and because of this excel was slow.  My major focus now is learn how to use bfexplorer (so looking at a lot of youtube videos) and I will look at the script also. I have a strong impression that bfexplorer is very configurable.  Once I have that working I am happy to move to a pro subscription.  Trying to build my own betfair app is much more about having something to do and to keep my brain active.  It's nothing to do with money.  If I have something I am happy with I will pay the the £499 for for individual access and to support your continued work.  The reason I am here is to become more informed about these topics.  I know I looked a long time ago at bfexplorer but did not have the time to understand everything. All the best.

  • Betfair Bot
    17.8.2026 17:03:07

    I have been coding and trading on Betfair since 2007; I am currently 60 years old. When I first built my website, I introduced a Community Program offering free professional subscriptions to our most valuable community members. Do you know how many users took advantage of this general offer? Zero. Why? Because that is the nature of bettors on Betfair.

    If you want to participate, you must produce readable content detailing your journey and genuinely welcome it here. In return, you will receive free Betfair API access. Since you already have experience with AI models, I suggest writing about that process—specifically how you use the bfexplorer agentic app with AI.

    Furthermore, if you have a computer equipped with some VRAM/GPU, you can run AI models locally. For example, I successfully tested running the Gemma 4 LLM even for prompts similar to those other users have asked.

    Time to process after market change

    You need to know how to use local LLMs and, crucially, write effective prompts.

  • layteruk10
    17.8.2026 18:31:59

    This is going to take time for to understand and work through Stefan, and in fairness as my content is not yet useful I don't deserve free use so I have subscribed to the basic model.  Three markets will help me as I need to split feeds into a minimum of three distinct market types.  Anyway, I will document my journey as you suggest and then we will see. My expertise is commercial contracting so I have a steep learning curve.