sniff width for the api call