Grain does not yet have a public API but we will. If you are interested, please contact support@grain.co with your request details.