Features

API

Agent Crop has an API that returns JSON data containing details about the disease, symptoms, and its possible cures. So you can implement it in your own systems.

You can access the API at: https://agentcrop.com/api/detect/[crop]/[lang]

Note:
  • Replace the [crop] with the crop name like apple, corn, etc.
  • Replace [lang] with language locales like en, hi and gu. Currently, we only support English, Hindi and Gujarati.
  • It only accepts POST requests and you will have to submit the images as the form data.
  • It should have 'enctype="multipart/form-data"' attribute in the form tag and the name of the field must be 'files' to be accepted by the endpoint.
Here is the Demo of API Implementation: https://codefile.io/f/t6ozJ5Aqxf

*You must take prior permission before implementing the API. Contact us at: [email protected]