1. Risk Intelligence
  • Default module
    • Introduction to IndiConnect
      • Who Are We?
      • What Are We Building?
      • Key Features
      • How to Integrate?
      • Key API Features
      • API Access & Support
    • Merchant Onboarding Guide
      • Merchant Onboarding
        • Pre-onboarding-Checks
        • Reasons for Declination
        • KYC-Documents
      • How to get started?
        • Sign-up
        • Email-ID-Verification
        • Complete-Your-KYC
    • Co-operatives
      • Bizstack
        • Credit Reports
          • CRIF-SERVICE
            • send consent otp
            • report fetch API
          • Experian (Soft Pool)
            • Experian Credit Bureau_S
        • Verification Services
          • Identity Verification
            • Voter ID Verification
            • Driving License Verification
            • Mobile Verification
            • Mobile Verification with OTP
            • Mobile Verification with OTP Verify
            • Mobile Verification with OTP details
            • TAN verification_S
            • ITR Fetch_S
            • ITR Verification_S
            • Face Liveness Passive
            • Advanced Forgery_S
            • IEC Verification
            • Shop and Establishment certificate verification
            • Negative Due Diligence_S
            • ICSI verification
            • CA Membership verification
            • ICWAI Membership verification
          • Business Verification
            • Udyam Registration Check With OTP
            • Udyam Verification Otp Verify
            • Udyam Verification Without OTP
            • MCA - Company or LLP CIN Lookup
            • MCA - Company Search Lite
            • MCA Signatories(DIN Verification)
            • Company and LLP Master Data
            • ROC Director search _S(DIN Director Details)
          • Banking & Financial Verification
            • Bank Account Verification - PennyDrop
            • Bank AC Verification
            • Bank AC Verification Advanced
            • Hybrid Bank Account Verification_S
            • Silent account verification
            • IFSC
            • Cheque OCR
            • Experian Credit Bureau_S
          • Employment / EPFO Verification
            • EPFO Employee Name Search_S
            • EPFO Basic Establishment Search_S
            • EPF UAN Lookup
            • EPF UAN Validation
          • Vehicle & Transport Verification
            • Vehicle RC verification - Basic
            • Vehicle RC verification - Advanced
            • Vehicle reverse RC_S
            • Fast Tag Verification_S
            • FASTTAG Last Location Verification_S
          • Risk Intelligence
            • Geo Fencing_S
            • Reverse Geocode_S
            • IP Quality Check_S
            • TIN Fetch_S
          • Utilities & Property Verification
            • PNG verification
            • Property Tax
          • DigiLocker / Token Management
          • DigiLocker Document Retrieval
          • Face & Document Intelligence
            • Face Match
            • KYC OCR Plus
          • Email & Fraud Risk
            • Email Verification
            • Email Fraud Check
          • Address Intelligence
            • Address Match
            • Address split
          • Data Matching & Validation
            • Name Match
          • Utility Verification
            • Electricity Bill verification
            • LPG ID Verification
        • ID-Verification
          • Individual
            • PAN detailed
            • document verification
            • bank verification
            • vpa verification
            • aadhaar verification
            • aadhaar verification response
          • Business
            • PAN detailed
            • document verification
            • udyam send otp
            • udyam submit otp
            • gamex verification
            • telecom send otp
            • telecom verify otp
      • Pay-in Services
        • Indicollect
          • Create Collect request API
          • Create Intent Request
          • Create Dynamic QR request
          • Validate VPA
          • Get Collect status API by transactionId
          • Resend callback API
        • UPI-Direct
          • Get transaction status by INDC transactionId
          • Send collect request
          • intent request API
          • Dynamic QR API
          • Validate VPA API
          • Transaction callback
      • UPI Recurring Services
        • Create Mandate
        • Validate VPA
        • Get all transaction of a mandate
        • Get one mandate of client
        • Mandate revoke
        • Check status
        • Mandate Transaction callback
      • IndiConnect Static QR
        • Merchant Onboarding CALLBACK
        • Trasaction Success Callaback
        • Settlement Callback
        • Get Transaction Details
        • Get Settlement Details by Indiconnet Settlemt Id
    • SME
      • Bizstack
        • Credit Reports
          • CRIF-SERVICE
            • send consent otp
            • report fetch API
          • Experian (Soft Pool)
            • Experian Credit Bureau_S
        • Verification Services
          • Identity Verification
            • Voter ID Verification
            • Driving License Verification
            • Mobile Verification
            • Mobile Verification with OTP
            • Mobile Verification with OTP Verify
            • Mobile Verification with OTP details
            • TAN verification_S
            • ITR Fetch_S
            • ITR Verification_S
            • Face Liveness Passive
            • Advanced Forgery_S
            • IEC Verification
            • Shop and Establishment certificate verification
            • Negative Due Diligence_S
            • ICSI verification
            • CA Membership verification
            • ICWAI Membership verification
          • Business Verification
            • Udyam Registration Check With OTP
            • Udyam Verification Otp Verify
            • Udyam Verification Without OTP
            • MCA - Company or LLP CIN Lookup
            • MCA - Company Search Lite
            • MCA Signatories(DIN Verification)
            • Company and LLP Master Data
            • ROC Director search _S(DIN Director Details)
          • Banking & Financial Verification
            • Bank Account Verification - PennyDrop
            • Bank AC Verification
            • Bank AC Verification Advanced
            • Hybrid Bank Account Verification_S
            • Silent account verification
            • IFSC
            • Cheque OCR
            • Experian Credit Bureau_S
          • Employment / EPFO Verification
            • EPFO Employee Name Search_S
            • EPFO Basic Establishment Search_S
            • EPF UAN Lookup
            • EPF UAN Validation
          • Vehicle & Transport Verification
            • Vehicle RC verification - Basic
            • Vehicle RC verification - Advanced
            • Vehicle reverse RC_S
            • Fast Tag Verification_S
            • FASTTAG Last Location Verification_S
          • Risk Intelligence
            • Geo Fencing_S
              POST
            • Reverse Geocode_S
              POST
            • IP Quality Check_S
              POST
            • TIN Fetch_S
              POST
          • Utilities & Property Verification
            • PNG verification
            • Property Tax
          • DigiLocker / Token Management
          • DigiLocker Document Retrieval
          • Face & Document Intelligence
            • Face Match
            • KYC OCR Plus
          • Email & Fraud Risk
            • Email Verification
            • Email Fraud Check
          • Address Intelligence
            • Address Match
            • Address split
          • Data Matching & Validation
            • Name Match
          • Utility Verification
            • Electricity Bill verification
            • LPG ID Verification
        • ID-Verification
          • Individual
            • PAN detailed
            • document verification
            • bank verification
            • vpa verification
            • aadhaar verification
            • aadhaar verification response
          • Business
            • PAN detailed
            • document verification
            • udyam send otp
            • udyam submit otp
            • gamex verification
            • telecom send otp
            • telecom verify otp
      • Payout Services
        • VA Payout
          • Add Beneficiary Bank Account
          • Direct Payout Account API
          • Direct Payout VPA API
          • Add Beneficiary VPA
          • Create Transfer To Bank Account
          • Create Transfer to VPA
          • Get All Beneficiary API
          • Get All Transfer Details
          • Get Transfer Detail by Transfer Id
          • Get Payout Wallet Balance
          • Download Account Statement of virtual wallet
          • Get Account Statement of virtual wallet
          • Delete Beneficiary API
          • Resend Callback API
          • Verify VPA API
          • Callback request body
        • Payout
          • Add Beneficiary Bank Account
          • Direct Payout Account API
          • Create Transfer To Bank Account
          • Get Transfer Detail by Transfer Id
          • Get Account Balance API
          • Transaction callback
      • Pay-in Services
        • Indicollect
          • Create Collect request API
          • Create Intent Request
          • Create Dynamic QR request
          • Validate VPA
          • Get Collect status API by transactionId
          • Resend callback API
        • UPI-Direct
          • Get transaction status by INDC transactionId
          • Send collect request
          • intent request API
          • Dynamic QR API
          • Validate VPA API
          • Transaction callback
  1. Risk Intelligence

