induwara.lkinduwara.lk
All endpoints
GET/api/v1/convert/land

Land Area Converter API

Convert a Sri Lankan land area between perch, rood, acre, cent, hectare, m², ft² and yd², with acre-rood-perch deed notation.

Parameters

ParamInRequiredDescription
valuequeryyesThe amount to convert.
fromqueryyesSource unit: perch | sqft | sqm | sqyd | rood | acre | hectare | cent.

Request

curl "https://induwara.lk/api/v1/convert/land?value=10&from=perch"

JavaScript (SDK):

import { InduwaraLK } from "https://induwara.lk/sdk/induwaralk.js";
const api = new InduwaraLK();
const data = await api.convertLand(/* … */);

Response

{
  "ok": true,
  "data": {
    "value": 10, "from": "perch", "squareMetres": 252.9285264,
    "values": { "perch": 10, "acre": 0.0625, "rood": 0.25, "hectare": 0.0253 },
    "deed": { "acres": 0, "roods": 0, "perches": 10, "text": "0A-0R-10.0P" }
  }
}

Frequently asked questions

How do I convert perches to square metres or acres via API?
GET /api/v1/convert/land?value=10&from=perch returns the area in every unit — perch, rood, acre, cent, hectare, m², ft², yd² — plus acre-rood-perch deed notation.