London Diamond Exchange

LDE Data API – Report 3

Retrieve data report 3 API.

Overview: In this API you will send an HTTP request with a date for which you want the report. You will get back a zipped CSV file. The file creation process may take a few minutes.

Input Parameters

Note: you must use a valid Api Key that provides access to this service.
There are many possible parameters for this endpoint. The input can either be abbreviated or fully named. All filters are case-insensitive.
SectionsFormatMandatory
authentication_detailsJSON ObjectYes
parametersJSON ObjectYes
Authentication ParameterExampleFormatMandatory
api_keyHNNSSA1223311StringYes
api_secretDDccdaaedf123StringYes

Parameter object:

ParameterDetailsFormat
report_dateString of date. Format “yyyy-MM-dd” E.g 2021-07-24.
Dates available according to service contract.
String

Error Codes

Common error codes

2001

Missing authentication section in JSON

2002

Missing paramaters section in JSON

3112

Missing required fields

3113

Date in wrong format

3114

Report not available

3115

Report date not available per service agreement

Sample Request

HTTP JSON

Endpoint: https://api.idexonline.com/idexdataapi/api/getreport3

{
    "authentication_details": {
        "api_key":"yourapikeyhnnGsa1223311",
        "api_secret":"yourapisecretbDccDaaedf123"
    },
    "parameters": {
        "report_date": "2021-01-18"
    }
}

Sample Response

JSON Data / Zipped CSV
The response will be JSON if there is an error, and a filestream if all is good.
		

CSV Format

CSV
IdGrading LabShapeCaratColorClarityMake (Cut Grade)PolishSymmetryFluorescence IntensityPrice Per Carat USDTotal Price USDCountryDayMonthYear
1333119260GIARound0.4GSI1ExcellentExcellentExcellentNone948379.2Belgium2112020
1223319261GIARound0.51MSI1Very GoodExcellentExcellentFaint1620648Hong Kong2112020
1383321263GIARound0.62HSI2Very GoodVery GoodVery GoodFaint1463585.2Hong Kong211