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

{
    "data": {
        "type": "samples",
        "id": "SRS22000028",
        "attributes": {
            "latitude": -2.685,
            "longitude": 37.217,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "37.217",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Kenya: Amboseli National Park",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2007-06-02",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "grassland",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "fecal",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "soil",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "MIMS.me;MIGS/MIMS/MIMARKS.host-associated",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9556",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-2.685",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "female",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Papio cynocephalus",
                    "unit": null
                }
            ],
            "biosample": "SAMN42448151",
            "accession": "SRS22000028",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Keywords: GSC:MIxS MIMS:6.0",
            "environment-biome": "grassland",
            "environment-feature": "fecal",
            "environment-material": "soil",
            "sample-name": "F22-30622-02-Jun-2007",
            "sample-alias": "F22-30622-02-Jun-2007",
            "host-tax-id": 9556,
            "species": null,
            "last-update": "2025-06-11T20:00:35"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS22000028/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006808",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006808?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS22000028/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS22000028?format=api"
        }
    }
}