Where is an accurate source for XLM to USD exchange rate? I'd like to programatically keep offers in line with market rates.
There is no single source of truth for the price as every exchange has it's own.
You may want to check coinmarket.cap to have an overview what they scrape for their graphs and do the same. Or use their API but consider latency, availability and also that they have to weight/ filter their source data somehow.