API Sathi docs
← All products

Vehicle RC Verification

kyc

Fetch RC (Registration Certificate) details for a vehicle from VAHAN.

POST /gw/v1/vehicle-rc-v1/SLA p95: 2000 ms

Authentication

Pass your key in the X-API-Key header. Use a test_ key against the sandbox and a live_ key in production. Send an optional Idempotency-Key header to safely retry — the same key returns the same response for 24h.

X-API-Key: live_xxxxxxxxxxxx

Request

Endpoint: POST https://apisathi.dsasathi.com/gw/v1/vehicle-rc-v1

FieldTypeRequiredConstraints
rc_numberstringrequiredpattern: ^[A-Z]{2}[0-9]{1,2}[A-Z]{0,3}[0-9]{1,4}$

Code snippets

curl -X POST https://apisathi.dsasathi.com/gw/v1/vehicle-rc-v1/ \
  -H "X-API-Key: $API_SATHI_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"rc_number":"RJ14CV0002"}'

Response

FieldTypeRequiredConstraints
verifiedbooleanoptional
fuel_typestringoptional
rc_numberstringoptional
owner_namestringoptional
maker_modelstringoptional
fitness_uptostringoptionalformat: date
vehicle_classstringoptional
insurance_uptostringoptionalformat: date
registration_datestringoptionalformat: date

Sample response

{
  "verified": true,
  "fuel_type": "PETROL",
  "rc_number": "RJ14CV0002",
  "owner_name": "AMIT KUMAR",
  "maker_model": "MARUTI SWIFT VXI",
  "fitness_upto": "2034-08-20",
  "vehicle_class": "LMV",
  "insurance_upto": "2026-08-20",
  "registration_date": "2019-08-21"
}

Error codes

CodeHTTPWhen
INVALID_INPUT422Request body failed schema validation.
INVALID_API_KEY401Missing, malformed, or revoked X-API-Key.
OUT_OF_SCOPE403API key is not scoped for this product.
INSUFFICIENT_BALANCE402Wallet balance is below the per-call sale price.
RATE_LIMITED429Per-key RPS or RPM limit exceeded. See Retry-After.
ROUTER_NO_VENDOR503No healthy vendor is currently available for this product.
VENDOR_AUTH_FAILED502Upstream vendor rejected our credentials.
VENDOR_ERROR502Upstream vendor returned an unexpected error.
TIMEOUT504Upstream vendor did not respond within the SLA window.

OpenAPI 3.1

Generated from this product's request/response JSON Schemas.

{
  "openapi": "3.1.0",
  "info": {
    "title": "API Sathi — Vehicle RC Verification",
    "version": "1.0.0",
    "description": "Fetch RC (Registration Certificate) details for a vehicle from VAHAN."
  },
  "servers": [
    {
      "url": "https://apisathi.dsasathi.com/gw/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key",
        "description": "Your live or test key, e.g. `live_xxxxxxxxxxxx`."
      }
    }
  },
  "paths": {
    "/vehicle-rc-v1": {
      "post": {
        "operationId": "vehicleRcV1",
        "tags": [
          "kyc"
        ],
        "summary": "Vehicle RC Verification",
        "description": "Fetch RC (Registration Certificate) details for a vehicle from VAHAN.",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional. Same key returns the same response for 24h."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "rc_number"
                ],
                "properties": {
                  "rc_number": {
                    "type": "string",
                    "pattern": "^[A-Z]{2}[0-9]{1,2}[A-Z]{0,3}[0-9]{1,4}$"
                  }
                },
                "additionalProperties": false
              },
              "example": {
                "rc_number": "RJ14CV0002"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful, normalized response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "verified": {
                      "type": "boolean"
                    },
                    "fuel_type": {
                      "type": "string"
                    },
                    "rc_number": {
                      "type": "string"
                    },
                    "owner_name": {
                      "type": "string"
                    },
                    "maker_model": {
                      "type": "string"
                    },
                    "fitness_upto": {
                      "type": "string",
                      "format": "date"
                    },
                    "vehicle_class": {
                      "type": "string"
                    },
                    "insurance_upto": {
                      "type": "string",
                      "format": "date"
                    },
                    "registration_date": {
                      "type": "string",
                      "format": "date"
                    }
                  }
                },
                "example": {
                  "verified": true,
                  "fuel_type": "PETROL",
                  "rc_number": "RJ14CV0002",
                  "owner_name": "AMIT KUMAR",
                  "maker_model": "MARUTI SWIFT VXI",
                  "fitness_upto": "2034-08-20",
                  "vehicle_class": "LMV",
                  "insurance_upto": "2026-08-20",
                  "registration_date": "2019-08-21"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked X-API-Key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "Wallet balance is below the per-call sale price.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "API key is not scoped for this product.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Request body failed schema validation.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Per-key RPS or RPM limit exceeded. See Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "502": {
            "description": "Upstream vendor rejected our credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "No healthy vendor is currently available for this product.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Upstream vendor did not respond within the SLA window.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}