GET /metagenomics/api/v1/studies/MGYS00006818/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/MGYS00006818/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006818/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS11800521",
            "attributes": {
                "latitude": 22.32,
                "longitude": 114.03,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "114.03",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China: Sungang Road, Futian District, Shenzhen City",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2020-04/2020-11",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Shenzhen Second People's Hospital",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "sterile swabs",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "sterile tubes",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIMS.me;MIGS/MIMS/MIMARKS.human-gut",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "9606",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "22.32",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Homo sapiens",
                        "unit": null
                    }
                ],
                "biosample": "SAMN25210047",
                "accession": "SRS11800521",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Keywords: GSC:MIxS MIMS:5.0",
                "environment-biome": "Shenzhen Second People's Hospital",
                "environment-feature": "sterile swabs",
                "environment-material": "sterile tubes",
                "sample-name": "Gut microbiome of patients with pituitary adenoma",
                "sample-alias": "Gut microbiome of patients with pituitary adenoma",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2025-06-05T13:49:34"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS11800521/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006818",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006818?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS11800521/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS11800521?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}