Documentation Versions
Changelog
Loading posts…
Updated
Local Contexts is focused on increasing Indigenous involvement in data governance through the integration of Indigenous values into data systems. Local Contexts offers digital strategies for Indigenous communities, institutions, and researchers through the Traditional Knowledge (TK) & Biocultural (BC) Labels and Notices. Together they function as a practical mechanism to advance aspirations for Indigenous data sovereignty and Indigenous innovation.
A RESTful API (or application programming interface) allows two computers to communicate with each other over the internet. In order to gather the information from the Local Contexts Hub to publish on your site, a request needs to be made through the API. Once a request has been made, the API then sends the corresponding data to your site instantly.

Anyone can connect to the API, no matter their skill level. This guide will detail how the API can be used.
The purpose of the Local Contexts (LC Hub) API is to fetch Labels and Notices associated with a particular Local Contexts Hub Project via a GET request.
A GET request is a method used to request information from the API. In other words, it is the requested information that you are GETting from the API.
API Documentation (main site): https://localcontextshub.org/api
API Documentation (sandbox site): https://sandbox.localcontextshub.org/api
Contact Support: support@localcontexts.org
The Labels communicate ongoing Indigenous relationships, obligations, and responsibilities to information and data as well as expectations for its future circulation. Their implementation through the API keeps communities connected to the data and encourages researchers and institutions to adopt the use of the Local Contexts Hub in their Projects as well.
Connecting to the API also allows for automatic updates to any changes made to Projects such as:
In order to connect to the API, the following items must be completed:
In the diagram below, the ★ icon indicates when a connection to the API can be made.

Once these steps have been completed, a Project is ready to be connected via the API.
Please don’t hesitate to reach out to us at support@localcontexts.org. We are here to answer any questions you may have.
If you would like to test out the API, you can create a Project via the Hub Test Site and using the following API Test Root Path: https://sandbox.localcontextshub.org/api/.
To connect to the official Local Contexts site via the API, use the API Root Path: https://localcontextshub.org/api/.
Our API v2 is the default version as of February 10, 2025. For v1, visit our API Guide (v1) page.
All endpoints for both the test site and the live site are the same, the only difference is the URL for the root path.
An API key from your Hub account is needed to authenticate to v2 of the API. Once connected, be sure to follow the usage guidelines below to ensure the Notices and Labels are being displayed properly.
When displaying any Notices or Labels, please be sure to reference the Usage Guides to ensure that the Notices and Labels are being displayed properly.
API keys are associated with the Hub account in which they were generated. Below is a table indicating what calls and Projects are accessible based on the API key:
| API Call | Subscribed Institution Accounts | Subscribed Researcher Accounts | Confirmed Community Accounts | Certified Integration Partner Accounts | Unsubscribed, Unconfirmed, Uncertified Accounts or Unauthorized Users (no API key) |
|---|---|---|---|---|---|
| API Overview | ✔ | ✔ | ✔ | ✔ | ✔ |
| Open to Collaborate Notice | ✔ | ✔ | ✖️ | ✔ | ✖️ |
| Project List | ✔ All account’s Projects 1 ✔ All Public Projects 3 | ✔ All account’s Projects 1 ✔ All Public Projects 3 | ✔ All account’s Projects 1 ✔ All Public Projects 3 | ✔ All connected account’s Projects 2 ✔ All Public Projects | ✖️ |
| Project Detail and Multi-Project Detail | ✔ All account’s Projects 1 | ✔ All account’s Projects 1 | ✔ All account’s Projects 1 | ✔ All connected account’s Projects 2 ✔ All Public Projects | ✖️ |
1 Account’s Projects include any Projects created by the account as well as any Projects the account was added to as a contributor.
2 Any accounts connected to an Integration Partner’s account can select what Projects can be visible to an Integration Partner.
3 Public Projects can be shown independently using the `public_only` query parameter.
When using the API to display the Notices and Labels, the following guidelines need to be followed:
More detailed information about displaying the notices can be found in the Engagement and Disclosure Notices Usage and Style Guide.
While the Label Icon may be displayed in isolation (or with one or both Titles), both Titles and the Customized Description should always be easily accessible as well. This could include providing:
More detailed information about displaying the notices can be found in the Traditional Knowledge/Biocultural Labels Usage and Style Guide.
Any updates done in the Hub are updated through the API instantly and automatically. In order to update any external records connected to the API, regular updates should be scheduled or manually run periodically.
Sometimes the Local Contexts Hub or the test site will go into Maintenance Mode. If you try to access either of these sites, including the API, and you see an error page with a code of 503: Service Unavailable, it means that our developers are working hard to fix known issues or update the Hub. Some maintenance is planned. See the Hub Service Schedule for the next scheduled maintenance times.
The best times to schedule automatic PULLs from the API would be between 12:00am-4:00am Pacific Time.