Getting Article List
Retrieve a paginated list of articles with their details
GET Endpoint:
https://org-api.deedraft.com/api/stamp-duty-datas?pagination[page]=1&pagination[pageSize]=25&sort[0]=purpose_name%3AascDescription
Section titled “Description”This endpoint retrieves a paginated list of stamp duty articles with their complete details including tax information, service charges, and other metadata.
Query Parameters
Section titled “Query Parameters”| Parameter | Type | Description |
|---|---|---|
pagination[page] | number | Page number (starts from 1) |
pagination[pageSize] | number | Number of articles per page |
sort[0] | string | Sort field and order (e.g., purpose_name:asc) |
Response Fields
Section titled “Response Fields”Each article object contains:
| Field | Type | Description |
|---|---|---|
id | number | Unique numeric identifier |
documentId | string | Unique document identifier |
purpose_name | string | Name/purpose of the article |
state | string | State for which the article applies |
min | number | Minimum amount (in base currency) |
max | number | Maximum amount (in base currency) |
fixed | number | null | Fixed stamp duty amount |
toFollowConsiderationPrice | boolean | Whether to follow consideration price |
amountPercentConsideration | number | null | Amount percentage consideration |
Example Response
Section titled “Example Response”{ "data": [ { "id": 41, "documentId": "im84y4l1yxtgft1bgnk73cg4", "purpose_name": "LLP (Limited Liability Partnership)- conversion of LLP into firm, a private limited company or an unlisted public limited company (ii),- where on conversion immovable property vests in resultant entity (a) [35-B(1)(a)]", "state": "Rajasthan", "fixed": null, "max": 25000000, "min": 10, "toFollowConsiderationPrice": true "amountPercentConsideration": 0.5, } ], "meta": { "pagination": { "page": 1, "pageSize": 25, "pageCount": 3, "total": 70 } }}Pagination Meta
Section titled “Pagination Meta”The response includes pagination metadata:
| Field | Type | Description |
|---|---|---|
page | number | Current page number |
pageSize | number | Number of items per page |
pageCount | number | Total number of pages |
total | number | Total number of articles |
Example Usage
Section titled “Example Usage”Using cURL
Section titled “Using cURL”curl -X GET "https://org-api.deedraft.com/api/stamp-duty-datas?pagination[page]=1&pagination[pageSize]=25&sort[0]=purpose_name%3Aasc"Using Fetch API
Section titled “Using Fetch API”fetch( "https://org-api.deedraft.com/api/stamp-duty-datas?pagination[page]=1&pagination[pageSize]=25&sort[0]=purpose_name%3Aasc") .then((response) => response.json()) .then((data) => console.log(data)) .catch((error) => console.error("Error:", error));Using Axios
Section titled “Using Axios”import axios from "axios";
axios .get( "https://org-api.deedraft.com/api/stamp-duty-datas?pagination[page]=1&pagination[pageSize]=25&sort[0]=purpose_name%3Aasc" ) .then((response) => console.log(response.data)) .catch((error) => console.error("Error:", error));Using Python
Section titled “Using Python”import requests
url = "https://org-api.deedraft.com/api/stamp-duty-datas?pagination[page]=1&pagination[pageSize]=25&sort[0]=purpose_name%3Aasc"response = requests.get(url)data = response.json()print(data)