How can the XML (or its ZIP file) for a USPTO number be downloaded? Can this be done programmatically (API) and/or manually?

(The weekly releases (ca 6000 entries) contain the type of information I want but not for a specific number.)