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

{
    "data": {
        "type": "samples",
        "id": "ERS339440",
        "attributes": {
            "latitude": 51.8959,
            "longitude": 0.8919,
            "biosample": "SAMEA2171500",
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "0.891874",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:United Kingdom",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "6/23/2012",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "ENVO:animal-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "ENVO:animal-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "ENVO:feces",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "16.0",
                    "unit": null
                },
                {
                    "key": "host common name",
                    "value": "Aardvark",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9818",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "51.89592",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "unspecified",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Orycteropus afer",
                    "unit": null
                }
            ],
            "accession": "ERS339440",
            "analysis-completed": "2018-07-27",
            "collection-date": "2012-06-23",
            "geo-loc-name": "GAZ:United Kingdom",
            "sample-desc": "fecal sample from Aardvark",
            "environment-biome": "ENVO:animal-associated habitat",
            "environment-feature": "ENVO:animal-associated habitat",
            "environment-material": "ENVO:feces",
            "sample-name": "qiime_study_1056:Ory.afe.Colch.2",
            "sample-alias": "qiime_study_1056:Ory.afe.Colch.2",
            "host-tax-id": 9818,
            "species": null,
            "last-update": "2025-03-06T17:20:05"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Fecal?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS339440/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS339440/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002673",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002673?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS339440?format=api"
        }
    }
}