Hot answers tagged torah-reading
Sefaria has an API that will serve it up as a JSON object.
Mechon Mamre's "תיקון קוראים" (also downloadable) has each word of the Pentateuch in a separate span element; pasuk-final words have different attributes in those elements. This is thus a machine-parseable Pentateuch with machine-parseable delineation of p'sukim, which seems to be what you seek.
Only top voted, non community-wiki answers of a minimum length are eligible