@121244 נסה לעשות את זה כך
$jsonData מכיל את התגובה
<?php
$jsonData = '{"help": "https://data.gov.il/api/3/action/help_show?name=datastore_search", "success": true, "result": {"include_total": true, "limit": 1, "records_format": "objects", "resource_id": "2de7b543-e13d-4e7e-b4c8-56071bc4d3c8", "total_estimation_threshold": null, "records": [{"_id":1,"Survey_Date":"2023 -09-03T00:00:00","Kinneret_Level":-211.030}], "fields": [{"id": "_id", "type": "int"}, {"id": "Survey_Date" , "type": "timestamp", "info": {"label": "", "notes": "", "type_override": "timestamp"}}, {"id": "Kinneret_Level", "type" : "numeric", "info": {"label": "", "notes": "", "type_override": ""}}], "_links": {"start": "/api/3/action /datastore_search?resource_id=2de7b543-e13d-4e7e-b4c8-56071bc4d3c8&limit=1", "next": "/api/3/action/datastore_search?resource_id=2de7b543-e13d-4e7e-b4c8-56071bc4d3c8&limit=1&offset=1"}, "total": 10277, "total_was_estimated": false}}';
$data = json_decode($jsonData, true);
$kinneretLevel = $data['result']['records'][0]['Kinneret_Level'];
echo "Kinneret_Level: " . $kinneretLevel;
?>