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

{
    "data": {
        "type": "samples",
        "id": "SRS9791091",
        "attributes": {
            "longitude": -117.77,
            "biosample": "SAMN20775160",
            "latitude": 33.9,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-117.77",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Orange County, California",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2019-01-30",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human gut",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "human gut microbiome",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "stool",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "MIGS/MIMS/MIMARKS.human-gut;MIMARKS.survey",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "33.9",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "accession": "SRS9791091",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Keywords: GSC:MIxS MIMARKS:5.0",
            "environment-biome": "human gut",
            "environment-feature": "human gut microbiome",
            "environment-material": "stool",
            "sample-name": "2_baseline",
            "sample-alias": "2_baseline",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2025-08-26T09:12:21"
        },
        "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/SRS9791091/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006849",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006849?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791091/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791091?format=api"
        }
    }
}