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

{
    "links": {
        "first": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002031/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002031/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS714917",
            "attributes": {
                "biosample": "SAMEA3367191",
                "longitude": -81.7979,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Cayman",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-81.797906",
                        "unit": null
                    },
                    {
                        "key": "geographic location (depth)",
                        "value": "2308",
                        "unit": "m"
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Cayman Islands",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2012-01-19",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "marine hydrothermal vent",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "marine hydrothermal vent",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "sea water",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Illumina",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "2308",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "18.376929",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "652676",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000024",
                        "unit": null
                    },
                    {
                        "key": "water environmental package",
                        "value": "water",
                        "unit": null
                    }
                ],
                "latitude": 18.3769,
                "accession": "ERS714917",
                "analysis-completed": "2017-03-21",
                "collection-date": null,
                "geo-loc-name": "Cayman Islands",
                "sample-desc": "Ginger Castle, Von Damm",
                "environment-biome": "marine hydrothermal vent",
                "environment-feature": "marine hydrothermal vent",
                "environment-material": "sea water",
                "sample-name": "FS848",
                "sample-alias": "FS848",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-07-03T09:51:56"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine:Hydrothermal vents"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Hydrothermal%20vents?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS714917/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001608",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001608?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00002031",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002031?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS714917/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS714917?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}