FPbase has a REST API for retrieving data in JSON or CSV format. It is very basic and still in development (unstable). Until we know there are people who would like to use it, there are a lot of other things that also need attention. So let us know if you'd like to use it!
These docs are incomplete and potentially wrong... In the meantime, there is (slightly) better information at this page:
If you use or would like to use the API for programmatic retrieval of data from FPbase, we'd love to help out. Please get in touch and tell us about your project.