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

{
    "data": {
        "type": "samples",
        "id": "ERS19937400",
        "attributes": {
            "biosample": "SAMEA115625097",
            "longitude": -22.0178,
            "latitude": 64.1051,
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "PRJEB75516",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-22.017785",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Iceland",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2023-05-27",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Urban terrestrial grassland and tidal saltmarshes",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Gut",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "faeces",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "64.105078",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000013",
                    "unit": null
                }
            ],
            "accession": "ERS19937400",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "brent goose faecal sample",
            "environment-biome": "Urban terrestrial grassland and tidal saltmarshes",
            "environment-feature": "Gut",
            "environment-material": "faeces",
            "sample-name": "25",
            "sample-alias": "25",
            "host-tax-id": null,
            "species": null,
            "last-update": "2025-04-07T17:32:06"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS19937400/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006736",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006736?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Birds:Digestive system:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Birds:Digestive%20system:Fecal?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS19937400/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS19937400?format=api"
        }
    }
}