GET /metagenomics/api/v1/samples/ERS20405037?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "data": {
        "type": "samples",
        "id": "ERS20405037",
        "attributes": {
            "longitude": 12.096,
            "biosample": "SAMEA7934735",
            "latitude": -21.852,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "12.096",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Atlantic Ocean",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2022-05-26T12:06:00Z",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "25/35",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-21.852",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                }
            ],
            "accession": "ERS20405037",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "This marine metagenome sample was collected during campaign Flagship-MMA-Topical-Study_Benguela-Current-Ecosystem_Lesley-Shackleton on date/time 2022-05-26T12:06:00Z, at location 21.8520 S 12.0960 E and depth (m)=25/35, using protocol S023 with sample pid SAMEA7934735",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "SAMPLE_20220526T1202Z_MMA-122_EPI_ROSETTE_S023_SAMEA7934735",
            "sample-alias": "SAMPLE_20220526T1202Z_MMA-122_EPI_ROSETTE_S023_SAMEA7934735",
            "host-tax-id": null,
            "species": null,
            "last-update": "2025-11-25T23:17:55"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS20405037/studies?format=api"
                },
                "data": []
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS20405037/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS20405037?format=api"
        }
    }
}