Geo Fencing_S

POST
https://api.staging.indiconnect.in/idverifygr/verification
Last modified:2026-04-02 13:32:50
The Geo Fencing API enables organizations to perform IP-based geolocation verification and risk assessment by analyzing the geographic location of a user or system.
It provides precise insights into the origin of an IP address, helping identify potential mismatches or suspicious activity.
It is designed to assist businesses in fraud prevention, location validation, compliance enforcement, and risk analysis.
By integrating this API, organizations can validate whether a userโ€™s location aligns with expected geographic boundaries and detect high-risk IP activity.
The API uses a GraphQL mutation request sent through an HTTP POST method and returns structured data containing
IP location details, geolocation coordinates, timezone, and risk indicators associated with the provided IP address.

Request Headers#

HeaderDescription
myAppIdApplication identifier used for service authentication
service-keyUnique service key provided for accessing the verification service
AuthorizationAPI authorization credentials for secure access
Content-TypeSpecifies the request payload format (application/json)

Request Parameters#

ParameterTypeDescription
idNumberStringIP address used as a unique identifier for geolocation verification
ipStringIP address to retrieve geolocation details
countryStringExpected country code (e.g., IN for India)
stateStringExpected state code (e.g., MH for Maharashtra)
taskStringSpecifies the operation type (geoFencing)
documentTypeStringSpecifies the verification type (Geo Fencing_S)

