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

{
    "data": {
        "type": "samples",
        "id": "ERS20394856",
        "attributes": {
            "biosample": "SAMEA7918646",
            "longitude": 6.3989,
            "latitude": -38.181,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "6.3989",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Atlantic Ocean",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2022-04-09T07:09:00Z",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "1/5",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-38.181",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                }
            ],
            "accession": "ERS20394856",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "This marine metagenome sample was collected during campaign Flagship-MMA-Topical-Study_Mesoscale-sub-Mesoscale_Emmy-Noether on date/time 2022-04-09T07:09:00Z, at location 38.1810 S 6.3989 E and depth (m)=1/5, using protocol S20 with sample pid SAMEA7918646",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "SAMPLE_20220409T0704Z_MMA-101_SRF_NET-20_S20_SAMEA7918646",
            "sample-alias": "SAMPLE_20220409T0704Z_MMA-101_SRF_NET-20_S20_SAMEA7918646",
            "host-tax-id": null,
            "species": null,
            "last-update": "2025-11-26T01:11:56"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS20394856/studies?format=api"
                },
                "data": []
            },
            "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"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS20394856/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS20394856?format=api"
        }
    }
}