Ship sales, purchase, and demolition records
Changed onReturns transaction records: seller, buyer, sale price (total and per LDT), sales type, and dry dock dates at time of sale.
Credit cost: 1 per record returned. Requires an Add-Ons plan tier.
For a bulk export, POST to /api/v0/report with report_type: sales_purchase_demolitions. Bulk reports cost 2,000 credits each.
Request
- Base URLhttps://api.datalastic.com
- Auth
- API key in header x-api-key
- or API key in query parameter api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
IMO vessel number.
Vessel name.
Start of sales report date range (yyyy-mm-dd).
End of sales report date range (yyyy-mm-dd).
Response
Matching sale/demolition records.
Example response
{
"data": [
{
"id": 2,
"sales_report_date": "2023-09-04",
"imo": "9104586",
"vessel_name": "ONE HAPPY",
"flag_name": "Panama",
"vessel_type_code": "Bulk",
"built_year": "1995",
"dwt_design": 45455,
"gt": 26091,
"ldt": 7726,
"seller": "One Navigation Denizcilik AS",
"buyer": "Indian Breakers",
"sales_price_usd/ldt": 498,
"destination": "India",
"sales_type": "Sold for demo",
"dry_dock_date": "2020-07-31",
"special_survey_date": "2025-07-31",
"modified_at": "2023-09-04T00:00:00Z"
}
],
"meta": {
"duration": 0.012,
"endpoint": "/api/v0/vessel",
"success": true,
"next": "00e32b7a-4067-d6b2-8d73-2bdda4fe72bb"
}
}Changes
- warning
deleted the
queryrequest parameterapi-key - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
/to the response with the status
- warning