Response Fields#

FieldDescription
okIndicates whether the verification was successful (true / false)
messageStatus message describing the verification result
result.taskType of task performed (geoFencing)
result.idUnique identifier for the request
result.patron_idInternal reference ID for tracking
result.essentials.ipIP address used in the request
result.essentials.countryExpected country provided in input
result.essentials.stateExpected state provided in input
result.data.ipResolved IP address
result.data.countryDetected country name
result.data.country_codeDetected country code
result.data.stateDetected state name
result.data.state_codeDetected state code
result.data.cityDetected city of the IP location
result.data.zip_codePostal/ZIP code of the location
result.data.timezoneTimezone associated with the IP location
result.data.latitudeLatitude coordinate of the location
result.data.longitudeLongitude coordinate of the location
result.data.asnAutonomous System Number associated with the IP
result.data.risk_ipIndicates whether the IP is flagged as risky (true / false)
result.data.valid_userIndicates whether the user is considered valid based on geolocation checks
errorContains error details if verification fails

Use Cases#

  • Fraud detection using IP location mismatch
  • Geo-restriction enforcement for applications
  • User location validation during onboarding
  • Risk scoring based on IP intelligence

Key Benefits#

  • Accurate IP-based geolocation insights
  • Enhanced fraud detection capabilities
  • Supports real-time risk assessment
  • Easy integration for location-based services

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

๐ŸŸข200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.staging.indiconnect.in/idverifygr/verification' \
--header 'myAppId: verification_v4_app' \
--header 'service-key: sk_test_a9944179bc598f06' \
--header 'Authorization: x-api-access indc_test_a41eaf2a175f3b13:ac_test_bf7117f6da6c6285' \
--header 'Content-Type: application/json' \
--data-raw '{
    "query": "mutation {\r\n  verify(\r\n    input: {\r\n      documentType: \"Geo Fencing_S\"\r\n      idNumber:\"27.107.46.10\"\r\n      task: \"geoFencing\"\r\n      ip: \"27.107.46.10\"\r\n      country: \"IN\"\r\n      state: \"MH\"\r\n    }\r\n  ) {\r\n    ok\r\n    message\r\n    result {\r\n      __typename\r\n      ... on RiskScoreGeoFencingResult {\r\n        task\r\n        id\r\n        patron_id\r\n\r\n        essentials {\r\n          ip\r\n          country\r\n          state\r\n          patron_id\r\n        }\r\n\r\n        data {\r\n          ip\r\n          country\r\n          country_code\r\n          state\r\n          state_code\r\n          city\r\n          zip_code\r\n          timezone\r\n          latitude\r\n          longitude\r\n          asn\r\n          risk_ip\r\n          valid_user\r\n        }\r\n    \r\n      }  \r\n    }\r\n    error {\r\n      status\r\n      message\r\n      decryptedError\r\n    }\r\n  }\r\n}\r\n",
    "variables": {}
}'
Response Response Example
{
    "data": {
        "verify": {
            "ok": true,
            "message": "Verification completed successfully",
            "result": {
                "__typename": "RiskScoreGeoFencingResult",
                "task": "geoFencing",
                "id": "69c66ac603d4830023207700",
                "patron_id": "64d49c02980af6002257a42e",
                "essentials": {
                    "ip": "27.107.46.10",
                    "country": "IN",
                    "state": "MH",
                    "patron_id": "64d49c02980af6002257a42e"
                },
                "data": {
                    "ip": "27.107.46.10",
                    "country": "INDIA",
                    "country_code": "IN",
                    "state": "TAMIL NADU",
                    "state_code": "TN",
                    "city": "CHENNAI",
                    "zip_code": "600006",
                    "timezone": "IST, Asia/Kolkata",
                    "latitude": 13.0524087,
                    "longitude": 80.250942,
                    "asn": "17762",
                    "risk_ip": false,
                    "valid_user": false
                }
            },
            "error": null
        }
    }
}
Modified atย 2026-04-02 13:32:50
Previous
Risk Intelligence
Next
Reverse Geocode_S
Built with