Agrigate's Data API provides access to agriculture data across integrated industry partners.
We use OAuth2 for authentication, so you will need a valid client id and client secret to get an access token.
The authentication endpoint is
https://auth.api-dev.agrigate.co.nz?grant=client_credentias&client_id=<YOUR_CLIENT_ID>&secret
=<YOUR_CLIENT_SECRET>
Once you get you access token, you will need to send it in the Authorization
header as follows:
Authorization: Bearer <YOUR_TOKEN>
Security scheme type: | https |
---|
/integrations
integrations/read
integrations/list
) limit | integer The maximum amount of results returned. (Default 10) |
next | string Start results from this last evaluated key. |
type | string Request results of a specific type. |
Successful Integration endpoint data response.
Agrigate integrations not found.
Production server
User Acceptance Testing server
/animal-health
animal-health/read
animal-health/list
) customer_id required | string Unique ID for data partner customer. |
target required | string Request mapped animal health records by data partner resource. |
deleted | boolean Specifies whether deleted records will be included in the results (Default false) |
limit | integer The maximum amount of results returned. (Default 10) |
modified_since | integer Request records modified by the data provider since this UNIX timestamp. |
next | string Start results from this last evaluated key. |
Successful Animal health endpoint data response.
Agrigate integration not found.
Production server
User Acceptance Testing server
/milk-production-quality
milk-production-quality/read
milk-production-quality/list
) customer_id required | string Unique ID for data partner customer. |
target required | string Request mapped animal health records by data partner resource. |
limit | integer The maximum amount of results returned. (Default 10) |
modified_since | integer Request records modified by the data provider since this UNIX timestamp. |
next | string Start results from this last evaluated key. |
Successful Milk production quality endpoint data response.
Agrigate integration not found, no available assets found or invalid scope provided.
Production server
User Acceptance Testing server