Skip to main content
VerifyAll logo
LiveInstant answerSandbox

Farmer Verification API

Confirm that a person is a registered farmer in a state: name, registration and approval status, farmer ID, central ID and enrolment date.

The documentation opens in the VerifyAll dashboard after sign-in, for accounts with approved API access. New to the API? Start with the developer guide.

Overview

What the Farmer Verification API does

Agri lenders, input companies and rural platforms often need to know that the person in front of them is a registered farmer. The Farmer Verification API looks up a person’s farmer registration in the state you choose and answers with the farmer’s name, whether the registration reads as registered, the registration and approval status as recorded, the farmer’s ID in the state and their central ID, and the enrolment and verification dates.

The person is identified by a 12-digit identity number and the state; only the number’s last 4 digits are ever returned or kept. Send the name you were given and name_match compares it with the farmer’s name on the registration. The person’s consent is required on every request.

How it works

  1. 1

    Your server sends POST /universal/farmer-verification with the aadhaar_number, the two-letter state_code, the person’s consent and, if you like, the name to compare and a client_ref.

  2. 2

    The request is checked first: a malformed number, an unknown state code or a missing consent object is refused with a 400 before anything runs or is charged.

  3. 3

    The registration is checked against live records and the answer comes back in the same call, usually within about 8 seconds.

  4. 4

    The result is stored with a checkResultId, with only the last 4 digits of the number kept, so you can read it again and download the PDF report.

Request and response

Farmer verification API endpoints and fields

The main fields; the full reference with every field, error code and a cURL sample is in the dashboard docs.

Endpoints
EndpointWhat it does
POST/universal/farmer-verificationA person’s farmer registration in a state, with status and IDs

Request fields

Farmer Verification API request fields
FieldWhat it is
aadhaar_numberRequiredThe farmer’s 12-digit identity number (spaces allowed). Only its last 4 digits are ever returned or kept.
state_codeRequiredThe two-letter code of the state to look in, from the list in the API reference, for example mh or up.
consentRequiredobtained (must be true) and purpose (why the check is run, up to 200 characters). The person’s consent is required.
nameOptionalOptional. The name to compare with the farmer’s name on the registration; sets name_match.
client_refOptionalYour own reference, stored with the result (up to 100 characters).

What the answer returns

Farmer Verification API answer fields
FieldWhat it is
farmer_name / name_matchThe farmer’s name on the registration, and how the name you sent compares, with a score.
registeredWhether the registration status reads as registered.
registration_status / approval_statusAs recorded, for example Registered - Active and APPROVED.
farmer_id / central_idThe farmer’s number in the state and their central ID.
enrolled_on / verified_onThe enrolment date and the date the registration was verified, YYYY-MM-DD.
state / aadhaar_last4The state looked in, and the last 4 digits of the number sent.

Base URL https://api.verifyall.ai. Authenticate with the X-API-Key header (a va_sandbox_ or va_live_ key). Every answer carries data, status_code, success, message and message_code; checks add outcome, checkResultId, charged and charged_amount.

Key features

Farmer Verification API features and capabilities

  • Registered or not, at a glance

    registered is a plain true or false, with the statuses as recorded beside it.

  • Farmer and central IDs

    Keep the farmer’s IDs on file for scheme, subsidy and loan records.

  • Only the last 4 digits kept

    The full number is never returned or stored; results and reports show its last 4 digits.

  • Name compared for you

    Send the name on the application and read a graded match with a score.

Use cases

Where businesses use the Farmer Verification API

  • Agri and crop loans

    Confirm that a borrower is a registered farmer before a crop or tractor loan.

  • Agri input sales

    Check farmer status before offering farmer-only prices or credit.

  • Crop insurance

    Confirm the proposer’s farmer registration at enrolment.

  • Rural onboarding

    Add farmer status to the KYC of rural customers and partners.

Industries

Coverage

Farmer registrations in India, in the states whose code the API reference lists; one state per request.

Limitations to plan for

  • One state per request: send the state where the farmer is registered.
  • The answer confirms a farmer registration; it does not show land holdings.
  • A person with no registration in that state answers record_not_found. The lookup ran, so it is charged like any completed check.

Integration

How to integrate the Farmer Verification API

From a business account to your first live call.

  1. Step 1

    Create a business account on VerifyAll and get it approved, as for running checks in the dashboard.

  2. Step 2

    Request Developer API access under Developers in the dashboard: the APIs you need, your expected monthly volume and your use case. The VerifyAll team reviews it and shares the API Services Agreement.

  3. Step 3

    Once the agreement is signed and access is approved, create your Sandbox key and build against sample data. Sandbox calls are never charged.

  4. Step 4

    Create your Production key, recharge your wallet and switch the key in your code: the endpoint and fields stay the same.

Get started

Request access to the Farmer Verification API

Tell us what you want to verify. We reply within one business day with access steps, Sandbox details and your API pricing.

Tell us about your integration

Tell us what you want to verify and how many checks you expect. Our team replies within one business day with access steps, Sandbox details and your API pricing.

We use these details only to reply to your request. See our privacy policy.

  • Contact sales

    Questions on volumes, onboarding or the API agreement.

    Contact sales
  • View API documentation

    The full reference for Farmer Verification API (endpoints, fields, errors, cURL) opens in the dashboard once your access is approved.

    Open the docs (sign-in)
  • Create a business account

    API keys are issued to an approved business account. Sign up, then request access under Developers.

    Create account

Pricing

Production calls are charged per check from your prepaid VerifyAll wallet, at your account’s API price; GST is added separately when you recharge. Sandbox calls are never charged. Your API prices are shown in the dashboard once access is approved. How pricing works

Already have a business account? Sign in to request access

Farmer Verification API: frequently asked questions

Answers for teams planning an integration.

#
#

Still have questions? Our team is happy to help.

Contact Support
  • Send a mobile number, with the person’s consent, and get back the KYC details on record for it to prefill your form.

  • PAN Verification API

    LiveInstant answer

    Confirm a PAN exists, see who holds it and match the name and date of birth your customer typed, in one call.

  • Send an account number and IFSC and learn whether the account can receive money and whose name it is in, before any money moves.

All other verifications APIsRun Farmer verification in the dashboard, without codeBrowse the API Marketplace

Start with the Farmer Verification API

Request access, build against the Sandbox, then go live with your Production key.