To be 100% you bet on correct market you must synchronized data from web site with betfair ones.
The best way is when web site uses betfair market itself, then naming convention is the same, and as well web site can use befair market id, as identification, so you can take that market id to load exact betfair market and as well choose selection.
When that is not the case then you need synchronization program, as your web site can use different names for teams (just slightly different), for instance: betfair use Man City, your web site can use full team name and so or.
I have done couple such program nad synchronizing data was always problem.