Developer Resources

OS Hub API docs on Swagger

Visit the OS Hub Swagger page to see available endpoints, test GET calls, and see response formatting for all endpoints.

PyOSHub Library

The PyOSHub API library provides a Python interface to the REST API, available here.

The most common use case involves uploading a facility record to check whether this facility already exists on OS Hub. If it does, you can associate the uploaded information with the existing OS ID; if not, you can opt to create a new entry in the database, which will generate a new OS ID.

Have another question?

Subscribe to Receive Open Supply Hub News & Updates

Sign Up